Commit graph

15 commits

Author SHA1 Message Date
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