A PREttier Compiler-Compiler: Generating Higher-order Parsers in C (1995)
Cached
Download Links
- [www.cs.ubc.ca]
- [www.museophile.sbu.ac.uk]
- [www.uni-koblenz.de]
- DBLP
Other Repositories/Bibliography
| Citations: | 16 - 5 self |
BibTeX
@MISC{Breuer95aprettier,
author = {Peter T. Breuer and Jonathan P. Bowen},
title = {A PREttier Compiler-Compiler: Generating Higher-order Parsers in C},
year = {1995}
}
Years of Citing Articles
OpenURL
Abstract
This article reports on the utility in question three years after public release. Precc generates standard ANSI C and is `plug compatible' with lex-generated lexical analyzers prepared for the UNIX yacc compilercompiler. In contrast to yacc, however, the generated code is modular, which allows parts of scripts to be compiled separately and linked together incrementally. The constructed code is relatively efficient, as is demonstrated by the example Occam parser treated in depth here, but the main advantages we claim are ease of use, separation of specification and implementation concerns, and maintainability







