pub fn install_islisp_profile(
cx: &mut Cx,
registry: &mut ProfileRegistry,
) -> Result<LanguageProfile>Expand description
Installs the ISLISP profile and its dispatch-organ claims into a registry.
First-reach entry point: registers islisp_profile through the standard
profile installer so the surface becomes loadable.
ยงExamples
use std::sync::Arc;
use sim_kernel::{Cx, DefaultFactory, NoopEvalPolicy};
use sim_lib_standard_core::ProfileRegistry;
use sim_lib_lang_islisp::install_islisp_profile;
let mut cx = Cx::new(Arc::new(NoopEvalPolicy), Arc::new(DefaultFactory));
let mut registry = ProfileRegistry::new();
let profile = install_islisp_profile(&mut cx, &mut registry).unwrap();
assert!(
profile
.organs
.iter()
.any(|organ| organ.organ == sim_lib_dispatch::dispatch_organ_symbol())
);