Hyphae: add assembler and disassembler
Some checks failed
per-push tests / timed-decomposer-parse (push) Blocked by required conditions
per-push tests / test-backend (push) Blocked by required conditions
per-push tests / build (push) Successful in 1m50s
per-push tests / test-utility (push) Has been cancelled
per-push tests / test-frontend (push) Has been cancelled

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 ad39e26945
5 changed files with 185 additions and 24 deletions

View file

@ -3,9 +3,28 @@ name = "hyphae"
version = "0.1.0"
edition = "2024"
[lib]
name = "hyphae"
crate-type = ["lib"]
path = "src/lib.rs"
[[bin]]
name = "hphc"
path = "src/bin/hphc.rs"
required-features = ["cli"]
[[bin]]
name = "hphdump"
path = "src/bin/hphdump.rs"
required-features = ["cli"]
[features]
cli = ["clap"]
[dependencies]
organelle = { path = "../organelle" }
num = { version = "0.4.3", features = ["alloc"] }
clap = { version = "4.5.53", features = ["derive"], optional = true }
[build-dependencies]
serde = { version = "1.0", features = ["alloc", "derive"] }