@prism-lang/core
Version:
A programming language for uncertainty
41 lines (35 loc) • 935 B
text/typescript
// Core language exports
export * from './ast';
export * from './tokenizer';
export * from './parser';
export {
createRuntime,
Runtime,
RuntimeError,
Value,
NumberValue,
StringValue,
BooleanValue,
NullValue,
UndefinedValue,
ArrayValue,
ObjectValue,
FunctionValue,
ConfidenceValue,
Environment,
Interpreter
} from './runtime';
// Confidence system exports
export * from './confidence';
// Re-export the base ConfidenceValue as BaseConfidenceValue to avoid confusion
export { ConfidenceValue as BaseConfidenceValue } from './confidence/types';
// Context system exports
export * from './context';
// Main entry points for convenience
export { parse } from './parser';
// Helper functions
export * from './helpers';
// LLM types (to avoid hard dependency on @prism-lang/llm)
export * from './llm-types';
// Module system exports
export { ModuleSystem, Module, ModuleExports } from './module-system';