umx_asm

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

commit 30df3ee192e18155f463c494673a26308eea9dda
parent f9f92d53b9fd7f4d49a15a860532358e607c4438
Author: bsandro <email@bsandro.tech>
Date:   Thu,  7 Jul 2022 23:38:54 +0300

README update

Diffstat:
MREADME | 8++++++++
Msample.ums | 2--
2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/README b/README @@ -2,4 +2,12 @@ UMX bytecode assembler/compiler. Pure Go, doesn't have any external dependencies. See https://bsandro.tech/git/umx repository for the C99 VM. +Tips: +To see debug data on compilation enable DEBUG environment variable: +DEBUG=1 ./umx_asm sample.ums + +To view/validate compiled bytecode: +xxd -b -g4 -c 4 sample.um + + BSD 2-clause license because apparently all code should have something of sorts. diff --git a/sample.ums b/sample.ums @@ -70,7 +70,5 @@ outp 2 ; '\n' aban 1 ; free array from #1 inp 2 ; read symbol from standard input outp 2 ; mirror whatever was read -inp 2 -outp 2 halt