19 ms·
Cool language. One modest suggestion: perhaps return 0 rather than 1. Feature request: addition and division as well as subtraction and multiplication ;)
by diffxx 2y ago
Cool language. One modest suggestion: perhaps return 0 rather than 1. Feature request: addition and division as well as subtraction and multiplication ;)
- xorvoid 2y agoAddition can be implemented as: (0 swap - -) $+ Division is much harder, but doable also. Generally Forsp in the camp of minimalist languages so minimizing the number of primitives seemed more interesting. If you want to play around yourself, it’s trivial to add those operations.
- bowsamic 2y ago> Division is much harder, but doable also. > If you want to play around yourself, it’s trivial to add those operations. Now you're using "trivial" like a mathematics professor!
- xorvoid 2y agoHa. Well I meant “add those operations to the C interpreter”, which would be like 4 lines of code.