Last active
August 29, 2015 14:19
-
-
Save PhilipWitte/d1a382c8f21d10064fa2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macro doThis(s:static[string]): stmt = | |
let n = parseStmt(s) | |
quote do: | |
template actuallyDoIt: stmt = | |
`n` | |
doThis("echo 1") | |
static: | |
actuallyDoIt() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment