Lesson 13: Language Translation
Outline:
- Language translation basics
- Compilers and interpreters
- An example language: Echo
- Wrap-up
- there are trade-offs between interpreters and compilers
- most implementations use a hybrid approach anyway
- want to learn more?
- read Reflections on Trusting Trust, linked below
- look up “quines” for fun and try to write one!
What’s next
Upcoming events/assessments:
- CS Bits and Bytes Thursday: Reflections on GitTogether
- Assignments 6–9 (all C assignments) cannot be resubmitted after Wednesday at 10pm
- Quiz 4 is not until after Midterm Break
What you should do now:
- Read the assigned readings (see below)
- Finish and submit Interpreter Part 1
- Work on resubmitting Assignments 6–9 with more complete functionality, style fixes, etc.
Reading assignment (to be completed by the next class):
Compilers and interpreters (from today) – stop reading at “History”:
More from today: Hybrid approach in Python
Totally optional but one of Tanya’s favorites: Reflections on Trusting Trust
Grammars (for next time):