#scheme #scheme-interpreter #interpreter #eval #rust

bin+lib scheme4r

Scheme interpreter for rust

1 unstable release

0.1.0 Dec 8, 2022

#29 in #eval

MIT license

57KB
1.5K SLoC

scheme4r

feature

  • Scheme for rust
  • Impl R7RS
  • No keyword can be customized to overwrite

Basic types

  • Numbers
  • Booleans
  • Pairs and lists
  • Symbols
  • Characters
  • Strings
  • Vectors
  • Bytevectors
  • Procedures
  • Records
  • Ports

use

  • Support cmd and api , can embeddable api
use scheme::eval;
let v = eval("(+ 1 2 3)");
println!("{}",v);

console

6

learn docs

No runtime deps