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
0019f37749
Fix AST formatter and serializer
2020-06-16 21:08:45 +02:00
Sam Vervaeck
509d5a3c69
First steps in supporting 'trait' and 'impl'
2020-06-16 20:45:53 +02:00
Sam Vervaeck
0d8afdd286
Fix multiple issues in test infrastructure and clean it up
2020-06-15 21:40:13 +02:00
Sam Vervaeck
8c92f689cd
Make test infrasture more usable by adding a diff reporter
2020-06-13 19:24:56 +02:00
Sam Vervaeck
a86324a3c9
Upgrade test infrastructure
...
- Enhance (de)serialization logic and slim down generated JSON
- Add more commands to `bolt-test` and improve support for aliases
2020-06-07 22:23:01 +02:00
Sam Vervaeck
3dcf91c520
Add a quick 'n dirty serializer for AST nodes
2020-06-07 00:18:02 +02:00
Sam Vervaeck
2a0e24213d
Add a POC test runner for the parser and scanner
2020-06-03 09:19:30 +02:00
Sam Vervaeck
1659d722cc
Fix errors and make project work again
2020-06-01 21:49:28 +02:00
Sam Vervaeck
475f11782e
Swap code generator for AST definitions
2020-06-01 20:10:01 +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
a48454f960
Simplify AST definitions
2020-05-10 00:19:10 +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
f79c599e19
Modify JSON emitter to not emit origNode
2020-02-25 12:25:25 +01:00
Sam Vervaeck
aae14a275c
Update AST to support multiple original nodes
2020-02-25 10:49:35 +01:00
Sam Vervaeck
365de4e3f7
Split Punctuated into subclasses for parser
2020-02-24 20:47:10 +01:00
Sam Vervaeck
96aa6b6991
Fix support for single-character tokens
2020-02-24 19:23:34 +01:00
Sam Vervaeck
d06c8f577d
Add support for paring sentences
2020-02-24 19:16:33 +01:00
Sam Vervaeck
bcec19ecc8
Add a simple scanner for identifiers
2020-02-24 18:30:39 +01:00