3 ms·
You can change the value of any constant in FORTH, using something like: : 4 9 ; ... whereupon '4' will push the value '9' on the stack instead. FORTH is an
by kabdib 16y ago
You can change the value of any constant in FORTH, using something like:
: 4 9 ;
... whereupon '4' will push the value '9' on the stack instead.
FORTH is an interesting language that I would recommend everyone learn, and that I would never use in any production system. (Yes, I know about Open Boot).
- eru 16y agoForth is a nice language, and seems appropriate where other low level languages are, like C. (My day job involves Haskell though.)
- technomancy 16y agoDoes this count? (Ruby FWIW) class Fixnum; def ==(o); true end end; 4 == 5 # => true