https://github.com/raulil/plorth
Embeddable Forth inspired scripting language
https://github.com/raulil/plorth
c-plus-plus forth interpreter plorth programming-language scripting-language
Last synced: 2 months ago
JSON representation
Embeddable Forth inspired scripting language
- Host: GitHub
- URL: https://github.com/raulil/plorth
- Owner: RauliL
- License: bsd-2-clause
- Created: 2016-10-17T12:43:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-08T18:13:12.000Z (over 6 years ago)
- Last Synced: 2025-03-27T18:13:37.041Z (3 months ago)
- Topics: c-plus-plus, forth, interpreter, plorth, programming-language, scripting-language
- Language: C++
- Homepage:
- Size: 2.67 MB
- Stars: 36
- Watchers: 5
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.][Documentation]
[Try Plorth in your browser.][REPL]
## 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.```bash
$ 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.[Forth]: https://www.forth.com
[Factor]: http://www.factorcode.org
[CMake]: https://www.cmake.org
[linenoise]: https://github.com/antirez/linenoise
[gtkmm]: https://gtkmm.org
[Documentation]: http://plorth.org
[REPL]: https://raulil.github.io/plorth-ide/
[Build Status]: https://travis-ci.org/RauliL/plorth.svg?branch=master