Embeddable Forth inspired scripting language
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cli
docs
editor
examples
gui
libplorth
runtime
scripts
tests
webassembly
.editorconfig
.gitignore
.gitmodules
.travis.yml
CMakeLists.txt
Doxyfile
LICENSE
README.md
mkdocs.yml

README.md

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.