projects
/
vvhitespace
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reworked the test suite so I can create tests for the stdlib.
[vvhitespace]
/
examples
/
hello-stdlib
/
hello.pvvs
diff --git
a/examples/hello-stdlib/hello.pvvs
b/examples/hello-stdlib/hello.pvvs
index
a70ebff
..
507437e
100644
(file)
--- a/
examples/hello-stdlib/hello.pvvs
+++ b/
examples/hello-stdlib/hello.pvvs
@@
-1,8
+1,8
@@
@@ This program outputs "Hello, world!"
A"Hello, world!\n"
@@ This program outputs "Hello, world!"
A"Hello, world!\n"
-@TODO: Change this to printf call
-NSTTSSS
TSSN | FC: JSR>1000100 (print string from stack
; see stdlib)
+SSSSN | ST: PUSH 0
+NSTTSSS
N | FC: JSR>1000 (printf
; see stdlib)
NNN | FC: Terminate program
NNN | FC: Terminate program
-#include
"stdio.pvvs"
+#include
<stdio.pvvs>