Lab 6: Planning jLISP
Bard College – Computer Science – Design of Programming Languages
Over the next three weeks we’ll create a version of LISP in Java using the approach in Crafting Interperters. This week we will plan out the classes we will need for the interpreter. Next week, we will commence with the implementation.
Our jLISP interpreter should support: (quoted) s-expressions, symbols, numbers, booleans, strings, and pairs; comments!
BONUS: make it work with or some other Java library/framework.
How will you modify the for Lisp? What will and look like?
How will you modify Lox’s for Lisp?
- Write down the grammar.
- What methods will be needed for the recursive descent parser?
What sub-classes of (and/or ) will we need.
What does the Visitor interface look like?
How will you modify ?
How will environments and closure be represented?
Create a Dropbox Paper document with any & code sketches.