Commit graph

13 commits

Author SHA1 Message Date
Sam Vervaeck
5189804c00 Add support for parsing 'trait' and 'impl' 2020-05-22 21:57:42 +02:00
Sam Vervaeck
d1ba2cb540 Update code
- Move foreign language interfaces to seperate directories
 - Extend the JavaScript scanner and parser to be able to parse simple
   call expressions and member expressions
 - Fix multiple issues in expander.ts
 - Move shared scanning/parsing utilities to util.ts
2020-05-22 21:29:14 +02:00
Sam Vervaeck
70b219d6df Update the parser and related files
- Extend the parser to support many more constructs
 - Add basic structure for parsing embedded JavaScript
 - Remove and update some AST definitions
 - Fix some bugs
2020-05-22 19:51:49 +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
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
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
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