umx_asm

UMX virtual machine assembly compiler
git clone git://bsandro.tech/umx_asm
Log | Files | Refs | README | LICENSE

commit 1baa0491eb744e9eb8f87a59a5f960a3201c1a1a
parent 38b4343f7db8f520f32a873e37587a592a00de46
Author: bsandro <email@bsandro.tech>
Date:   Thu, 14 Jul 2022 02:47:25 +0300

Updated README

Diffstat:
M.gitignore | 1+
MREADME | 7+++++--
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,2 +1,3 @@ cmd/umas/umas* +umas* *.um diff --git a/README b/README @@ -2,12 +2,15 @@ UMX bytecode assembler/compiler. Pure Go, doesn't have any external dependencies. See https://bsandro.tech/git/umx repository for the C99 VM. +How to build: +$ go build ./cmd/umas + Tips: To see debug data on compilation enable DEBUG environment variable: -DEBUG=1 ./umx_asm sample.ums +$ DEBUG=1 ./umas sample.ums To view/validate compiled bytecode: -xxd -b -g4 -c 4 sample.um +$ xxd -b -g4 -c 4 sample.um BSD 2-clause license because apparently all code should have something of sorts.