25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- ( Forth testing harness
- "#" means "assert". We stop at first failure, indicating
- the failure through IO on port 1 )
-
- : fail SPC ." failed" LF 1 1 PC! BYE ;
-
- : # IF SPC ." pass" LF ELSE fail THEN ;
-
- : #eq 2DUP SWAP . SPC '=' EMIT SPC . '?' EMIT = # ;
|