Commit History

Author SHA1 Message Date
  Taddeus Kroes a574d8ace5 IntVal now takes a 32-bit int as argument (not 31 or 63), and integer bound check is moved to lexer 12 years ago
  Taddeus Kroes 885fa4bc95 Changed the way errors are represented + context analysis now prints multiple errors before exiting 12 years ago
  Taddeus Kroes 05b4f8ca70 Code cleanup 12 years ago
  Taddeus Kroes c41cb56442 Documented Print phase 12 years ago
  Taddeus Kroes 625095f367 Documented all global modules (phases still need to be done) 12 years ago
  Taddeus Kroes d2ac2ab8ea Removed 'open Globals' and used 'Globals.args' instead 12 years ago
  Taddeus Kroes fc301e4dcb Added ArraySize instruction type, documented AST types and instruction types 12 years ago
  Taddeus Kroes 3403c4a3fc Formatted all source code to 2 spaces as tab, and some more prettifications 12 years ago
  Taddeus Kroes 7c9b5cf1af Added interface files for all modules, moved command-line arguments to globals.ml, made types.ml an .mli file 12 years ago
  Taddeus Kroes 494df9d5b5 Assembly printer now prints opimized load instructions 12 years ago
  Taddeus Kroes f979c1faf4 Changed the way array types are represented, and cleaned up a lot of code in the process 12 years ago
  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 years ago
  Taddeus Kroes fc5a38d30a Re-wrote main file: added a centralized list of phases and generalized logging format + added -upto option 12 years ago
  Taddeus Kroes 2398b7395b Fixed iinc_1/idec_1 replacement 12 years ago
  Taddeus Kroes 30406fed9e Added a rudimentary peephole optimizer 12 years ago
  Taddeus Kroes 95036e3719 Simplified LoadImm instruction format 12 years ago
  Taddeus Kroes 4225c53427 Finished first version of assembly phase 12 years ago
  Taddeus Kroes 90c7e2b83d Worked on assembly generation, added -noopt argument, tweaked verbority level 12 years ago
  Taddeus Kroes 21fc065c8f Changed constant node types, added VarDecs|LocalFuns wrappers, implemented first steps of assembler 12 years ago
  Taddeus Kroes 45ccce6001 Renamed ast.ml to types.ml 12 years ago
  Taddeus Kroes 838389b893 Changed the way nodes are annotated to something more moldable, in the process changing/bugfixing pretty much everything 12 years ago
  Taddeus Kroes 3d3c4d5421 Added empty assmebly phase 12 years ago
  Taddeus Kroes 662cca4a28 Moved args to ast.ml to avoid circular dependency 12 years ago
  Taddeus Kroes 180700fd3e Moved command-line arguments to global record 12 years ago
  Taddeus Kroes f0e55d0030 Implemented C preprocessor integration 12 years ago
  Taddeus Kroes cebd145125 Moved command-line arguments to parameterized type 12 years ago
  Taddeus Kroes 4f112ab59c Did a lot of stuff: 12 years ago
  Taddeus Kroes 51ae206f02 Code cleanup 12 years ago
  Taddeus Kroes ee11dce399 Started on implementing CiviC compiler 12 years ago