X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=blobdiff_plain;f=scheme.4th;h=0a237daf70801753b381cf6cf50f59a377f78232;hb=1a74d57182085535faef901d6940874bea3ad3c6;hp=7626be8f14da773387cdf2a3b821399ce2c157ef;hpb=aad554fc41d2b418e63b4320e8f793f28ffac6bf;p=scheme.forth.jl.git diff --git a/scheme.4th b/scheme.4th index 7626be8..0a237da 100644 --- a/scheme.4th +++ b/scheme.4th @@ -1433,6 +1433,15 @@ include scheme-primitives.4th again ; +:noname ( args -- finalResult ) + 2dup 1 ensure-arg-count + car string-type ensure-arg-type + + drop pair-type + pad charlist>cstr + pad swap load +; make-primitive load + \ }}} \ ---- REPL ---- @@ -1460,9 +1469,6 @@ include scheme-primitives.4th again ; -: test s" fact.scm" ; -test load 2drop - forth definitions \ vim:fdm=marker