https://github.com/tokenrove/lalr-parser-generator
LALR parser generator; generates Common Lisp output.
https://github.com/tokenrove/lalr-parser-generator
Last synced: 4 months ago
JSON representation
LALR parser generator; generates Common Lisp output.
- Host: GitHub
- URL: https://github.com/tokenrove/lalr-parser-generator
- Owner: tokenrove
- License: other
- Created: 2013-11-02T16:22:19.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-02T16:22:49.000Z (over 12 years ago)
- Last Synced: 2025-02-09T08:16:44.011Z (over 1 year ago)
- Language: Common Lisp
- Size: 113 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
I recommend that you use cl-yacc by Juliusz Chroboczek instead of this
package. Among other things, his package properly supports operator
precedence and so on, and is a lot more polished -- I bet it's way
faster, too.
If that's the case, why am I releasing this code? Well, I had already
written some things (like m68k-assembler) that depend on it. Also,
the code is much shorter and I feel it might be more understandable to
someone unfamiliar with either package and looking to modify a parser
generator. Also, the default mode of operation for this package is to
write the tables and parser to a stream, so you don't need to have
this package around at runtime.
Look at tests.lisp (or m68k-grammar.lisp in the m68k-assembler package)
for examples of the grammar form.