Commit graph

12 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
9757bf07ea src/treegen/ast-template.js: Fix an obsolete stratement 2020-05-27 09:12:06 +02:00
Sam Vervaeck
ae41362367 Fix some issues in treegen 2020-05-26 20:59:44 +02:00
Sam Vervaeck
4197fe21dc Update treegen to support narrowing of parent and child nodes 2020-05-26 19:02:33 +02:00
Sam Vervaeck
17d91ef36c Add initial support for packages and imports 2020-05-25 11:29:51 +02:00
Sam Vervaeck
32a9d288de Re-write the type-checker to make it more extensible 2020-05-23 21:15:20 +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