Commit graph

13 commits

Author SHA1 Message Date
Sam Vervaeck
884be8f9ec Small fixes and major enhancements to TypeChecker 2020-05-28 14:08:49 +02:00
Sam Vervaeck
05b024c3f4 Update code base
- Fix some issues in the parser and the AST spec
 - Fix invalid union types emitted by treegen
 - Fix and extend the Evaluator a bit
 - Swich API of type checker and make it store checking errors
   on the Syntax object itself
2020-05-27 19:57:15 +02:00
Sam Vervaeck
f765ba6115 Fix issue in launch.json 2020-05-27 17:18:05 +02:00
Sam Vervaeck
ffb0e2a8c0 Major update to code base
- Extended and fixed some issues in the parser
 - Complete rewrite of TypeChecker as a SymbolResolver
 - Created basic structure for a new class TypeChecker
 - Introduces verification passes
 - Updated frontend and all bits depending on it
2020-05-26 21:03:28 +02:00
Sam Vervaeck
828af8432e Fix multiple issues with symbol resolver 2020-05-25 17:46:01 +02:00
Sam Vervaeck
d0aed2405f Some minor fixes and extensions to parser and type checker 2020-05-24 22:23:25 +02:00
Sam Vervaeck
aad00c5024 Add support in parser for even more nodes 2020-05-24 21:03:22 +02:00
Sam Vervaeck
f3d8b021c2 Major restructuring
- Add a new `TransformManager` that automatically sets up pipelines
 - Integrate with a small IoC-like-framework
 - Add template code for some new transformations
 - `Program` is not seperate from a new class `Frontend`
 - Fixed some bugs in `src/treegen/`
2020-05-23 14:18:20 +02:00
Sam Vervaeck
9e139c40a9 Another set of fixes 2020-05-10 23:50:53 +02:00
Sam Vervaeck
824cf57c13 Fix most error in src/parser.ts 2020-05-10 18:21:44 +02:00
Sam Vervaeck
7aa86d2789 Integrate with new AST system 2020-05-10 15:57:44 +02:00
Sam Vervaeck
f64da05a36 Undo creation of workspaces and merge treegen with main source 2020-05-10 11:58:07 +02:00
Sam Vervaeck
c421721766 Add a very naive compiler 2020-02-25 17:55:17 +01:00