"Nick Sabalausky" <a...@a.a> wrote in message 
news:i4nrlb$1dp...@digitalmars.com...
> "Walter Bright" <newshou...@digitalmars.com> wrote in message 
> news:i4nqis$19f...@digitalmars.com...
>> 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