Sam Vervaeck
3ac8d1802b
Multiple fixes and a rewrite of the type checker
...
- Improve the quality of the type checker
- Fix multiple bugs in the parser
- Fix some inconsistencies in the AST spec
- Update package dependencies
2020-10-29 21:12:11 +01: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
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
ec746b655d
Fix some errors while parsing and checking stdlib
2020-05-24 22:41:46 +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
79f150bb4b
Move some declarations from src/util.ts to src/common.ts
2020-05-24 21:50:29 +02:00
Sam Vervaeck
def4adba40
Re-write the type checker to be more robust
2020-05-24 11:17:56 +02:00
Sam Vervaeck
9415f7a2e7
Fix @memoize and make it more efficient
2020-05-23 23:08:40 +02:00
Sam Vervaeck
2a873484c4
Extend the type checker to support function calls
2020-05-23 22:23:44 +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
831ae626c3
Fix some compilation errors
2020-05-23 15:04:32 +02:00
Sam Vervaeck
9e139c40a9
Another set of fixes
2020-05-10 23:50:53 +02:00
Sam Vervaeck
f8918bfa79
Fix even more errors
2020-05-10 18:54:57 +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