Banner
Nancy Kang
Section 2 (Israel)
seas id: nkang

Michael Chungkun Chen
Section 2 (Israel)
seas id: mchen

Source Ported to:
Linux version 2.6.17.6-grsec (root@fern.he.net) (gcc version 3.2.1) #1 SMP Sun Jul 16 13:51:11 PDT 2006

Programming Assignment 5 Jasmin Code Generator
*******************************************************************

After you run make the output program should be named cpal run
this file and it takes input from a file specified by the first
parameter.
The corresponding jasmin file [.j] will be generated if the input
source file contains no errors.

cpal infilename.cpal

infilename.j will be generated.

*******************************************************************

This program takes in CPAL code and outputs Jasmin code into a
file after testing for errors.  If errors were found, the resulting
Jasmin file will be deleted.

The Parser was implemented using flex and yacc and g++.

An success message will show on a error free compilation.
Otherwise error messages will show.

Source File listing
cpal.lex	Flex source input file
cpal.yacc	YACC source input file
funcs.h		Tree traversal and Printing functions and misc
tab.h		Symbol Table functions and misc
include.h	Return structure, Abstract Symbol Tree node,
		Symbol Table structure, Hash Table class and misc
semantic.h	Semantic Checking functions
generate.h	Jasmin code generation functions
Makefile	Script file for make command
README		This text file that you are reading
cpal.tgz	Gzipped and Tarred container for all of the above 

Home | About Me | Text Depository | Future Enhancements | Guest Book | Links

Copyright © 1998-2008 Michael Chungkun Chen
All Rights Reserved.