eclisp-0.1.2 has been yanked.
Embeddable Common Lisp Bindings
Safe bindings for the ECL project.
Example
use ;
Safe bindings for the ECL project.
use eclisp::{Lisp, LispError};
fn main() -> Result<(), LispError> {
let lisp = Lisp::new()?;
let value = lisp.eval("(+ 1 2)")?;
println!("Result of (+ 1 2): {:?}", value.try_as_i64());
lisp.eval("(defun double (n) (* n 2))")?;
let doubled = lisp.call("double", &[&lisp.int(3)?])?;
println!("3 doubled = {}", doubled);
Ok(())
}