Kayne Ruse
e35af3d84b
Fixed buffer overflow, bytecode is WIP
2024-09-19 19:06:49 +10:00
Kayne Ruse
083ee950dd
WIP bytecode and routine, read more
...
The tests are failing in a strange way, with the error message 'corrupted top size'. I don't know what it means, and it seems to be caused by a call to printf() within 'test_bytecode.c'. I need a break, as this is making me dizzy.
2024-09-19 12:45:35 +10:00
Kayne Ruse
47ac1c5b30
Removed Toy_AstGroup generation, as it isn't needed
2024-09-14 12:09:02 +10:00
Kayne Ruse
898b8efc04
Implemented tests for Toy_Parser
...
The parser now correctly produces a workable AST. I think I'll skip
over the optimizer, and begin on the compiler next session. The
optimizer will act directly on the AST, but it isn't totally necessary.
Other tools can also operate on the AST, such as for debugging - I'll
have to ask what kinds are out there.
2024-09-13 18:08:52 +10:00
Kayne Ruse
b00a6838be
Wrote Toy_Parser with minimal features, tests missing
...
It's too late at night, so I'm packing this up with only a dummy warning
message for the tests. I'll keep going tomorrow, hopefully.
2024-09-12 20:53:34 +10:00
Kayne Ruse
eca3350c64
Tweaked platform support, disabled some tests based on platform
2024-09-10 21:08:05 +10:00
Kayne Ruse
5fd933a15e
Implemented AST, ensured bucket memory worked
2024-09-10 20:25:01 +10:00
Kayne Ruse
81417e7f32
Implemented bucket memory structure for custom allocators
2024-09-07 19:47:02 +10:00
Kayne Ruse
023cf9c8b5
Wrote bytecode-format.txt
...
It's annoying that I can only work for two hours at a time
2024-08-31 21:27:50 +10:00
Kayne Ruse
65087b18bd
Wrote SECD-concept.txt, probably overdid it
2024-08-30 20:25:36 +10:00
Kayne Ruse
e65555ca8a
Added notes about opcodes
2024-08-29 20:08:59 +10:00
Kayne Ruse
0ed676d79b
Added windows-latest build to CI
2024-08-13 23:55:58 +10:00
Kayne Ruse
e6ad46f1ff
Wrote value, chunk, memory sections, tested value
...
chunk and memory remain untested for now
2024-08-13 23:42:14 +10:00
Kayne Ruse
190294e5d9
Rename continuous integration-v2.yml to continuous-integration-v2.yml
2024-08-11 21:28:08 +10:00
Kayne Ruse
2370d5dc83
Fixed CI
2024-08-11 21:12:35 +10:00
Kayne Ruse
a912b6a29c
Added lexer, implemented tests build system
2024-08-11 20:15:09 +10:00
Kayne Ruse
82f63013d8
Squashed commit of the following:
...
commit 633500eeaf72e7e5aed90f3eb071f56d93e129eb
Author: Kayne Ruse <kayneruse@gmail.com >
Date: Fri Aug 9 23:16:55 2024 +1000
Please work...
commit 4b524a27fd1fe11e02206853b84bdfb349be5bf9
Author: Kayne Ruse <kayneruse@gmail.com >
Date: Fri Aug 9 22:57:07 2024 +1000
This is starting to get annoying.
commit 5e16a87f6cef7ca9eb536bcc172fd4a184c20124
Author: Kayne Ruse <kayneruse@gmail.com >
Date: Fri Aug 9 22:38:31 2024 +1000
Fixed workflow file
Used this: https://rhysd.github.io/actionlint/
commit 7fd6dd610ee3e9327350859b047b0c4792e74f19
Author: Kayne Ruse <kayneruse@gmail.com >
Date: Fri Aug 9 22:30:50 2024 +1000
Let's try again
commit d83b42a894929f926ba5bf94dee8a2a495a4db86
Author: Kayne Ruse <kayneruse@gmail.com >
Date: Fri Aug 9 22:27:36 2024 +1000
Reworked the CI
Also checked over the new code.
2024-08-09 23:22:54 +10:00
Ratstail91
0b8bf4119f
Added lists of tokens and keywords, ready for use
2024-05-20 02:35:19 +10:00
Ratstail91
607dc2c22a
Added tests-full workflow as a placeholder
...
This is mainly so github stops emailing me when I push to dev
2024-05-19 12:53:15 +10:00
Ratstail91
fbcb2e0331
Began picking through the old logic
2024-05-19 04:26:15 +10:00
Ratstail91
361fa78ffb
Initial outline of non-code files
2024-05-19 03:50:57 +10:00