Concatenative language
Concatenative topics
Concatenative meta
Other languages
Meta
Callisto is a concatenative, compiled programming language inspired by Forth Its goal is to be easy to implement while being easy to use It was made to run on the [[https://github.com/yeti0904/YETI-16|YETI-16 fantasy computer]] and support for that is currently in progress == Example programs == === Hello world === [{include "cores/select.cal" include "std/io.cal" "Hello, world!\n" printlstr }] === Tak function === [{include "cores/select.cal" include "std/io.cal" func tak begin let cell x let cell y let cell z z ! y ! x ! if y @ x @ < then x @ 1 - y @ z @ tak y @ 1 - z @ x @ tak z @ 1 - x @ y @ tak tak return else z @ return end end 7 4 8 tak printdec 10 printch}]
Describe this revision:
Save