summary refs log tree commit diff stats
path: root/compiler/transf.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2012-03-26 04:36:26 +0300
committerZahary Karadjov <zahary@gmail.com>2012-03-26 04:36:26 +0300
commit6216046bc6b2794d15705f5d2621f602bda636c4 (patch)
tree8a70def0c70dc634ee92d1144c4b12e661042343 /compiler/transf.nim
parentbc2eb0ea9b8a806ddafdb7726c94363fbd2c2f20 (diff)
downloadNim-6216046bc6b2794d15705f5d2621f602bda636c4.tar.gz
genSym support for hygienic macros and templates.
example:
template hygienic(val: expr) =
  var `*x` = val
  echo `*x`

*x was chosen as mnemonic for "opposite of public" and thus private
Diffstat (limited to 'compiler/transf.nim')
0 files changed, 0 insertions, 0 deletions