Oh, I didnt know, thanks Araq
You cannot dynamically generate procs.
I think `&" "` and `fmt" "` wont work inside a macro, use `" " & " "` or
`format( )`.
thanks, I got it working without passing params to the macro function, what I
cannot seem to figure out is how to do it when trying to dynamically generate
the string that will get converted to a macro.
[https://github.com/juancarlospaco/nim-presentation-slides/blob/master/ejemplos/avanzado/macros/macro_from_string.nim](https://github.com/juancarlospaco/nim-presentation-slides/blob/master/ejemplos/avanzado/macros/macro_from_string.nim)
More examples on the same folder.
Hi, I recently started toying with templates and macros in nim and even though
they seem very powerful I haven't been able to correctly use macros yet.
I'm trying to create a macro that would generate a proc with some fixed parts
in its body when being called, something in the lines of (not work