2017-05-02 10:55:12 +02:00
|
|
|
## GENERAL
|
2017-06-16 23:44:48 +02:00
|
|
|
default erase
|
2017-05-02 10:55:12 +02:00
|
|
|
|
|
|
|
# version
|
|
|
|
version
|
2017-05-13 12:08:41 +02:00
|
|
|
-> stack size should be 1
|
2017-06-16 23:44:48 +02:00
|
|
|
erase
|
2017-05-02 10:55:12 +02:00
|
|
|
|
|
|
|
uname
|
2017-06-16 23:44:48 +02:00
|
|
|
-> stack size should be 1
|
2017-05-02 10:55:12 +02:00
|
|
|
erase
|
|
|
|
|
2017-06-16 23:44:48 +02:00
|
|
|
# type (1)
|
|
|
|
1 type
|
2017-05-12 17:27:40 +02:00
|
|
|
-> stack should be 1, 'number'
|
|
|
|
erase
|
2017-05-02 10:55:12 +02:00
|
|
|
|
2017-06-16 23:44:48 +02:00
|
|
|
# type (2)
|
|
|
|
"hey" type
|
2017-05-12 17:27:40 +02:00
|
|
|
-> stack should be "hey", 'string'
|
|
|
|
erase
|
2017-05-02 10:55:12 +02:00
|
|
|
|
2017-06-16 23:44:48 +02:00
|
|
|
# type (3)
|
|
|
|
<< -> n << n >> >> type
|
2017-05-28 22:52:10 +02:00
|
|
|
-> stack should be << -> n << n >> >>, 'program'
|
2017-05-12 17:27:40 +02:00
|
|
|
erase
|
2017-05-13 12:08:41 +02:00
|
|
|
|
2017-06-16 23:44:48 +02:00
|
|
|
# type (4)
|
|
|
|
(1,2) type
|
|
|
|
-> stack should be (1,2)), 'complex'
|
|
|
|
erase
|
|
|
|
|
2017-05-13 12:08:41 +02:00
|
|
|
# default
|
2017-06-16 23:44:48 +02:00
|
|
|
2 sci 1
|
2017-05-13 12:08:41 +02:00
|
|
|
-> stack should be 1.00e+00
|
|
|
|
default
|
|
|
|
-> stack should be 1
|
|
|
|
erase
|
2017-05-31 09:54:41 +02:00
|
|
|
|
|
|
|
# nop
|
|
|
|
nop
|
|
|
|
-> stack size should be 0
|
|
|
|
-> error should be 0
|
2017-06-16 23:44:48 +02:00
|
|
|
erase
|