Class: Sevgi::Executor
- Inherits:
-
Object
- Object
- Sevgi::Executor
- Defined in:
- lib/sevgi/executor.rb,
lib/sevgi/executor/error.rb,
lib/sevgi/executor/scope.rb,
lib/sevgi/executor/result.rb,
lib/sevgi/executor/source.rb
Overview
Internal Sevgi 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 process SIGINT handler is shared by Ruby, so executor runs guard it
with a reference-counted critical section and restore the previous handler
after the last active execution finishes.
Consumers execute the full DSL through execute or execute_file, then inspect Result, Error, and CycleError. The custom receiver and boot lifecycle is internal plumbing for the top-level API and Rake integration.
Defined Under Namespace
Classes: CycleError, Error, Result