The Lambda Lab
/
projects
/
scheme.forth.jl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95c071f
)
Finished defer/is.
author
Tim Vaughan
<tgvaughan@gmail.com>
Wed, 6 Jul 2016 21:44:10 +0000
(23:44 +0200)
committer
Tim Vaughan
<tgvaughan@gmail.com>
Wed, 6 Jul 2016 21:44:10 +0000
(23:44 +0200)
defer-is.4th
patch
|
blob
|
history
scheme.4th
patch
|
blob
|
history
diff --git
a/defer-is.4th
b/defer-is.4th
index
bf3225a
..
07f1342
100644
(file)
--- a/
defer-is.4th
+++ b/
defer-is.4th
@@
-26,3
+26,10
@@
hide abort-defer
['] lit , , ['] defer! ,
then
;
+
+: :noname
+ here current @ 1+ @ ,
+ current @ 1+ !
+ 0 ,
+ here docol ,
+ [compile] ] ;
diff --git
a/scheme.4th
b/scheme.4th
index
915edba
..
8c84378
100644
(file)
--- a/
scheme.4th
+++ b/
scheme.4th
@@
-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 ----