Bill Currie
|
fb8b3d1211
|
Rework the lexer and parser to use symbols instead of defs.
Currently parses the test program just fine, but code generation is very
very broken.
|
2011-01-13 14:58:16 +09:00 |
|
Bill Currie
|
9ce9b70484
|
Add variadic functions.
Already extending QuakePascal, and many basics aren't there yet :P
|
2011-01-12 23:39:59 +09:00 |
|
Bill Currie
|
806d9110a2
|
Support both (* *) and // style comments.
|
2011-01-10 12:25:31 +09:00 |
|
Bill Currie
|
e34f7caeb0
|
Use op instead of integer_val for ADDOP etc.
|
2011-01-10 12:25:31 +09:00 |
|
Bill Currie
|
74016573b4
|
Need frame grabbing after all.
|
2011-01-10 12:25:31 +09:00 |
|
Bill Currie
|
129a36064f
|
Fix a typo that broke procedure declarations.
|
2011-01-10 12:25:31 +09:00 |
|
Bill Currie
|
fed82466cc
|
The first stages of Quake-Pascal.
At present, this parses a subset of the pascal language with a few type
extensions. There is already work on the type system.
|
2011-01-10 12:25:31 +09:00 |
|