nim - custom macro/pragma to get ast of complete module but get “cannot attach a custom pragma”

前端 未结 0 1453
一生所求
一生所求 2020-12-31 16:55

I want to get access to the AST of a complete module (file) with nim. I found, that any macro can be used as a custom pragma, so I did something like this in file foo.nim:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题