Module 17 · Three Projects
Project Three: A Tiny Expression Interpreter
ProReading
A grammar is a set of rules that says which lines are expressions and how they group. Each rule has a name, then =, then what it is made of. { } means "any number of times, zero included", [ ] means "optional", | means "or", and quotes hold exact characters. Copy this one to the top of your file as a comment before you write any code:
Checking what this lesson needs for you…
What is inside Project Three: A Tiny Expression Interpreter
- Write first: the grammar
- The output
- Write first: the test table
- Requirements
- Sample input
- Sample output
- On your own machine
- Marking rubric
- Submission checklist