CSCI 330 Lab 5: symbol tables and context-sensitive checking
For lab5, we'll expand our lab4 solutions
to include elements of context sensitive checking using
a symbol table of our own design.
The lab can be obtained and submitted through our usual git approach
(repo name 'lab5' this time), and the starting repo contains a the files for a sample
solution to lab4. You're welcome to replace these with your own lab4 solution code
or to modify them as you see fit..
- lab5.lex: the sample yarrgh tokenizer
- lab5.yacc: the sample yarrgh parser
- makefile: a makefile to build lab5x from lab5.lex and lab5.yacc
- valid: a subdirectory for valid yarrgh programs
- broken: a subdirectory for syntactically incorrect yarrgh programs
- runtests.sh: a simple bash script to run the lab5x executable
on each of the yarrgh programs in the valid and broken subdirectories
Overview