aboutsummaryrefslogtreecommitdiffstats
path: root/bytecode
AgeCommit message (Collapse)AuthorFilesLines
2022-08-27Fix a bug in how offsets are calculated.Rose Hogenson1-3/+4
2022-08-27Implement multiple return values.Rose Hogenson3-3/+33
2022-08-22Add a few primitive list operations.Rose Hogenson2-0/+42
2022-08-22Simplify the heap.Rose Hogenson2-67/+68
Garbage collection is no longer recursive, heap takes an offset explicitly, and we use the vector length to store the free pointer.
2022-08-22Allow 0-length allocs.Rose Hogenson1-3/+7
2022-08-07Misc test fixup in the compiler.Rose Hogenson1-0/+5
2022-08-07Fix an infinite loop in the garbage collector.Rose Hogenson1-15/+13
2022-08-07Add int<? and eq?.Rose Hogenson2-2/+32
2022-08-01Rename the compiler in bytecode.rs.Rose Hogenson1-2/+2
2022-07-30Add typeof to encoding.rs.Rose Hogenson1-0/+9
2022-07-30Add the typeof opcode.Rose Hogenson2-0/+91
2022-07-30Move Cargo.nix to default.nix.Rose Hogenson1-0/+0
2022-07-30Write more tests for decode.Rose Hogenson1-15/+261
2022-07-29Fix the bytecode interpreter.Rose Hogenson8-796/+1169
I'm too scared to actually try to run it right now.
2022-07-25Document the plan for symbols.Rose Hogenson1-5/+5
2022-06-30Remove unsafe code.Rose Hogenson1-57/+48
I'm partially doing it because I'm not sure if what I had was really safe, but also it just looks much cleaner this way.
2022-03-03Start the garbage collector.Rose Hogenson7-77/+561
I don't think we finished it, but I wrote this code a while ago and I'm just trying to get it committed.
2022-01-09Initial commit.Rose Hogenson7-0/+879
Not sure if everything here will be needed eventually, but we have a working bytecode interpreter. Next I will write the linker, then the core compiler, and finish with the macro expander.