From: Tim Vaughan Date: Sun, 2 Oct 2016 00:15:42 +0000 (+1300) Subject: Added EOF word back in. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=ae5336895f9d6770eed164d140c628556f3f8457;p=forth.jl.git Added EOF word back in. --- diff --git a/src/forth.jl b/src/forth.jl index aa93c2d..5aa447d 100644 --- 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