1
0
Commit Graph

80 Commits

Author SHA1 Message Date
e04ead3848 Refactor library and CLI 2024-11-17 20:32:53 -05:00
2e51112b4b Continue overhauling the lexer 2024-11-07 18:48:53 -05:00
b9ded3ea78 Begin refactoring the lexer 2024-11-07 17:59:28 -05:00
3330939128 Add docs 2024-11-05 19:38:26 -05:00
382d43ef77 Add NativeFunction macro and implement read_line 2024-10-30 09:11:28 -04:00
c264aaeb13 Add the to_string, write and write_line natives 2024-10-30 05:16:34 -04:00
af4e43fc9f Add native calls and the panic native 2024-10-30 03:08:25 -04:00
6bcc5b1555 Add function test 2024-10-19 01:58:30 -04:00
44659ec34a Extend CLI to cover more formatting options; Extend formatting 2024-10-13 16:46:45 -04:00
0c758c9768 Clean up 2024-10-13 13:08:12 -04:00
c7bba88875 Create formatter 2024-10-13 07:14:12 -04:00
30b2801a38 Add item type to list value; Clean up 2024-10-12 06:17:16 -04:00
b6c3b1e5ba Refactor 2024-10-09 12:16:46 -04:00
bdc34cb10e Begin adding functions to the language 2024-10-08 22:56:01 -04:00
437a6bf164 Add math-assignment operators 2024-10-05 04:33:38 -04:00
47d6ea417d Improve logs; Clean up 2024-09-25 01:27:10 -04:00
57edf48e36 Extend parsing 2024-09-22 18:17:21 -04:00
6ca96bc1dc Add &&, || and ! to the language; Add tests 2024-09-17 17:51:39 -04:00
7b055d79b5 Begin rewrite with register-based bytecode 2024-09-11 23:07:20 -04:00
8f20e53880 Add support for characters and bytes 2024-09-09 23:45:35 -04:00
812d930488 Continue writing bytecode implementation 2024-09-07 04:34:03 -04:00
406edda573 Begin parser 2024-09-06 23:30:43 -04:00
1ecaac0819 Start new rewrite of Dust 2024-09-06 19:27:16 -04:00
b02e5244f2 Add defereference expressions 2024-08-28 11:31:47 -04:00
e84bb2ea70 Improve errors 2024-08-23 05:54:58 -04:00
0d0a2d2237 Add character literal tokens; Change strings to double quotes only 2024-08-23 05:24:48 -04:00
f9480ddc24 Add loop and break 2024-08-20 14:45:43 -04:00
83f856385b Refine errors and error propagation 2024-08-20 11:07:13 -04:00
cf9a9837c8 Add a parser test; Pass VM test 2024-08-20 07:20:44 -04:00
0fd19a623d Improve AST ergonomics 2024-08-17 12:15:47 -04:00
0b64afccb1 Extend VM, abstract tree and parser 2024-08-17 10:07:38 -04:00
7d721beb31 Implement VM and Analyzer by using the new AST 2024-08-16 09:22:36 -04:00
fedefdb29f Implement "let" and "let mut" lexing/parsing 2024-08-16 07:09:46 -04:00
44d6a88faa Pass tests 2024-08-15 21:22:24 -04:00
486530610b Continue passing tests and tweaking 2024-08-15 00:20:36 -04:00
81b7888920 Continue passing tests 2024-08-14 21:15:37 -04:00
3ff3a7568c Continue adding mutable variables 2024-08-14 01:13:43 -04:00
17286896a8 Add async blocks 2024-08-13 23:45:17 -04:00
64a3ce4cd3 Implement subtraction assignment 2024-08-13 21:24:56 -04:00
5757f52dbd Refactor to move assingment out of other binary operations 2024-08-13 17:34:45 -04:00
83aa53b998 Add instantiation for tuple structs 2024-08-13 16:22:40 -04:00
87455ed792 Continue adding struct lexing and test 2024-08-13 13:28:22 -04:00
390511fa20 Rewrite list indexing to use [] syntax 2024-08-12 19:06:57 -04:00
5ad6012021 Refine parsing and lexing 2024-08-12 16:57:10 -04:00
0fb0b63a97 Fix dot notations precedence; Add some miscellaneous expansions 2024-08-12 15:02:04 -04:00
0ba54e9717 Add another token type; Add ranges 2024-08-12 10:08:34 -04:00
2c374a1cd7 Begin adding unary operators 2024-08-12 05:44:05 -04:00
9338d73621 Add to_string function; Get fizzbuzz example working 2024-08-11 15:12:19 -04:00
0c73f80947 Implment control flow lexing and parsing 2024-08-11 14:35:33 -04:00
37e3e1116d Add while loops 2024-08-10 05:23:43 -04:00