CSC 4101 Chapter : Proj1
Document Summary
For this programming assignment, you will implement a pretty-printer for a subset of scheme in c#. The code should be developed in a team of two using pair programming. Your pretty-printer will read a scheme program from standard input, parse it, and print it back out onto standard output. The output program will be indented in a uniform style. (it won"t really be all that pretty. ) You should use an object-oriented programming style using inheritance and virtual functions where appropriate. Like any tool that processes text, the pretty-printer needs to parse the input rst and store it in an internal data structure, before it can print it in some indented style. In lexical analysis, the input le is broken into individual words or symbols. These words or symbols are then represented as tokens and passed to the parser. For the precise de nition of identi ers, see the revised5 scheme report and follow that speci cation: http://people. csail. mit. edu/jaffer/r5rs_4. html.