Finished defer/is.
authorTim Vaughan <tgvaughan@gmail.com>
Wed, 6 Jul 2016 21:44:10 +0000 (23:44 +0200)
committerTim Vaughan <tgvaughan@gmail.com>
Wed, 6 Jul 2016 21:44:10 +0000 (23:44 +0200)
defer-is.4th
scheme.4th

index bf3225a..07f1342 100644 (file)
@@ -26,3 +26,10 @@ hide abort-defer
         ['] lit , , ['] defer! ,
     then
 ;
+
+: :noname
+    here current @ 1+ @ ,
+    current @ 1+ !
+    0 ,
+    here docol ,
+    [compile] ] ;
index 915edba..8c84378 100644 (file)
@@ -373,6 +373,9 @@ defer read
     boolean-type istype? if printbool exit then
     character-type istype? if printchar exit then
     nil-type istype? if printnil exit then
+
+    bold fg red ." Error printing expression - unrecognized type. Aborting" reset-term cr
+    abort
 ;
 
 \ ---- REPL ----