|
febd7bb054
|
Fix while loop jumps; Pass tests
|
2024-10-31 20:33:46 -04:00 |
|
|
604962c535
|
Begin refactoring jump instructions
|
2024-10-30 14:48:30 -04:00 |
|
|
10abd91c85
|
Add failing control flow test with new panic function
|
2024-10-30 09:50:45 -04: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 |
|
|
caf1c22af0
|
Clean up
|
2024-10-30 00:16:10 -04:00 |
|
|
e304195661
|
Change return to use last_assigned_value; Add scopes tests
|
2024-10-29 23:11:55 -04:00 |
|
|
004cf73959
|
Pass tests
|
2024-10-24 22:37:18 -04:00 |
|
|
c0f74f1e09
|
Tweak control flow jumping and compile-time optimizations
|
2024-10-20 22:18:58 -04:00 |
|
|
648bbdbc4d
|
Refactor parsing for better jumping and returns
|
2024-10-20 18:51:04 -04:00 |
|
|
1da61f0873
|
Begin reworking jump instructions
|
2024-10-20 10:20:09 -04:00 |
|
|
8db37bcdfd
|
Add LoadSelf instruction to enable recursion
|
2024-10-20 02:30:22 -04:00 |
|
|
6caae6c952
|
Add chunk names
|
2024-10-20 00:46:59 -04:00 |
|
|
f15cf84c4d
|
Refactor to fix bugs with loops; Add close instructions while calling functions
|
2024-10-20 00:06:22 -04:00 |
|
|
13b4cfffcc
|
Add function declarations to the parser
|
2024-10-19 19:13:19 -04:00 |
|
|
9d5c9d9fd0
|
Implement functions calls
|
2024-10-19 17:24:22 -04:00 |
|
|
65e513488f
|
Clean up unused code
|
2024-10-19 13:52:23 -04:00 |
|
|
1c8e8b35b9
|
Remove old, unused code from the parser
|
2024-10-19 13:40:46 -04:00 |
|
|
3f8b554a86
|
Refactor parser and chunk to have fewer errors and less retrospection
|
2024-10-19 12:05:20 -04:00 |
|
|
8c79157fa7
|
Simplify and clean up
|
2024-10-19 03:06:14 -04:00 |
|
|
6bcc5b1555
|
Add function test
|
2024-10-19 01:58:30 -04:00 |
|
|
b7153df9be
|
Pass tests
|
2024-10-19 01:04:53 -04:00 |
|
|
86e055a562
|
Clean up
|
2024-10-18 22:30:20 -04:00 |
|
|
19f2d19134
|
Clean up
|
2024-10-18 21:34:47 -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 |
|
|
12d34d6354
|
Add a new parser method to handle errors
|
2024-10-13 13:01:58 -04:00 |
|
|
c7bba88875
|
Create formatter
|
2024-10-13 07:14:12 -04:00 |
|
|
5eb901f468
|
Add a VM method; Refactor and clean up
|
2024-10-13 04:21:07 -04:00 |
|
|
055f0a4100
|
Continue working on function calls
|
2024-10-13 02:47:12 -04:00 |
|
|
d5fc68e466
|
Refactor chunk disassembly output
|
2024-10-13 02:33:58 -04:00 |
|
|
2864bee057
|
Add types to functions and improve calls
|
2024-10-12 20:19:21 -04:00 |
|
|
2527cc2de7
|
Clean up
|
2024-10-12 10:57:22 -04:00 |
|
|
ea0be43199
|
Begin adding function calls
|
2024-10-12 10:55:34 -04:00 |
|
|
5bbda1a24e
|
Disallow comparison chaining
|
2024-10-12 08:16:06 -04:00 |
|
|
f1034534ed
|
Avoid emitting duplicate return instructions; Clean up
|
2024-10-12 07:12:44 -04:00 |
|
|
02877d06d3
|
Reduce use of TokenKind in parser to only error cases
|
2024-10-12 06:27:19 -04:00 |
|
|
6e1ef77192
|
Refactor to use index references to avoid cloning values
|
2024-10-12 03:06:44 -04:00 |
|
|
c1e372d7cf
|
Improve disassembler output; Fix return positions
|
2024-10-09 19:59:06 -04:00 |
|
|
b6c3b1e5ba
|
Refactor
|
2024-10-09 12:16:46 -04:00 |
|
|
259721f6cb
|
Continue implemnting functions; Begin adding types
|
2024-10-09 06:15:06 -04:00 |
|
|
bdc34cb10e
|
Begin adding functions to the language
|
2024-10-08 22:56:01 -04:00 |
|
|
35f73d60f0
|
Add tests for parser errors
|
2024-10-05 05:57:28 -04:00 |
|
|
437a6bf164
|
Add math-assignment operators
|
2024-10-05 04:33:38 -04:00 |
|
|
d857f42434
|
Pass all tests
|
2024-10-05 02:07:26 -04:00 |
|
|
9d0aa13e8a
|
Refactor VM, chunk and parser to pass tests
|
2024-10-05 00:11:03 -04:00 |
|
|
5015cf4cc4
|
Refactor how return instruction works; Begin passing tests
|
2024-10-04 22:33:47 -04:00 |
|
|
5411a1db27
|
Move and replace lots of tests; Refactor parser
|
2024-10-04 22:21:17 -04:00 |
|
|
7b055d79b5
|
Begin rewrite with register-based bytecode
|
2024-09-11 23:07:20 -04:00 |
|