Translating programming languages for intermediate codes
Many of the important data structures used in a compiler are intermediate representations of the program being compiled. Often these representations take the form of trees, with several node types, each of which has different attributes. Tree representations can be described with grammars, just like programming languages. For each grammar rule, there is one constructor that belongs to the class for its left-hand-side symbol. I simply extend the abstract class with a concrete class for each grammar rule. Each grammar rule has right hand side components that must be represented in the data structures.
Year of publication: |
2007
|
---|---|
Authors: | HUNYADI, Daniel I. ; MUSAN, Mircea A. |
Published in: |
Informatica Economica. - Academia de Studii Economice din Bucureşti, ISSN 1453-1305. - Vol. XI.2007, 2, p. 117-121
|
Publisher: |
Academia de Studii Economice din Bucureşti |
Subject: | compiler | lexical analysis | abstract syntax | intermediate representation | abstract machine language |
Saved in:
Saved in favorites
Similar items by subject
-
Design and Development of a Parallel Lexical Analyzer for C Language
Jena, Swagat Kumar, (2018)
-
Aveiro, David, (2015)
-
Sustainability, Digital Transformation and Fintech: The New Challenges of the Banking Industry
Pérez, Andrea, (2021)
- More ...
Similar items by person
-
CRISTESCU, Marian Pompiliu, (2008)
- More ...