Skip to content

Instantly share code, notes, and snippets.

@lguzzon
Created October 18, 2017 12:37
Show Gist options
  • Save lguzzon/2f923f4f368d57c07cd2b66262b8fdf4 to your computer and use it in GitHub Desktop.
Save lguzzon/2f923f4f368d57c07cd2b66262b8fdf4 to your computer and use it in GitHub Desktop.
import macros
macro doNothing(input: untyped): untyped =
echo treeRepr input
result = input
echo input.toStrLit
doNothing:
echo "hello world"
echo(1+1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment