Annotated edit history of
CompilerCompiler version 4, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
3 |
AristotlePagaltzis |
1 |
A CompilerCompiler creates a parser for a ProgrammingLanguage by transforming the definition of its formal grammar, commonly written in [EBNF], to code written in some ProgrammingLanguage. |
|
|
2 |
|
|
|
3 |
Parsing is the first stage of the processing done by any [Compiler]. The second step, actually emitting code in the target language that is (hopefully) equivalent to the source code, can to this day not be formally defined, so the code for that stage must be added manually. |
2 |
AristotlePagaltzis |
4 |
|
4 |
StuartYeates |
5 |
Well-known examples of [CompilerCompiler]s include the lex(1)/yacc(1) pair and their [GNU] clones [Flex]/[Bison]. |