| 1 |
Bisonc++ and flexc++ are required to generate the parser and the lexical |
| 2 |
scanner. |
| 3 |
|
| 4 |
If you have icmake installed, simply run 'icmbuild' to create the program |
| 5 |
Otherwise the ./build command should work. |
| 6 |
|
| 7 |
./tmp/bin/binary starts an interactive program, each line should either |
| 8 |
contain |
| 9 |
|
| 10 |
ident ( ident ) |
| 11 |
|
| 12 |
(blanks are optional, ident is any C++ identifier) |
| 13 |
|
| 14 |
or |
| 15 |
|
| 16 |
ident = int |
| 17 |
|
| 18 |
(int: any non-negative int-value) |
| 19 |
|
| 20 |
To end the program: ^D or ^C. Any other input also ends the program (with a |
| 21 |
syntax error message) |
| 22 |
|
| 23 |
See also the explanation of the implementation of operator= in ../essence. |