You are on page 1of 1

Haramaya University

College of Computing and Informatics

Department of Computer Science


Compiler Design Assignment-I
1. The Java Virtual Machine has been used as a route to the implementation of many

programming languages. Produce a list of some of these languages and

implementations. Why was the JVM often chosen? Are there programming

language features that do not map well onto the JVM?

2. Gather together the specification of several high-level programming languages

and extract precise information about:

• The characters that can appear in an identifier/name. Are there length

restrictions?

• Are upper and lower-case letters treated as being identical?

• Comments—exactly where can they appear?

• White space—where and how is it significant?

3. What high-level language characteristics make lexical analysis difficult? Why

should a particular construct be recognized in the syntax analyzer rather than in

the lexical analyzer?

N.B:

• The assignment is an individual work.


• Copying from each other is strictly forbidden.
• Submission is possible through google class room only.
• Deadline: July 26, 2021, 1:30 PM.
• Late submission is unacceptable.

You might also like