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 YETI-16 fantasy computer and support for that is currently in progress
include "cores/select.cal" include "std/io.cal" "Hello, world!\n" printstr
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
This revision created on Sun, 2 Jun 2024 22:03:13 by yeti0904 (change examples to use new array system)