𝔖 Bobbio Scriptorium
✦   LIBER   ✦

Very fast YACC-compatible parsers (for very little effort)

✍ Scribed by A. Bhamidipaty; T. A. Proebsting


Book ID
101239689
Publisher
John Wiley and Sons
Year
1998
Tongue
English
Weight
72 KB
Volume
28
Category
Article
ISSN
0038-0644

No coin nor oath required. For personal study only.

✦ Synopsis


We have developed a yacc-compatible parser generator that creates parsers that are 2.0 to 6.0 times faster than those generated by yacc or bison. Our tool, mule, creates directly-executable, hard-coded parsers in ANSI C; yacc produces interpreted, table-driven parsers. Two attributes distinguish mule from other parser generators that create hard-coded LR parsers: mule is compatible with yacc (including yacc's peculiar error recovery mechanisms), and mule does absolutely none of the complex automata analysis of previous hard-coded-parser generators. Mule creates simple, fast parsers after very little analysis. ©1997