|
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 |
|
|
86f8e47b0c
|
Avoid cloning constant and move identifier stack to the chunk
|
2024-09-11 04:22:54 -04:00 |
|
|
e4204c1b0d
|
Get variable scopes working
|
2024-09-11 03:10:12 -04:00 |
|
|
8f58bf30a4
|
Make everything messy
|
2024-09-10 18:19:59 -04:00 |
|
|
c3790e90bf
|
Implement blocks with scopes
|
2024-09-10 10:44:15 -04:00 |
|
|
4ba3a47ae5
|
Add implicit returns and fix variable declaration and resolution
|
2024-09-10 09:26:05 -04:00 |
|
|
f936c30b4f
|
Go to great lengths to avoid cloning Values; Extend error reports
|
2024-09-10 03:42:25 -04:00 |
|
|
8798efc0af
|
Add error reports and byte operations
|
2024-09-10 01:04:30 -04:00 |
|
|
8f20e53880
|
Add support for characters and bytes
|
2024-09-09 23:45:35 -04:00 |
|
|
85f5f44946
|
Pass all tests
|
2024-09-09 22:57:14 -04:00 |
|
|
c406039c99
|
Replace global variables with locals
|
2024-09-09 19:23:49 -04:00 |
|