For example, see implementation of "lock" macro: http://code.google.com/p/nemerle/source/browse/nemerle/trunk...
Macros are expending in the typing process. In macro you can use compiler API to type some untyped AST (for example, argument of macro). For example, "foreach" macro use compiler API to infer type of collection. This…
Compiled in native? CLR compile IL before execution. In the next version of Nemerle we plan to create Interchangeable back-ends: http://code.google.com/p/nemerle-2/wiki/BackEnds?wl=en-US As one of the variants we…
For example, see implementation of "lock" macro: http://code.google.com/p/nemerle/source/browse/nemerle/trunk...
Macros are expending in the typing process. In macro you can use compiler API to type some untyped AST (for example, argument of macro). For example, "foreach" macro use compiler API to infer type of collection. This…
Compiled in native? CLR compile IL before execution. In the next version of Nemerle we plan to create Interchangeable back-ends: http://code.google.com/p/nemerle-2/wiki/BackEnds?wl=en-US As one of the variants we…