3 ms·
Looks like forth (uses stack instead of pipes though). The first line will define add10 (which is assumed to exist in your example already, but I wanted to show
by drivers99 6y ago
Looks like forth (uses stack instead of pipes though).
The first line will define add10 (which is assumed to exist in your example already, but I wanted to show how easy it was to create). 123 puts 123 on the stack. add10 adds ten to the number on the stack. "." prints (and removes) the top of the stack. Don't have to convert it to a string in this case.
: add10 10 +
123 add10 .