| Crates.io | common_risp |
| lib.rs | common_risp |
| version | 0.1.1 |
| created_at | 2024-01-21 17:04:20.017478+00 |
| updated_at | 2024-01-27 14:51:50.222047+00 |
| description | LISP |
| homepage | https://github.com/myyrakle/common_risp/blob/master/README.md |
| repository | https://github.com/myyrakle/common_risp |
| max_upload_size | |
| id | 1107738 |
| size | 12,045 |
Common RISP is a LISP language implementation that operates embedded in Rust code.
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
Please refer to the documentation for more details.