implements first version of for-loop macros

This commit is contained in:
Andreas Rumpf 2018-04-15 01:07:28 +02:00
commit c08efb4c51
4 changed files with 89 additions and 2 deletions

View file

@ -50,6 +50,9 @@
- Dot calls combined with explicit generic instantiations can now be written
as ``x.y[:z]``. ``x.y[:z]`` that is transformed into ``y[z](x)`` in the parser.
- ``func`` is now an alias for ``proc {.noSideEffect.}``.
- In order to make ``for`` loops and iterators more flexible to use Nim now
supports so called "for-loop macros". See
the `manual <manual.html#macros-for-loop-macros>`_ for more details.
### Language changes