27 Commits

Author SHA1 Message Date
408a5a46c0 Can set and ref vars in main scope.
One can now assign and reference variables in the main scope, as it has
been put in a block through the parser.

Also added some tests for this purpose.
2025-02-04 17:28:06 -05:00
be3baee74e Fixed dlists.
Also added tests.
2025-02-04 16:40:58 -05:00
e5c58d5fc5 Fixed tests.
Can't have spaces for some reason. Not a real fix.
2025-02-03 13:02:28 -05:00
66c518fe43 Don't know why that last test is hanging.
Will fix later I guess.
2025-02-03 10:06:53 -05:00
a5a86dc080 Basic blocks now work. 2025-02-01 18:40:43 -05:00
70393ef9ae Started work on blocks and the hash table. 2025-02-01 11:01:01 -05:00
3fcffc81ad Merge branch 'variables'. 2025-01-25 10:13:25 -05:00
27e61471a8 Fixed some things. 2025-01-25 10:12:15 -05:00
c94d7863a7 Fixed tests. 2025-01-25 09:22:31 -05:00
4dd1f2b5f1 Slightly broken. 2025-01-20 18:05:56 -05:00
1a2249a0da Fixed tests and Makefile for the last time. 2025-01-20 16:02:24 -05:00
0293c925d2 Fixed dstr test. 2025-01-18 11:12:07 -05:00
1098fa252f Added parenthesis.
Also updated some grammar rules for negatives to be more general.
2025-01-14 13:59:26 -05:00
0b1905429c Updated tests to include order of operations. 2025-01-12 20:47:24 -05:00
c3d8d6f8e5 Validation tests. 2025-01-04 10:45:34 -05:00
ffcf2fb013 Added tests for dstr. 2024-12-28 11:55:35 -05:00
ca4cf2cd68 Finished Unity test support.
Not really, it fails to build tests sometimes and I have no idea why.
2024-12-28 11:52:59 -05:00
e19fc8820a Added Unity in test. 2024-12-28 09:30:35 -05:00
63f5064ba9 Fixed some things, broke others. 2024-10-13 23:46:03 -04:00
8e8b6233d6 Added dynamic strings. They do not yet work. 2024-10-10 16:09:25 -04:00
77f40cf3c5 Changed things. 2024-10-07 11:48:53 -04:00
2008bab1f7 Fixed tests. 2024-10-05 09:35:33 -04:00
d244cfbfe1 Tests are slightly not. 2024-10-05 09:24:12 -04:00
53c303095d ...whoops. 2024-10-02 20:05:46 -04:00
ce25c5fe9f Beginnings of the lexer. 2024-10-02 17:57:04 -04:00
d95c134a54 Test and stuff.
Need to fix testing functions so that every assert is run in each
function of the registry.
2024-09-30 20:55:46 -04:00
32386ccf58 Here's another commit.
Got the Makefile working with tests properly.
2024-09-30 09:00:37 -04:00