7 ms·
> Nim macros can't modify Nim's syntax. Nim macros can extend Nim's syntax (additional "repeat ... until" for instance). They cannot change the built-in syntax
by progman 12y ago
> Nim macros can't modify Nim's syntax.
Nim macros can extend Nim's syntax (additional "repeat ... until" for instance). They cannot change the built-in syntax of Nim.
A macro system should never be allowed to change the core syntax of a language because that could lead to very strange errors. If Perl 6 is actually able to do that then it is a dangerous feature.