`br-parser-tools` has some patches needed to make `brag` work, e.g., using the srcloc structure. I forked rather than patch the underlying `parser-tools` package because I didn't want to destroy the fragile ancient artifact. I fixed a few bugs; the others persist. I notice, for example, that your program fails to work regardless of whether it uses `br-parser-tools` or `parser-tools`. (I'm assuming here you have a good reason to use good old `yacc` and not `brag`, which does mostly the same thing, less painfully)
> On 08 Jun 20, at 9:29 PM, Jon Stenerson <[email protected]> wrote: > > Thanks for confirming. I had actually started with the lexer-src-pos version > but had other problems like exn:fail:read wanting a list of srclocs and the > lexer only having positions. So I switched to lexer-srcpos which fixed the > exception but broke the parse. Maybe I should do a conversion between > positions and srclocs at some point? Seems awkward. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/AB46325E-0B78-4ACE-82AD-B5F5AFA4F57E%40mbtype.com.

