sema-core
Core types and environment for the Sema programming language.
This crate provides the foundational types used across all Sema crates:
Value— the core value enum (Int, Float, String, List, Map, Lambda, etc.)Env— lexical environment withRc<RefCell<HashMap>>scope chainsSemaError— error type witheval(),type_error(), andarity()constructorsSandbox/Caps— capability-based sandboxing for restricting script permissionsintern()/resolve()— thread-local string interner for keywords and symbols
Usage
This is an internal crate. If you want to embed Sema in your application, use sema-lang instead:
[]
= "1.6"