## ENTRY TEST default erase # real decimal 1 -> stack size should be 1 -> stack should be 1 drop 2.345 -> stack should be 2.345 erase 1 2.345 3 4.9 -> stack size should be 4 -> stack should be 1, 2.345, 3, 4.9 # real hex erase 0x1234 0x10.10 -> stack should be 0x1.234p+12, 0x1.01p+4 # real hex (2) dec swap dec swap -> stack should be 4660, 16.0625 erase # real binary erase 0b11001100 -> stack should be 204 erase 0b11001100.1101 -> stack should be 204.8125 # real inf, nan erase inf @inf@ +inf +@inf@ -inf -@inf@ nan @nan@ -> stack should be inf, inf, inf, inf, -inf, -inf, nan, nan # symbol erase 'test' -> stack size should be 1 -> stack should be 'test' erase 'test -> stack size should be 1 -> stack should be 'test' erase '' -> stack size should be 1 -> stack should be '' # string erase "test string" -> stack size should be 1 -> stack should be "test string" erase "test string -> stack size should be 1 -> stack should be "test string" # program erase << 'one' >> -> stack size should be 1 -> stack should be << 'one' >> erase << 'one' 2 -> stack size should be 1 -> stack should be << 'one' 2 >> erase << -> n << n 2 + >> >> -> stack size should be 1 -> stack should be << -> n << n 2 + >> >>