parser support anon iterators

This commit is contained in:
Araq 2014-01-20 20:07:44 +01:00
commit 4a0aadef4d
8 changed files with 61 additions and 13 deletions

7
tests/macros/tmemit.nim Normal file
View file

@ -0,0 +1,7 @@
discard """
out: '''HELLO WORLD'''
"""
import macros, strutils
emit("echo " & '"' & "hello world".toUpper & '"')