Skip to content

RauliL/plorth

Repository files navigation

Plorth Build Status

Plorth is stack based, concatenative, strongly typed functional scripting language which is easy to embed to applications written in C++. It's inspired by Forth and Factor programming languages.

Features:

  • Strong typing.
  • Supports JSON data types and syntax.
  • Garbage collected.
  • Prototype based OO, just like in JavaScript.

Browse documentation.

Try Plorth in your browser.

Compilation

C++11 capable compiler and CMake are required to compile Plorth interpreter. CLI interpreter depends on linenoise library, which is included in the repository as submodule and GUI interpreter depends on gtkmm library.

$ git submodule update --init
$ mkdir build
$ cd build
$ cmake ..
$ make

After the interpreter has been successfully compiled, you can run the plorth binary to start Plorth REPL.