Taddeus Kroes
|
625095f367
Documented all global modules (phases still need to be done)
|
12 سال پیش |
Taddeus Kroes
|
c36e74fbae
Removed Globals import from other files as well
|
12 سال پیش |
Taddeus Kroes
|
d9384dc253
Removed ArrayScalar node
|
12 سال پیش |
Taddeus Kroes
|
3403c4a3fc
Formatted all source code to 2 spaces as tab, and some more prettifications
|
12 سال پیش |
Taddeus Kroes
|
7c9b5cf1af
Added interface files for all modules, moved command-line arguments to globals.ml, made types.ml an .mli file
|
12 سال پیش |
Taddeus Kroes
|
d57caab46f
Error printer now handles tabs in input file correctly
|
12 سال پیش |
Taddeus Kroes
|
7462e88b3d
Added warning and constant propagation check for division by zero
|
12 سال پیش |
Taddeus Kroes
|
f979c1faf4
Changed the way array types are represented, and cleaned up a lot of code in the process
|
12 سال پیش |
Taddeus Kroes
|
dd6930eb07
Code cleanup
|
12 سال پیش |
Taddeus Kroes
|
ae20d87ad4
Re-introduced DimDec node to get array dimension declarations to work properly, and rewrote a bunch of code to make it actually work...
|
12 سال پیش |
Taddeus Kroes
|
7762f6851a
Disabled fancy error messages for stdin for now
|
12 سال پیش |
Taddeus Kroes
|
5ef0f0dfa9
Reduced verbose level for fancy errors to 1
|
12 سال پیش |
Taddeus Kroes
|
fc5a38d30a
Re-wrote main file: added a centralized list of phases and generalized logging format + added -upto option
|
12 سال پیش |
Taddeus Kroes
|
73c9cb3c80
NodeError no longer fails with empty location
|
12 سال پیش |
Taddeus Kroes
|
93fade30ba
Assembly optimizations are now only executed when -noopt is not specified
|
12 سال پیش |
Taddeus Kroes
|
30406fed9e
Added a rudimentary peephole optimizer
|
12 سال پیش |
Taddeus Kroes
|
4225c53427
Finished first version of assembly phase
|
12 سال پیش |
Taddeus Kroes
|
21fc065c8f
Changed constant node types, added VarDecs|LocalFuns wrappers, implemented first steps of assembler
|
12 سال پیش |
Taddeus Kroes
|
45ccce6001
Renamed ast.ml to types.ml
|
12 سال پیش |
Taddeus Kroes
|
838389b893
Changed the way nodes are annotated to something more moldable, in the process changing/bugfixing pretty much everything
|
12 سال پیش |
Taddeus Kroes
|
669f2c21f3
Added a rudimentary form of constant propagation for reducing for-loop complexity, improved flatten_blocks
|
12 سال پیش |
Taddeus Kroes
|
bd304ed3a4
Implemented external variables using getters and setters, some general changes & fixes in other phases for compliance
|
12 سال پیش |
Taddeus Kroes
|
662cca4a28
Moved args to ast.ml to avoid circular dependency
|
12 سال پیش |
Taddeus Kroes
|
180700fd3e
Moved command-line arguments to global record
|
12 سال پیش |
Taddeus Kroes
|
1cdc10625d
Implemented array dimension reduction, generalized Array type, more bugfixes in other phases
|
12 سال پیش |
Taddeus Kroes
|
2afacac5e5
Implemented constant array initialisation
|
12 سال پیش |
Taddeus Kroes
|
f282d9b512
Implemented scalar array initialisation
|
12 سال پیش |
Taddeus Kroes
|
6a77ae3cca
Fixed issue where nested for-loop counters would not be replaced properly
|
12 سال پیش |
Taddeus Kroes
|
74d0ad3cc1
Finished type checking & content analysis
|
12 سال پیش |
Taddeus Kroes
|
85108f6d9b
Added new node type for array assignment
|
12 سال پیش |