Index of /~cs164/software/source
Contents of the software subdirectory:
README - this file
reading.cl - example code from assignment 1
shortlex.cl - base code for the lexer (assignment 2)
lstream.lisp - example code: streams with line/col tracking and
arbitrary token lookahead
pitmantoken.cl - Kent Pitman's tokenizer code
meta.cl - Henry Baker's Meta system
pragparse - "Pragmatic Parsing in Common Lisp" (H. Baker)
lex-adapt.lisp - Adapter to make our MJ interpreter use the assignment 2
tokenizer routines
recdec*.cl - Recursive-descent parsers for assignment 3
firstfoll.cl - Code to compute first and follow sets
firstfolexample - Example of firstfoll.cl
make-ll1.lisp - LL(1) parser construction tool
ll-315.lisp - Parser for grammar 3.15 using def-ll1 from make-ll1.lisp
lalr.cl - Johnson's YACC
make-lalr.lisp - Macro wrappers for Johnson's YACC
jy.lisp - Examples using Johnson's YACC
make-lalrx.lisp - Extended macro wrappers for Johnson's YACC
jyx.lisp - Examples using extended macro wrappers for jyacc
make-lalr-test.lisp - Coverage tester for an LALR parser
compare-ast.lisp - Compare your ASTs to those from simple-parse
base-util.lisp - while and until loops for non-Allegro Lisps
mj-dsb.lisp - example loader for the MJ interpreter (not needed with mj.fasl)
short-simple-interp.lisp - simple MJ interpreter
simple-translate.lisp - translate MJ to Common Lisp
simple-machine.lisp - Virtual stack machine in Common Lisp
machine-tests.lisp - Examples using simple-machine
short-compile.lisp - Stub code from simple-compile