Taddeus Kroes
|
b65f17c932
Did some refactoring on main module and tweaked output options
|
há 11 anos atrás |
Taddeus Kroes
|
ad3781f9c3
Fixed some compilation warnings
|
há 11 anos atrás |
Taddeus Kroes
|
cd575763a0
Extern variables now use the .exportvar/.importvar directives + some general fixes
|
há 11 anos atrás |
Taddeus Kroes
|
ec7babc046
Started implementing VM changes of extern variables
|
há 11 anos atrás |
Taddeus Kroes
|
66ab431a00
Updated compiler to fit the new one-dimensional array instruction interface
|
há 12 anos atrás |
Taddeus Kroes
|
50ab6f1b95
Syntax cleanup
|
há 12 anos atrás |
Taddeus Kroes
|
a2c13675f5
Removed 'globals:' comment in generated assembly
|
há 12 anos atrás |
Taddeus Kroes
|
9b0a2616d9
Fixed a bu in assembly printing causing a single directive not to be printed
|
há 12 anos atrás |
Taddeus Kroes
|
bf51961a6f
Code cleanup
|
há 12 anos atrás |
Taddeus Kroes
|
a574d8ace5
IntVal now takes a 32-bit int as argument (not 31 or 63), and integer bound check is moved to lexer
|
há 12 anos atrás |
Taddeus Kroes
|
885fa4bc95
Changed the way errors are represented + context analysis now prints multiple errors before exiting
|
há 12 anos atrás |
Taddeus Kroes
|
05b4f8ca70
Code cleanup
|
há 12 anos atrás |
Taddeus Kroes
|
c41cb56442
Documented Print phase
|
há 12 anos atrás |
Taddeus Kroes
|
625095f367
Documented all global modules (phases still need to be done)
|
há 12 anos atrás |
Taddeus Kroes
|
d2ac2ab8ea
Removed 'open Globals' and used 'Globals.args' instead
|
há 12 anos atrás |
Taddeus Kroes
|
fc301e4dcb
Added ArraySize instruction type, documented AST types and instruction types
|
há 12 anos atrás |
Taddeus Kroes
|
3403c4a3fc
Formatted all source code to 2 spaces as tab, and some more prettifications
|
há 12 anos atrás |
Taddeus Kroes
|
7c9b5cf1af
Added interface files for all modules, moved command-line arguments to globals.ml, made types.ml an .mli file
|
há 12 anos atrás |
Taddeus Kroes
|
494df9d5b5
Assembly printer now prints opimized load instructions
|
há 12 anos atrás |
Taddeus Kroes
|
f979c1faf4
Changed the way array types are represented, and cleaned up a lot of code in the process
|
há 12 anos atrás |
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...
|
há 12 anos atrás |
Taddeus Kroes
|
fc5a38d30a
Re-wrote main file: added a centralized list of phases and generalized logging format + added -upto option
|
há 12 anos atrás |
Taddeus Kroes
|
2398b7395b
Fixed iinc_1/idec_1 replacement
|
há 12 anos atrás |
Taddeus Kroes
|
30406fed9e
Added a rudimentary peephole optimizer
|
há 12 anos atrás |
Taddeus Kroes
|
95036e3719
Simplified LoadImm instruction format
|
há 12 anos atrás |
Taddeus Kroes
|
4225c53427
Finished first version of assembly phase
|
há 12 anos atrás |
Taddeus Kroes
|
90c7e2b83d
Worked on assembly generation, added -noopt argument, tweaked verbority level
|
há 12 anos atrás |
Taddeus Kroes
|
21fc065c8f
Changed constant node types, added VarDecs|LocalFuns wrappers, implemented first steps of assembler
|
há 12 anos atrás |
Taddeus Kroes
|
45ccce6001
Renamed ast.ml to types.ml
|
há 12 anos atrás |
Taddeus Kroes
|
838389b893
Changed the way nodes are annotated to something more moldable, in the process changing/bugfixing pretty much everything
|
há 12 anos atrás |