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 implements Display and FromStr for Datum, Operation,
Operand, Instruction, and Program types. Additionally, tests are
added for the new routines. This change was implemented in furtherance
of a command line assembler and disassembler, as well as for the
implementation of a debugger.
This commit adds logic to serialize and deserialize datum, as well
as the start of some total binary format. It implements serialize
and deserialize routines per datum type. Tests are included for
comples cases. Similar code existed in the organelle package which was
then centralized here.
Additionally: this commit makes release target binaries smaller and
faster
Signed-off-by: Ava Affine <ava@sunnypup.io>