Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1) Syntax checks
- 2) Semantic evaluation
- 1) Scanner
- Parse the file, checking for syntax / ordering / format errors and storing the useful chunks.
- -Python -> list
- -Java -> ArrayList<Object>
- 2) Semantics
- Translate ingredients into variables (dictionary[name]:=(wet|dry, value)
- Translate methods into appropriate code structures (herpderp)
- Two things are particularly interesting/complex:
- Loops (for which we have a plan of attack)
- Auxiliary Recipes (which shouldn't be hard)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement