Fixes #43. This is a simplified (and ported to buildAst) version of the Reverse Polish Notation calculator macro from @PMunch blog post "Metaprogramming and read- and maintainability in Nim". Macro is tiny but together with the rest, amounts to a total 40 lines of code.
Fixes #43. This is a simplified (and ported to buildAst) version of the Reverse Polish Notation calculator macro from @PMunch blog post "Metaprogramming and read- and maintainability in Nim". Macro is tiny but together with the rest, amounts to a total 40 lines of code.