CS 3723
Programming Languages
Course Handouts
- Low-tech program in Java to translate arithmetic expressions to RPN
and to evaluate the RPN. (This is a program appropriate for
the data structures course. The more sophisticated parsing
programs are usually too hard for this course.)
- Parser in C for a grammar for arithmetic expressions:
- Java version of the parser for a grammar for arithmetic expressions:
- Translator (in C) of arithmetic expressions to RPN
(Reverse Polish Notation):
- Same translator (in Java) of arithmetic expressions to RPN
(Reverse Polish Notation):
- Evaluator (in C) of arithmetic expressions, producing a double:
- Translator (in Java) of arithmetic expressions to Lisp prefix
notation (fully parenthesized):
- Parser (in C) of Lisp S-expressions:
Revision date: 2001-09-27.
(Please use ISO
8601, the International Standard.)