Commit graph

17 commits

Author SHA1 Message Date
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
e0566233c0 Improve symbol resolution algorithms in type checker 2020-05-25 15:52:19 +02:00
Sam Vervaeck
17d91ef36c Add initial support for packages and imports 2020-05-25 11:29:51 +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
e6c54052f1 Integrate type checker in frontend 2020-05-23 22:49: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
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
f1d35917f2 Add WIP 2020-03-03 14:53:54 +01:00
Sam Vervaeck
a1304e177d Major update to code
- Many small fixes to parser and scanner
 - Extended type checking algorithm for existing nodes
 - Add partial support for module definitions and records
 - Add an evaluator
 - Prepare for new version of macro system
2020-02-26 18:53:28 +01:00
Sam Vervaeck
efa3c4d835 Fix some bugs and add minimal support for imports 2020-02-25 18:34:21 +01:00
Sam Vervaeck
c421721766 Add a very naive compiler 2020-02-25 17:55:17 +01:00
Sam Vervaeck
6c7172c0ce Add first draft of Parser and Expander 2020-02-25 12:26:21 +01:00
Sam Vervaeck
d06c8f577d Add support for paring sentences 2020-02-24 19:16:33 +01:00
Sam Vervaeck
917770416b Enable source-map-support 2020-02-24 18:35:28 +01:00
Sam Vervaeck
bcec19ecc8 Add a simple scanner for identifiers 2020-02-24 18:30:39 +01:00