Compilers: principles, techniques, and tools
Compilers: principles, techniques, and tools
An introduction to formal languages and automata
An introduction to formal languages and automata
Crafting a compiler with C
lex & yacc (2nd ed.)
A Sampler of Formal Definitions
ACM Computing Surveys (CSUR)
Semantic evaluation from left to right
Communications of the ACM
Hi-index | 0.00 |
This paper describes the special capabilities of APL2 for the construction of compilers and translator writing systems (TWS). To that purpose, a TWS has been written in APL2, which takes as input a complete description of a language including an attribute grammar, in extended Backus normal form, and the semantic function associated to each rule of the grammar, written in APL2. The output of the TWS is a compiler, generated directly inside the workspace and ready to compile source code written in the provided language.