1 unstable release

0.1.0 Jan 27, 2024

#1525 in Procedural macros


Used in common_risp

MIT license

17KB
377 lines

common_risp

GitHub license

Common RISP is a LISP language implementation that operates embedded in Rust code.

Get Started

The code below uses LISP format to calculate and print a numeric value.

fn main() {
    common_risp::compile!(
        (print 99)
        (print (+ 1 2 (* 3 4) 5))
    );
}

The execution result is as follows:

 Compiling common_risp v0.0.0 (/home/myyrakle/Codes/Rust/common_risp/common_risp)
    Finished dev [unoptimized + debuginfo] target(s) in 0.10s
     Running `target/debug/common_risp`
99
20

More Details

Please refer to the documentation for more details.

No runtime deps