An open API service indexing awesome lists of open source software.

https://github.com/benwebber/ferth

A safe, native-sized Forth.
https://github.com/benwebber/ferth

Last synced: 7 days ago
JSON representation

A safe, native-sized Forth.

Awesome Lists containing this project

README

          

# ferth
[![CI](https://github.com/benwebber/ferth/actions/workflows/ci.yml/badge.svg)](https://github.com/benwebber/ferth/actions/workflows/ci.yml)
[![Crates.io Version](https://img.shields.io/crates/v/ferth)](https://crates.io/crates/ferth/)
[![docs.rs](https://img.shields.io/docsrs/ferth)](https://docs.rs/ferth/)

A safe, native-sized Forth.

Ferth is a [Forth-2012 standard system](https://forth-standard.org/standard/label).
This project provides both the `ferth` crate and the `ferth` command-line interpreter.

## Highlights

* Zero-dependency, `no_std` core
* Safe by default
* Native cell width (32- or 64-bit integers)
* Configurable memory and stack sizes
* Tail-call optimization

## Install

Download a pre-built binary of the [latest release](https://github.com/benwebber/ferth/releases/latest) for your system.

Or install with Cargo:

```
cargo install ferth --features repl
```

## Usage

```
ferth [-m MEMORY] [-d STACK_CELLS] [-r RETURN_STACK_CELLS] [FILE]
```

## Licence

MIT