Category:Trith: Difference between revisions

From Rosetta Code
Content added Content deleted
(Added infobox and description.)
m (Expanded the language description.)
Line 14: Line 14:
{{language programming paradigm|Functional}}
{{language programming paradigm|Functional}}


'''Trith''' is an experimental [http://concatenative.org/wiki/view/Concatenative%20language concatenative] programming language founded on the unholy trinity of [[Forth]], [[Lisp]] and [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF] triples.
'''Trith''' is an experimental stack-based, [http://concatenative.org/wiki/view/Concatenative%20language concatenative] programming language by [[User:Arto Bendiken|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, meaning that Trith code can be straightforwardly represented externally either as S-expressions or as [http://linkeddata.org/ Linked Data] in the form of [http://en.wikipedia.org/wiki/Resource_Description_Framework 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.

Revision as of 18:11, 18 May 2010

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.


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, meaning 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.