Compilers (CSC-362 98F)


Assignment 3: Lexical Analyzer

Implement a lexical analyzer for Tiger or for whichever language you have decided to implement. If you are implementing a language other than Tiger, you should also turn in a description of the language comparable to the description of Tiger.

You should feel free to use Jlex or lex to implement your lexical analyzer. If you prefer, you can also build it by hand.

Appel provides some recommendations for the lexical analyzer at the end of chapter 2, in the section titled program.

In addition to the code for your lexer, you should turn in documentation for your design decisions, particularly the ones given by Appel.


Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.

Source text last modified Mon Sep 21 10:58:32 1998.

This page generated on Mon Sep 21 11:49:15 1998 by SiteWeaver.

Contact our webmaster at rebelsky@math.grin.edu