22 releases
0.1.23 | Nov 17, 2023 |
---|---|
0.1.22 | Sep 29, 2023 |
0.1.17 | Aug 27, 2023 |
#27 in #esoteric
133 downloads per month
350KB
8K
SLoC
fift
Status: WIP
About
Rust implementation of the Fift esoteric language.
Installation
Compile from source:
curl https://sh.rustup.rs -sSf | sh
cargo install --locked fift-cli
Or install as a binary:
curl -fsSL https://fift.rs/install | bash
Usage
Usage: fift [<source_files...>] [-n] [-i] [-I <include>] [-L <lib>]
A simple Fift interpreter. Type `bye` to quie, or `words` to get a list of all commands
Positional Arguments:
source_files a list of source files to execute (stdin will be used if
empty)
Options:
-n, --bare do not preload standard preamble file `Fift.fif`
-i, --interactive force interactive mode even if explicit source file names
are indicated
-I, --include sets color-separated library source include path. If not
indicated, $FIFTPATH is used instead
-L, --lib sets an explicit path to the library source file. If not
indicated, a default one will be used
--help display usage information
-v, --version print version information and exit
-s script mode: use first argument as a fift source file and
import remaining arguments as $n
Contributing
We welcome contributions to the project! If you notice any issues or errors, feel free to open an issue or submit a pull request.
License
-
The
fift
andfift-proc
library crates are licensed under either of- Apache License, Version 2.0 (/LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (/LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
-
The
fift-cli
andfift-libs
crates are licensed under- GNU Lesser General Public License v2.1 (/cli/LICENSE or https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html)
Dependencies
~10–19MB
~286K SLoC