$(VVS_COMPILER) -i temp.pvvs -o hello.vvs
@rm -f temp.pvvs
-run:
+run: hello
$(VVS_INTERPRETER) -i hello.vvs
clean:
@@ This program outputs "Hello, world!"
SSSSN | ST: Push +0 (ASCII '\0')
+SSSTSTSN | ST: Push +10 (ASCII '\n')
SSSTSSSSTN | ST: Push +33 (ASCII !)
SSSTTSSTSSN | ST: Push +100 (ASCII d)
SSSTTSTTSSN | ST: Push +108 (ASCII l)
hello:
$(VVS_COMPILER) -i hello.pvvs -o hello.vvs
-run:
+run: hello
$(VVS_INTERPRETER) -i hello.vvs
clean:
TNSS | IO: Output character
SSSTSSSSTN | ST: Push +33 (ASCII !)
TNSS | IO: Output character
+SSSTSTSN | ST: Push +10 (ASCII '\n')
+TNSS | IO: Output character
NNN | FC: Terminate program