Taddeus Kroes
|
7762f6851a
Disabled fancy error messages for stdin for now
|
hace 12 años |
Taddeus Kroes
|
5ef0f0dfa9
Reduced verbose level for fancy errors to 1
|
hace 12 años |
Taddeus Kroes
|
fc5a38d30a
Re-wrote main file: added a centralized list of phases and generalized logging format + added -upto option
|
hace 12 años |
Taddeus Kroes
|
73c9cb3c80
NodeError no longer fails with empty location
|
hace 12 años |
Taddeus Kroes
|
93fade30ba
Assembly optimizations are now only executed when -noopt is not specified
|
hace 12 años |
Taddeus Kroes
|
30406fed9e
Added a rudimentary peephole optimizer
|
hace 12 años |
Taddeus Kroes
|
4225c53427
Finished first version of assembly phase
|
hace 12 años |
Taddeus Kroes
|
21fc065c8f
Changed constant node types, added VarDecs|LocalFuns wrappers, implemented first steps of assembler
|
hace 12 años |
Taddeus Kroes
|
45ccce6001
Renamed ast.ml to types.ml
|
hace 12 años |
Taddeus Kroes
|
838389b893
Changed the way nodes are annotated to something more moldable, in the process changing/bugfixing pretty much everything
|
hace 12 años |
Taddeus Kroes
|
669f2c21f3
Added a rudimentary form of constant propagation for reducing for-loop complexity, improved flatten_blocks
|
hace 12 años |
Taddeus Kroes
|
bd304ed3a4
Implemented external variables using getters and setters, some general changes & fixes in other phases for compliance
|
hace 12 años |
Taddeus Kroes
|
662cca4a28
Moved args to ast.ml to avoid circular dependency
|
hace 12 años |
Taddeus Kroes
|
180700fd3e
Moved command-line arguments to global record
|
hace 12 años |
Taddeus Kroes
|
1cdc10625d
Implemented array dimension reduction, generalized Array type, more bugfixes in other phases
|
hace 12 años |
Taddeus Kroes
|
2afacac5e5
Implemented constant array initialisation
|
hace 12 años |
Taddeus Kroes
|
f282d9b512
Implemented scalar array initialisation
|
hace 12 años |
Taddeus Kroes
|
6a77ae3cca
Fixed issue where nested for-loop counters would not be replaced properly
|
hace 12 años |
Taddeus Kroes
|
74d0ad3cc1
Finished type checking & content analysis
|
hace 12 años |
Taddeus Kroes
|
85108f6d9b
Added new node type for array assignment
|
hace 12 años |
Taddeus Kroes
|
12da98abeb
Implemented array dims expansion correctly (probably), more bugfixes
|
hace 12 años |
Taddeus Kroes
|
96ecd75efb
Implemented most of typechecking, some bugfixes in other phases
|
hace 12 años |
Taddeus Kroes
|
d74b3bcded
Mostly finished desugaring and context analysis, added some utils, general bugfixes, started on array dimension reduction
|
hace 12 años |
Taddeus Kroes
|
0e0dd26f30
Generalized error printing and applied it in context analysis
|
hace 12 años |
Taddeus Kroes
|
2126ae7cee
Removed preprocessor from parser, improved some error messages, moved some functions to common files
|
hace 12 años |
Taddeus Kroes
|
4f112ab59c
Did a lot of stuff:
|
hace 12 años |
Taddeus Kroes
|
51ae206f02
Code cleanup
|
hace 12 años |
Taddeus Kroes
|
50cc633821
Added location attribute to all node definitions & matches
|
hace 12 años |
Taddeus Kroes
|
3747dc9846
Added C preprocessor to parser + quickfix to make code work
|
hace 12 años |
Taddeus Kroes
|
0c538f2ee3
Started implementing node locations + some work on desugaring
|
hace 12 años |