zevv / npeg

PEGs for Nim, another take
MIT License
330 stars 22 forks source link

codegen: use `stamp` instead of `quote` on NimSkull #73

Closed alaviss closed 3 weeks ago

alaviss commented 3 weeks ago

NimSkull's quote is now a proper quasi-quoting operator and will not perform template-like binding or gensym. This behavior is now moved to the stamp macro.

This commit replaces quote with stamp on NimSkull where applicable. Also, the fn_run proc generated is now concrete and not generic.