BLisp
BLisp is a statically typed Lisp like programming language which adopts effect system for no_std environments. BLisp supports higher order RPC like higher order functions of functional programming languages.
This repository provides only a library crate. Please see blisp-repl to use BLisp, and baremetalisp which is a toy OS.
Homepage is here.
Features
- Algebraic data type
- Generics
- Hindley–Milner based type inference
- Effect system to separate side effects from pure functions
- Big integer
- Supporting no_std environments
How to Use
use blisp;
If Rust compiler or linker says warning of fmod, please add fmod manually as follows.
extern "C"
Cargo.toml
[]
= "0.4"
Examples
"Hello, World!" ; "Hello, World!"
; 48
; 12
; 803
; (Some 1)
; '(2 3)
; '(16 18 20)
; 45
; '(9 8 7 6 5 4 3 2 1)
; '(2 4 6 8)