On C/C++ undefined behaviours

Nick Sabalausky a at a.a
Fri Aug 20 23:32:50 PDT 2010


"Nick Sabalausky" <a at a.a> wrote in message 
news:i4nrlb$1dp7$1 at digitalmars.com...
> "Walter Bright" <newshound2 at digitalmars.com> wrote in message 
> news:i4nqis$19fd$1 at 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 :) 




More information about the Digitalmars-d mailing list