Skip to main content

sim_lib_lang_cl/
lib.rs

1#![forbid(unsafe_code)]
2#![deny(missing_docs)]
3//! Common Lisp surface profile for the SIM runtime.
4//!
5//! The kernel defines the codec, eval-policy, and `Expr` contracts; this crate
6//! is a loadable language profile presenting a Common Lisp surface syntax over
7//! the shared `Expr` graph, not a standalone interpreter.
8
9mod codec;
10mod conformance;
11mod forms;
12mod matrix_row;
13mod profile;
14mod reader;
15mod runtime;
16mod symbols;
17
18pub use codec::{ClLiteReaderCodec, ClLiteReaderCodecLib};
19pub use conformance::{run_cl_lite_conformance_case, run_cl_lite_matrix_row};
20pub use forms::{ClLiteFormRole, ClLiteFormSpec, cl_lite_form_specs};
21pub use matrix_row::{cl_lite_matrix_row, cl_lite_source_cases};
22pub use profile::{cl_lite_profile, install_cl_lite_profile};
23pub use reader::{decode_cl_lite_tree, parse_cl_lite_source};
24pub use runtime::{
25    ClFunctionBody, ClGenericFunction, ClLiteControlScope, ClLiteRuntime, call_cl_value,
26    cl_lite_package,
27};
28pub use symbols::{
29    cl_binding_fidelity_symbol, cl_clos_mop_fidelity_symbol, cl_conformance_test_symbol,
30    cl_control_fidelity_symbol, cl_dispatch_fidelity_symbol, cl_lite_package_symbol,
31    cl_lite_profile_symbol, cl_lowering_symbol, cl_mutation_fidelity_symbol,
32    cl_namespace_fidelity_symbol, cl_reader_symbol,
33};
34
35#[cfg(test)]
36mod tests;