The Lambda Lab
/
projects
/
forth.jl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7ff8db
)
Added EOF word back in.
author
Tim Vaughan
<tgvaughan@gmail.com>
Sun, 2 Oct 2016 00:15:42 +0000
(13:15 +1300)
committer
Tim Vaughan
<tgvaughan@gmail.com>
Sun, 2 Oct 2016 00:15:42 +0000
(13:15 +1300)
src/forth.jl
patch
|
blob
|
history
diff --git
a/src/forth.jl
b/src/forth.jl
index
aa93c2d
..
5aa447d
100644
(file)
--- a/
src/forth.jl
+++ b/
src/forth.jl
@@
-1217,6
+1217,10
@@
BYE_CFA = defPrimWord("BYE", () -> begin
return 0
end)
+EOF_CFA = defPrimWord("\x04", () -> begin
+ return 0
+end)
+
#### VM loop ####
initialized = false