FCC is a simple compiled C-like language with a compiler written

FeepingCreature default_357-line at yahoo.de
Fri Jul 23 18:22:46 PDT 2010


On 24.07.2010 02:53, bearophile wrote:
> FeepingCreature:
>> Feedback appreciated!
> 
> I looks cute. It can be useful for to invent and test possible designs for D2/D3, for example to test and try alternative designs for ASM macros that may be added to D3.
> 
> Bye,
> bearophile

The reason that AST macros are hairy in any language but Lisp is that you have this complicated syntax, so to expose it to the program requires you to add equivalents for all the compiler's classes, functions and data structures to your macro language. I hope to sidestep this by eventually rewriting the compiler in the language itself, so that I can expose compiler internals _directly_.


More information about the Digitalmars-d-announce mailing list