You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
688 B
Markdown

4 months ago
# forspll
forspll is an implementation of [Forsp](https://xorvoid.com/forsp.html) as an LLVM-based compiler. Forsp is a tiny yet very versatile programming language that mixes features of Forth and Lisp. Through LLVM, Forsp can be compiled into efficient machine code for a wide array of platforms.
4 months ago
forspll features:
* Lisp-style S-expression syntax
* Forth-style data stack for parameters/values
* Linking with C functions (see `support.c`)
Missing features:
* Quote operator: `quote`/`'`
* Lists and atoms or any dynamic allocations
## Building
Requires Clang and LLVM development files.
Run `make` to build the compiler.
Run `make prog` to compile `test.fp` and `support.c`.
4 months ago