The document provides instructions for a compiler design assignment with 3 parts. Part 1 asks to list programming languages implemented on the JVM and why it was often chosen. Part 2 asks to gather specifications about identifiers, case sensitivity, comments, and whitespace in languages. Part 3 asks about language characteristics that make lexical analysis difficult and why certain constructs are recognized in syntax analyzers rather than lexical analyzers. The document also notes the assignment should be individual work and provides submission instructions.
The document provides instructions for a compiler design assignment with 3 parts. Part 1 asks to list programming languages implemented on the JVM and why it was often chosen. Part 2 asks to gather specifications about identifiers, case sensitivity, comments, and whitespace in languages. Part 3 asks about language characteristics that make lexical analysis difficult and why certain constructs are recognized in syntax analyzers rather than lexical analyzers. The document also notes the assignment should be individual work and provides submission instructions.
The document provides instructions for a compiler design assignment with 3 parts. Part 1 asks to list programming languages implemented on the JVM and why it was often chosen. Part 2 asks to gather specifications about identifiers, case sensitivity, comments, and whitespace in languages. Part 3 asks about language characteristics that make lexical analysis difficult and why certain constructs are recognized in syntax analyzers rather than lexical analyzers. The document also notes the assignment should be individual work and provides submission instructions.
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.