nanopass-framework-racket
nanopass-framework-racket copied to clipboard
Ordering bug for processor clauses
The following program generates an error I can't understand: https://gist.github.com/schuster/8e3cae9dfac839a7b055
It seems like in this case the ordering of processor clauses must match the order in the grammar, which shouldn't be necessary. The error message also doesn't make clear what the error actually is.
Found a simpler instance of what appears to be the same issue, but with with-output-language
: https://gist.github.com/schuster/6543997ae8617c43add3
@LeifAndersen points out that it's likely because primop calls and function calls in this grammar are both "tagless" items with the same structure.