Category:Trith

From Rosetta Code
Language
Trith
This programming language may be used to instruct a computer to perform a task.
Official website
Execution method: Interpreted
Garbage collected: Yes
Parameter passing methods: By value
Type safety: Safe
Type strength: Strong
Type compatibility: Duck
Type expression: Implicit
Type checking: Dynamic
Typing: Untyped
Lang tag(s): trith
See Also:
Listed below are all of the tasks on Rosetta Code which have been solved using Trith.
Your Help Needed
If you know Trith, please write code for some of the tasks not implemented in Trith.

Trith is an experimental stack-based, concatenative programming language by Arto Bendiken. It is dynamically typed and has a homoiconic program representation. The implementation currently consists of a virtual machine, interpreter, and compiler toolchain written in Ruby and an in-the-works runtime targeting the JVM.

Trith programs are simply nested lists of operators and operands, with the operators identified by URIs. This means that Trith code can be straightforwardly represented externally either as S-expressions or as Linked Data in the form of RDF triples.

Trith is inspired and influenced by the author's experience with Forth, Lisp and Scheme in general, and the concatenative languages Joy, XY, Factor and Cat in particular.