Internal and external iteration, fibers

Jacob Carlborg doob at me.com
Mon Jan 21 23:36:27 PST 2013


On 2013-01-22 04:43, Daniel Murphy wrote:

> AST macros are just compiler support pushed into user code/libraries.
> Exposing the AST to the user is a huge task and forces any supporting
> compiler to use a fixed AST representation.

Would that be so bad idea, to have a fixed AST representation? The AST 
presented for the user doesn't need to be the same as the compiler uses 
internally.

It's the same as any library function. You can easily change the 
implementation as long as the signature and behavior is the same.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list