CSC 4101 Chapter : Proj1

14 views6 pages
15 Mar 2019
School
Course
Professor

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.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions