2011
DOI: 10.1002/cae.20566
|View full text |Cite
|
Sign up to set email alerts
|

A new practicum in compiler construction

Abstract: This article introduces a compiler construction practicum based on the implementation of a compiler for a small C-like language. The compiler has three phases, viz., lexical analysis, syntax analysis, and intermediate code generation. It uses some venerable principles of compiler construction like recursive descent parsing, syntax directed translation, and backpatching. The practicum is appropriate for pedagogical purposes because of its balanced design and the availability of an open source reference implemen… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1

Citation Types

0
3
0

Year Published

2015
2015
2021
2021

Publication Types

Select...
5

Relationship

2
3

Authors

Journals

citations
Cited by 7 publications
(3 citation statements)
references
References 44 publications
0
3
0
Order By: Relevance
“…DJ implemented the CPU simulator, GK implemented the assembler and PC implemented the compiler. This exercise is a part of our endeavor in improving courses on compiler construction and related fields [12,13].…”
Section: Discussionmentioning
confidence: 87%
“…DJ implemented the CPU simulator, GK implemented the assembler and PC implemented the compiler. This exercise is a part of our endeavor in improving courses on compiler construction and related fields [12,13].…”
Section: Discussionmentioning
confidence: 87%
“…The field of program compilers is closely related to other disciplines, including computer architecture and organization, programming languages, formal languages and automation theory, computing theory, software engineering, and computer security. While there are many practicums on compilers, each of them can be classified into three groups based on the source language type [5]. Source language can be a conventional programming language, an object‐oriented language, or a domain‐specific language.…”
Section: Introductionmentioning
confidence: 99%
“…Teachers often complement theory with problem‐solving exercises and examples for more accessible content . The preparation of individual classroom materials, a tedious process limited to a few representative cases, has largely been superseded by the range of on‐line exercises currently available.…”
Section: Introductionmentioning
confidence: 99%