Hyphae: add assembler and disassembler
All checks were successful
per-push tests / build (push) Successful in 1m38s
per-push tests / test-utility (push) Successful in 42s
per-push tests / test-frontend (push) Successful in 42s
per-push tests / test-backend (push) Successful in 49s
per-push tests / timed-decomposer-parse (push) Successful in 47s

This commit adds hyphae binaries for an assembler and a disassembler
As well as some fixes for observed misbehavior during manual
verification.

The new binaries are hphc for compiling assmbly files and hphdump for
inspecting compiled hyphae binary.

Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
Ava Apples Affine 2025-12-15 18:28:28 +00:00
parent 141ba43362
commit 3af5997a15
6 changed files with 189 additions and 28 deletions

View file

@ -18,10 +18,10 @@ in about 55 milliseconds on average.
HyphaeVM is mostly implemented. The instruction set is defined and implemented,
including extensibility interfaces and the VM layout. Additionally, instruction
encoding and decoding are implemented. Garbage collection is implemented (via
reference counting). Currently being implemented are datum encoding/decoding and
full program encoding/decoding. Yet to be approached are debugging routines, CLI
utilities, and concurrency features. However, Documentation has been written on
programming with HyphaeVM.
reference counting). Datum encoding/decoding and full program encoding/decoding
are also implemented. A live debugger is currently in the works. Concurrency
features have yet to be approached. However, some documentation has been written
on programming with HyphaeVM.
The R7RS-Small Scheme to HyphaeVM compiler is not implemented.