Commit graph

15 commits

Author SHA1 Message Date
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
5e111d8a65 Fix parser error message 2020-02-25 17:59:36 +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
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
917770416b Enable source-map-support 2020-02-24 18:35:28 +01:00
Sam Vervaeck
6921aabf2a Fix punctuation parsing 2020-02-24 18:35:07 +01:00
Sam Vervaeck
bcec19ecc8 Add a simple scanner for identifiers 2020-02-24 18:30:39 +01:00