"Nick Sabalausky" <[email protected]> wrote in message 
news:[email protected]...
> "Walter Bright" <[email protected]> wrote in message 
> news:[email protected]...
>> BTW, I realized around 10 years ago that what you can do is lex D source 
>> and use the token stream as your "intermediate code". It should work 
>> great, be compact, and fast.
>
> Would that be useful in any significant way? Wouldn't re-lexing be very 
> quick too? And in my limited experience, lexing seems to be a little easer 
> than parsing, too.
>

If you ever saved it to disk or across a network, you'd have to be real 
careful about choosing a storage format...you could easily end up defeating 
the point :) 


Reply via email to