Which language constructs could be done as a library if we accept some breaking changes?

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Thu Dec 2 09:20:26 UTC 2021


On Thursday, 2 December 2021 at 00:58:38 UTC, 12345swordy wrote:
> On Wednesday, 1 December 2021 at 15:09:28 UTC, Ola Fosheim 
> Grøstad wrote:
>> On Wednesday, 1 December 2021 at 15:01:10 UTC, 12345swordy 
>> wrote:
>>> What you basically are asking for is C with ast macros.
>>
>> Can you emulate D as C with AST macros?
>
> https://github.com/eudoxia0/cmacro

That would be a different language. Templates are related to AST 
macros, but they are limited to expanding on"!".



More information about the Digitalmars-d mailing list