Concatenative language
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]] = Examples = == Hello World == [{ ||| A simple hello world program to show off the mirth language. module examples.hello-world import std.prelude import std.world def main { "Hello, world!" print } }] == [[Tak function|Tak Benchmark Function]] == [{ 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 print } }]
Describe this revision:
Save