Closed niyarin closed 3 years ago
Wow, that is crazy. Over the last year, I changed the nano-syntax-dispatch
, which the parser uses for pattern matching, from a function to a macro. The intent was to avoid having a run-time dependency on the nanopass framework when defining parsers, but I seem to have rather botched it.
This is also a bit of an indictment of my test suite, which should have had some of these straightforward examples.
Thanks for the bug report, I'll see if I can get a fix in this weekend.
The diff I added should fix the issue you found. I have also added some tests, so hopefully we will not have this problem again!
I wrote a let expression like the one in the sample document and tried to execute the parsing procedure created by define-parser, but it didn't work. I'm new to this software, so I might have misunderstood something.