Concatenative topics
Concatenative meta
Other languages
Meta
Mirth is a strongly typed concatenative programming language inspired by Forth, Joy, Haskell, Lisp, and monoidal category theory. It is developed by typeswitch. For more details: https://github.com/mirth-lang/mirth
||| A simple hello world program to show off the mirth language. module(examples.hello-world) import(std.prelude) import(posix.posix) def(main, +World -- +World, "Hello, World!" put line)
module(tak.main) import(std.prelude) import(std.str) import(posix.posix) def(tak, Int Int Int -- Int, dup2 < if( dup3 1- tak dip(dup3 rotr 1- tak) dip2(rotl 1- tak) tak, drop2 ) ) def(main, +World -- +World, 7 4 8 tak show put line )
This revision created on Wed, 10 Apr 2024 20:09:53 by sierra (Update examples with new syntax)