Source

Forth interpreter / ANSForth / forth.out

Full commit
3  ok
 ok
-294967296  ok
4000000000  ok
8589934592000000000  ok
0 1000  ok
18446744073709551615  ok
 ok
9  ok
3  ok
4  ok
 ok
5  ok
56  ok
3  ok
5  ok
208  ok
120  ok
3  ok
5 2  ok
 ok
5 ones and 2 quarters ok
1 2  ok
3  ok
49  ok
24  ok
10  ok
1  ok
1 2  ok
14  ok
1  ok
4 6 5  ok
1  ok
   
  ok
* ok
 ok
 ok
dummy ?
quarters ?
5  ok
 ok
beginning ?
comment-test ?
13  ok
 ok
4  ok
 ok
zero denominator
 ok
 ok
It's full  ok
 ok
Danger -- reduce heat ok
 ok
 ok
medium  ok
extra large  ok
reject  ok
small  ok
large  ok
error  ok
 ok
zero  ok
non-zero  ok
non-zero  ok
 ok
Looks good  ok
No way  ok
No way  ok
Looks good  ok
10 2  ok
400000000  ok
 ok
17  ok
 ok
48  ok
 ok
4 3 2 1  ok
 ok
48  ok
 ok
2 49  ok
1  ok
 ok
3 zero denominator
Stack underflow
zero ok
 ok
0 1 2 3 4 5 6  ok
 ok
5 4 3 2 1  ok
 ok
Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello  ok
 ok
0 4  ok
0  ok
 ok
4 2 0 -2  ok
4 2  ok
 ok
7 14 21 28 35 42 49 56 63 70  ok
 ok
 ok
Year 1    Balance 1060 
Year 2    Balance 1123 
Year 3    Balance 1190 
Year 4    Balance 1261 
Year 5    Balance 1336 
 ok
 ok

****
****
****
**** ok

1 Little 2 Little 3 Little indians 
4 Little 5 Little 6 Little indians 
7 Little 8 Little 9 Little indians 
10 Little indian boys.  ok
 ok
1 2 3 4 5 6 7 8 9 10 
2 4 6 8 10 12 14 16 18 20 
3 6 9 12 15 18 21 24 27 30 
4 8 12 16 20 24 28 32 36 40 
5 10 15 20 25 30 35 40 45 50 
 ok
 ok
10 7 4 1 -2 -5 -8  ok
 ok
1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384  ok
 ok
Year 1    Balance 1100 
Year 2    Balance 1210 
Year 3    Balance 1331 
Year 4    Balance 1464 
Year 5    Balance 1610 
 ok
Year 1    Balance 1200 
Year 2    Balance 1440 
Year 3    Balance 1728 
Year 4    Balance 2073 
More than doubled in 4 years  ok
1 2  ok
 ok
 ok
 ok
1 1   1 2   1 3 
2 1   2 2   2 3 
 ok
 ok
 ok
Found a prime - 37  ok
No prime found  ok
Found a prime - 1009  ok
10 3 1  ok
-1 0  ok
?do ?