Class: Sumi::Executor
- Inherits:
-
Object
- Object
- Sumi::Executor
- Defined in:
- toplevel/lib/sumi/executor.rb,
toplevel/lib/sumi/executor/error.rb,
toplevel/lib/sumi/executor/scope.rb,
toplevel/lib/sumi/executor/result.rb,
toplevel/lib/sumi/executor/source.rb
Overview
Internal Sumi script runtime and namespace for public execution result types.
The executor is used by script mode and by the Load DSL word to preserve a
useful load stack while keeping DSL methods out of the caller's global object
whenever possible. Active scope stacks are isolated per Ruby fiber, so
concurrent executions can perform nested Load calls without sharing scope
state. The host owns process signal handlers. Execution captures an Interrupt
only when Ruby delivers it inside the executing scope; worker executions do
not take ownership of the main thread's signal policy.
Consumers execute the full DSL through execute or execute_file, then inspect Result, Error, CycleError, and LoadDepthError. The custom receiver and boot lifecycle is internal plumbing for the top-level API and Rake integration.
Defined Under Namespace
Classes: CycleError, Error, LoadDepthError, Result