Consistent AST generation
Closed this issue · 2 comments
futursolo commented
Currently, there're two syntaxes that co-exists in the procedural macro: inline syntax and string literals.
At this moment, the codebase of two syntaxes is completely separated.
This issue intends to unify code generation on both syntaxes so both syntaxes yield a consistent generated AST and new features can be landed easier on both syntaxes.
This also removes duplicate logic by increasing the amount of code shared by both syntaxes and hence reduces future maintenance work on the codebase.
WorldSEnder commented
If you didn't already start, I'd be happy to do this