CSLite Compiler, Part 2

| | Comments (0) | TrackBacks (0)
This is the second portion of the two-part project and the last assignment for the whole semester. In this portion, we are now allowed to generate .bs2 code and in turn, run it on the Scribbler robot whereas in the first portion we simply had an introduction and produced results based largely on theory. Once I had completed this small project, I had the strong feeling to take an eventual compiler course at UMass. I didn't so much enjoy working with the Scribbler robot, but I felt I got a strong grasp on lexing and parsing fundamentals and the overall development of a compiler. However, this isn't the first time I've worked with lexers and parsers; I originally took Professor Bill Moloney's Computing IV course a year previous, but had to drop it due to financial constraints of an extreme nature. In that short time I worked with the flex and bison tools within C/C++ and learned a great deal. Frankly, to me, the fundamentals of compiler construction are more easily understood from a C/C++ perspective than from Java's perspective. I feel it has to do with the shielding Java provides versus the low level nature C/C++ allows.
All required tasks to be performed required by the specification were implemented successfully.

See the wiki for a short write-up on this assignment, and/or click the below picture to go to the repository listing, likewise for this assignment.

repo-listing.jpg

Code critiques and criticisms are always welcome.

Categories: ,

0 TrackBacks

Listed below are links to blogs that reference this entry: CSLite Compiler, Part 2.

TrackBack URL for this entry: http://www.lozzisolutions.com/cgi-bin/movable-type/mt-tb.cgi/93

Leave a comment

About this Entry

This page contains a single entry published on June 24, 2008.

CSLite Compiler, Part 1 was the previous entry in this section.

Find recent content on the section index or look in the archives to find all content posted to this section.

Overview

  • This section contains a repository of code created at the university level, completed for individual clients(with their permission), or simply varieties of programs which may have no place at all but to serve as a reference. Please note that this section has its own search engine for finding the entries which contain code or links to code.