bugs
parent
1a52c496a8
commit
8251d788f1
|
@ -190,7 +190,8 @@ SYMBOL: last-quot
|
||||||
= [ "problem in math" throw ] unless ;
|
= [ "problem in math" throw ] unless ;
|
||||||
|
|
||||||
: interp-compile-check-1 ( x quot -- )
|
: interp-compile-check-1 ( x quot -- )
|
||||||
dup . flush
|
.s flush
|
||||||
|
! dup . flush
|
||||||
[ last-quot set ] keep
|
[ last-quot set ] keep
|
||||||
[ call ] 2keep compile-1
|
[ call ] 2keep compile-1
|
||||||
2dup swap unparse write " " write unparse print
|
2dup swap unparse write " " write unparse print
|
||||||
|
@ -392,6 +393,10 @@ SYMBOL: last-quot
|
||||||
random-number , \ dup , \ float? , float>x nth-rand unit , \ when ,
|
random-number , \ dup , \ float? , float>x nth-rand unit , \ when ,
|
||||||
] [ ] make interp-compile-check ;
|
] [ ] make interp-compile-check ;
|
||||||
|
|
||||||
|
: test-float?-when-1
|
||||||
|
random-float [
|
||||||
|
\ dup , \ float? , float>x nth-rand unit , \ when ,
|
||||||
|
] [ ] make interp-compile-check-1 ;
|
||||||
|
|
||||||
|
|
||||||
: stack-identity-0
|
: stack-identity-0
|
||||||
|
|
Loading…
Reference in New Issue