source: other-projects/rsyntax-textarea/devel-packages/jflex-1.4.3/examples/interpreter/README@ 25584

Last change on this file since 25584 was 25584, checked in by davidb, 12 years ago

Initial cut an a text edit area for GLI that supports color syntax highlighting

File size: 996 bytes
Line 
1This directory contains an interpreter for a small functional
2programming language (called "AS"). It uses JFlex and CUP.
3
4Directory contents:
5
6- Main.java is the main program. It reads an AS program from
7 std in and interprets it.
8
9- Makefile runs jflex, cup, javac and the compiled interpreter
10
11- Classes beginning with "T" implement the abstract syntax tree.
12 They also contain context condition checking and the interpreter.
13
14- Symtab.java, SymtabEntry.java, STEfun.java, STEvar.java implement
15 the symbol table.
16
17- scanner.lex and parser.cup contain the scanner and parser.
18
19- example.as is an example program in AS
20
21
22The language is described in:
23Manfred Broy: Einfuehrung in die Informatik, Springer Verlag
24
25The files are a solution to excercise 3.40 in the book:
26Manfred Broy,Bernhard Rumpe:
27Uebungen zur Einfuehrung in die Informatik --
28Strukturierte Aufgabensammlung mit Musterloesungen,
29Springer Verlag, 2001
30
31Both books are only available in German. Sorry.
Note: See TracBrowser for help on using the repository browser.