> On Apr 28, 2017, at 1:16 AM, Jan Nieuwenhuizen <jann...@gnu.org> wrote: > - cleanup mescc > - fix bugs > - look into Nyacc > - decide on psyntax >
I looked at your setup. You could look at stripping down nyacc, if you trust the lang/c99/mach.scm grammar, then you don’t need lair.scm (and hence no psyntax (define-syntax) for lalr.scm. Once you use lalr.scm to convert mach.scm to xxxtab.scm (parse tables) and xxxact.acm (parse actions) you create a parser that uses the xxxact.scm and xxxtab.scm files only (no lalr.scm or mach.scm) Matt