Taddeus Kroes
|
efa5140ebf
bool_op now traverses properly and typecasts are pruned when not int->float or float->int
|
il y a 12 ans |
Taddeus Kroes
|
fc5a38d30a
Re-wrote main file: added a centralized list of phases and generalized logging format + added -upto option
|
il y a 12 ans |
Taddeus Kroes
|
4225c53427
Finished first version of assembly phase
|
il y a 12 ans |
Taddeus Kroes
|
90c7e2b83d
Worked on assembly generation, added -noopt argument, tweaked verbority level
|
il y a 12 ans |
Taddeus Kroes
|
21fc065c8f
Changed constant node types, added VarDecs|LocalFuns wrappers, implemented first steps of assembler
|
il y a 12 ans |
Taddeus Kroes
|
45ccce6001
Renamed ast.ml to types.ml
|
il y a 12 ans |
Taddeus Kroes
|
838389b893
Changed the way nodes are annotated to something more moldable, in the process changing/bugfixing pretty much everything
|
il y a 12 ans |
Taddeus Kroes
|
153ac60c5d
Fixed buf that caused fundec calls and conditional expressions not to be typechecked correctly
|
il y a 12 ans |
Taddeus Kroes
|
bd304ed3a4
Implemented external variables using getters and setters, some general changes & fixes in other phases for compliance
|
il y a 12 ans |
Taddeus Kroes
|
e326a5b132
Disabled type pruning because of usefulness in other phases
|
il y a 12 ans |
Taddeus Kroes
|
180700fd3e
Moved command-line arguments to global record
|
il y a 12 ans |
Taddeus Kroes
|
33622fca25
Typecheck phase now prunes Type nodes when done
|
il y a 12 ans |
Taddeus Kroes
|
1cdc10625d
Implemented array dimension reduction, generalized Array type, more bugfixes in other phases
|
il y a 12 ans |
Taddeus Kroes
|
796d94bbb7
Error message cleanup
|
il y a 12 ans |
Taddeus Kroes
|
f282d9b512
Implemented scalar array initialisation
|
il y a 12 ans |
Taddeus Kroes
|
74d0ad3cc1
Finished type checking & content analysis
|
il y a 12 ans |
Taddeus Kroes
|
12da98abeb
Implemented array dims expansion correctly (probably), more bugfixes
|
il y a 12 ans |
Taddeus Kroes
|
96ecd75efb
Implemented most of typechecking, some bugfixes in other phases
|
il y a 12 ans |