CSC 330 Examples
CSC 330
JFlex Examples
-
pascal.jflex
-- the JFlex lexer specification for Pascal
-
PascalLexerTest.java
-- a simple testing program, like the one Assignment 2 will be tested with
-
sym.java
-- token definitions, generated by CUP from pascal-tokens.cup
-
pascal-tokens.cup
-- CUP file used to generate token definitions
-
lexer-test.p
-- a Pascal program to test the lexer
-
raw-pascal-tokens.txt
-- a bunch of raw tokens to test the lexer; works just fine this way
-
.make.csh
-- UNIX shell script to compile and run the Pascal lexer example
-
.make.bat
-- Windows batch script to compile and run the Pascal lexer example
index
|
lectures
|
handouts
|
assignments
|
examples
|
doc
|
solutions
|
bin