EngineConfig
Defined in: packages/engine/src/constants/Configuration.ts:229
Complete engine configuration.
Every field has a default in DEFAULT_CONFIG. To customize, pass a
Partial<EngineConfig> when constructing ExpressionEngine. Only the
sections/fields you supply are overridden; all others use their defaults.
Example
Section titled “Example”import { ExpressionEngine } from "solve-js";
const engine = new ExpressionEngine("en", false, { validation: { maxExpressionLength: 1000, maxComplexity: 200, }, // date, performance, vm, worker, diagnostic all use defaults});Properties
Section titled “Properties”readonly date: DateConfig;Defined in: packages/engine/src/constants/Configuration.ts:231
Date/time expression evaluation bounds and formatting
diagnostic
Section titled “diagnostic”readonly diagnostic: DiagnosticConfig;Defined in: packages/engine/src/constants/Configuration.ts:241
Diagnostic pipeline configuration
performance
Section titled “performance”readonly performance: PerformanceConfig;Defined in: packages/engine/src/constants/Configuration.ts:233
Performance budgets and cache sizing
validation
Section titled “validation”readonly validation: ValidationConfig;Defined in: packages/engine/src/constants/Configuration.ts:235
Safety limits for expression complexity
readonly vm: VMConfig;Defined in: packages/engine/src/constants/Configuration.ts:237
Internal bytecode VM configuration
worker
Section titled “worker”readonly worker: WorkerConfig;Defined in: packages/engine/src/constants/Configuration.ts:239
Parallel worker pool configuration