Labs
Lab activities during scheduled Tuesday/Friday class meeting.
Tiny Compiler: Front End
Tiny Compiler: Back End
← Friday, 29 January - Tuesday, 2 February
- Description: tiny-back.pdf
- Code:
-
Download cs301-tiny2.tar.gz or
Use Mercurial: -
hg commit
– commit any of your changes. Skip if none. -hg pull ssh://hg@bitbucket.org/wellesleycs301/cs301-labs
– get the latest updates - If you made changes: -hg merge
– merge my changes and your changes -hg commit
– commit the merged version - else: -hg update
-
In Scala IDE: File > New > Scala Project. Type in the name
tiny2
and finish. This provides all of the front end. You can also copy in your front end code.
-
NFA simulator
- Review Exercises 9 and 10 from Regular Expressions and Finite Automata
- Tool setup
- Lab Directions