qwertie / ecsharp

Home of LoycCore, the LES language of Loyc trees, the Enhanced C# parser, the LeMP macro preprocessor, and the LLLPG parser generator.
http://ecsharp.net
Other
172 stars 25 forks source link

Lemp integration - custom macro is not been called #141

Closed furesoft closed 2 years ago

furesoft commented 2 years ago

I have integrated Loyc and Lemp into my compiler and tried to write a simple macro but the macro is never be called.

MacroProcessor Call: https://github.com/Backseating-Committee-2k/Backlang/blob/develop/Source/Backlang.Driver/Compiling/Stages/ExpandMacrosStage.cs

Macro Implementation: https://github.com/Backseating-Committee-2k/Backlang/blob/develop/Source/Backlang.Core/BuiltInMacros.cs

What am I doing wrong?