nim-works / nimskull

An in development statically typed systems programming language; with sustainability at its core. We, the community of users, maintain it.

Home Page:https://nim-works.github.io/nimskull/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add `debugAst()`, `debugType()` and `debugSym()` procs back to `astrepr`

haxscramper opened this issue · comments

  • Add overload of the treeRepr that does not accept ConfigRef object
  • Allow passing nil conf to the treeRepr
  • Add helper procedures - debugAst(), debugType() and debugSym() with {.exportc.} annotations to be used in the debugging

#191 removed API a little too aggressively - the no-argument debug still needs to be present

I didn't see that you took out debug entirely in the old PR. Github in being github was smart and decided that the files with the most changes are not important enough to be shown.