Hey guys,

I'm trying to get the name and latest value from a variable, and write a 
variable declaration in a new file with this information. Like so:

`module1.nim` `var name = "Leon"` `name = "Blane" # I want this value, not the 
value it was instantiated with`

`module2.nim` `var name = "Blane" # this needs to be taken from module1.nim`

I've been playing around with templates and macros without success. Any ideas?

Reply via email to