Commit Graph

51 Commits

Author SHA1 Message Date
6ca96bc1dc Add &&, || and ! to the language; Add tests 2024-09-17 17:51:39 -04:00
d4d58e793b Refactor and improve the VM, Parser, and Lexer 2024-09-12 05:08:55 -04:00
67e5de6664 Reimplement the Parser and VM with a register-based VM 2024-09-12 00:39:31 -04:00
7b055d79b5 Begin rewrite with register-based bytecode 2024-09-11 23:07:20 -04:00
86f8e47b0c Avoid cloning constant and move identifier stack to the chunk 2024-09-11 04:22:54 -04:00
8f20e53880 Add support for characters and bytes 2024-09-09 23:45:35 -04:00
fcfcb4a429 Restructure, clean up and add tests 2024-09-09 23:24:22 -04:00
1ecaac0819 Start new rewrite of Dust 2024-09-06 19:27:16 -04:00
72a019cfe5 Clean up and refactor slightly 2024-09-05 11:32:31 -04:00
e643ebe114 Fix parsing bug 2024-08-31 07:24:45 -04:00
cc188a233b Overhaul project structure 2024-08-03 20:23:52 -04:00
2f06b18c3c Move type module out of abstract tree module 2024-08-02 16:33:40 -04:00
a02cee0b9f Add two new tests and refactor to pass them 2024-07-13 10:47:24 -04:00
62ece61ce6 Fix test 2024-07-12 19:53:10 -04:00
790438d1e3 Add type arguments to enum instances 2024-07-12 11:08:53 -04:00
c85958064a Fix test; Pass all tests 2024-07-11 17:54:59 -04:00
f3fe03a95f Fix function context bug 2024-07-11 17:22:30 -04:00
1794f7559c Clean up 2024-07-11 08:10:12 -04:00
48f3ccdd58 Fix inheritance; Add a test 2024-07-09 23:01:54 -04:00
699576c4c7 Add use statements with pre-compile std library 2024-07-01 14:23:01 -04:00
adfd3aa5d4 Add list type check; Clean up 2024-06-28 15:35:18 -04:00
fe0bb0a0b5 Clean up 2024-06-26 18:09:38 -04:00
29bbcb019d Add and pass validation test 2024-06-26 16:24:41 -04:00
a177f19f28 Pass all tests 2024-06-24 16:48:39 -04:00
97268c272e Use rust-style type parameter syntax 2024-06-24 13:54:37 -04:00
37d54499da Use rust-style turbofish 2024-06-24 13:48:31 -04:00
af20dab0d2 Refactor function types 2024-06-23 22:39:33 -04:00
6bdefd0698 Continue major refactoring 2024-06-22 13:55:43 -04:00
4b89ea0e96 Continue refactoring 2024-06-22 00:58:30 -04:00
a94251e707 Rework enums and type constructors 2024-06-20 18:41:07 -04:00
fecc62811d Improve type inference 2024-06-19 12:03:25 -04:00
0de25215b8 Implement basic enum instances 2024-06-19 10:48:22 -04:00
ed4820a137 Implement serde traits for Value 2024-06-19 04:56:56 -04:00
ccdcc7c791 Fix tests and comment some out 2024-06-18 22:03:41 -04:00
799467b25b Reduce ambiguity for function parsing 2024-06-18 21:44:22 -04:00
7c809fa764 Clean up and prettify parsing errors 2024-06-18 19:42:04 -04:00
d53ddd07eb Fix tests and refine new parsing 2024-06-17 15:47:07 -04:00
e448c9dd4c Add type constructor 2024-06-17 10:10:06 -04:00
a0b754cc1c Begin preparing for type expressions 2024-06-16 03:12:04 -04:00
f7bc43d7e3 Replace context inheritance with parental refs 2024-05-21 16:32:23 -04:00
9eb047a913 Revert to pratt parsing for all indexes 2024-05-18 16:21:46 -04:00
200a5d9127 Add type argument test 2024-03-29 15:52:02 -04:00
f1f4d48d3a Remove redundant source position info from AST 2024-03-25 01:36:33 -04:00
e50b231958 Overhaul AST 2024-03-25 00:16:55 -04:00
966983920e Toy with chumsky and ariadne 2024-03-24 15:35:19 -04:00
6b0bb0016f Begin implementing type arguments 2024-03-24 12:21:08 -04:00
2b797c19f7 Pass all tests 2024-03-24 09:10:49 -04:00
004b7be27a Implement better standard library interface 2024-03-23 11:24:25 -04:00
690e248df6 Implement async blocks 2024-03-20 17:18:47 -04:00
bb7cda1242 Fix lexer and all broken tests 2024-03-20 11:43:47 -04:00