Comp 335 - Programming Languages (Fall 2021)
Introductory Information/Online Resources
In-Class Files/Examples
Looking at types
- set1.cpp - implementing an ADT; not very flexible.
- set2.cpp - implementing an ADT, version 2; somewhat better, but...
- set3.cpp - implementing an ADT using C++ templates.
PROLOG examples
- gpa.pl - find gpa of a list of grades.
Java examples
Compiler info
- lex.in - scanner for Pascal subset for use in lex - uh, what?
- yacc.in - uh, what WHAT???
- littleComp.c - a small syntax analyzer for the BNF example shown in class.
C examples
Projects
-
PL1 - Project 1 using Bash.
-
PL2 - Project 2 using C.
-
PL3 - Group Project 3 - writing a parser for Little C. (Updated 10/15)
-
PL4 - Project 4 using Java.
-
PL5 - Project 5 using PROLOG.
Last updated
|