Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
C OpenEdge ABL
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
helpers
#temp.c#
Makefile
README
TAGS
attribute
attribute.c
attribute.h
check-mem.c
check-mem.o
lex.yy.c
notes.txt
parse-tree.c
parse-tree.h
pascal.l
pascal.tab.c
pascal.y
pascal_orig.y
pnonterminals.h
print-tree.c
print-tree.o
ptokens.c
ptokens.h
simple.p
symtab.c
symtab.h
symtab.o
temp.c

README

/*****************************************************************************
 * file:        README
 * authors:     Sam Rebelsky, Martin Dluhos
 * created:     October 7, 2011
 * revised:     December 14, 2011
 * description: Documentation for a Simple Pascal Compiler
 ****************************************************************************/

SPC: A simple compiler for Pascal that can build and print out a parse tree,
perform type checking, and generate code in a general assembly language.

print-tree: Prints a parse tree of a simple Pascal program and reports if
incompatible types are used in expressions.

pi: A Simple Pascal Interpreter which generates STAC and runs it.
Something went wrong with that request. Please try again.