Homework Assignments Week 1.1: Architecture
Compiler vs Language Workbench
Study the slides for the first lecture and read the paper “The Spoofax Language Workbench. Rules for Declarative Specification of Languages and IDEs” (OOPSLA 2010). (https://doi.org/10.1145/1932682.1869497)
Write a short essay discussing the following questions:
- What is a language workbench?
- What are the commonalities and differences between traditional compilers and language implementations developed using a language workbench?
- Include a discussion of architecture and features
Types of Compilers
Give three examples of compilers. What type of compiler are these? What is the input and output language? Can you find different examples than we discussed in the lecture?
Give three examples of domain-specific languages. For each DSL describe its domain, linguistic abstractions, and how it is typically used. Can you find different DSLs than we discussed in the lecture?