Embedding EYG in Erlang programs
Summary
This article presents a practical guide for embedding the EYG scripting language into an Erlang application, enabling controlled scripting and automation. It covers installing EYG tooling, running pure EYG code within Erlang, improving error reporting, supporting effects via an extrinsic interface, and a loop-based runtime to resume execution after breaks, along with type checking to ensure safe usage.