drop swap drop f> boolean-type
; 2 make-fa-primitive flo:>
+:noname ( flonum flonum -- bool )
+ drop swap drop f<= boolean-type
+; 2 make-fa-primitive flo:<=
+
+:noname ( flonum flonum -- bool )
+ drop swap drop f>= boolean-type
+; 2 make-fa-primitive flo:>=
:noname ( flonum -- bool )
drop 0.0 = boolean-type
;
:noname
- \ ." GC! "
+ ." GC! "
+
+ trace
gc-unmark
gc-sweep
- \ ." (" gc-count-marked . ." pairs marked as used.)" cr
+ ." (" gc-count-marked . ." pairs marked as used.)" cr
; is collect-garbage
\ }}}
ok-symbol ( port res )
begin
+ \ DEBUG
+ bold fg blue ." READ from " 2over drop . ." ==> " reset-term
+
2over read-port ( port res obj )
+ \ DEBUG
+ 2dup print cr
+
2dup EOF character-type objeq? if
2drop 2swap close-port
exit
enable-gc
\ Display welcome message
- welcome-symbol nil cons global-env obj@ eval 2drop
+ \ welcome-symbol nil cons global-env obj@ eval 2drop
begin
['] repl-body catch