lex gcc lex.yy.c -ll
To compile Java Programs
javac To execute Java Programs (application)
java
1/21/98
Here is a sample program list2.l that converts "simple" LaTeX enumerated
lists to ordered lists in HTML. Unfortunately, only flex acceptes this
program. testlist is a sample input. testlist.output is the corresponding
output.
flex test2.l
gcc lex.yy.c -ll
a.out < testlist
1/26/98 and 1/28/98
s.l and s.y contains lex and yacc programs that generate bytecode.
s1.l and s1.y contains lex and yacc programs that generate bytecodes that
could be assembled bu javaa (java assembler) and executed by java (java interpreter). bar.java is a sample input and bar.jasm is an assembler program generated
by running a.out < bar.java > bar.jasm
Quads directory contains program to generate quads.
2/2/98
Example to get a prefix notation using files in the argument.
Please look at the directory Pre
2/18/98
Syntax Directed Translation Examples.
desk.l and desk.y are for desk calculators.
bin.l bin.y bin1.l bin1.y are for binary numbers
diff.l diff.y are for differentiation.
scanner.l and parser.y are for removing unnecessary parantheses.
complex.l complex.y are for complex number desk calculator.