Embers is an embeddable Ruby-inspired interpreter written in C# for .NET 9+. It provides a lightweight scripting runtime for applications like games, tools, or plugin systems. The interpreter features a recursive descent parser, lexical analyzer, virtual execution engine, and robust exception handling. It supports Ruby-like syntax including method definitions, control structures, classes, and exceptions, while offering C# interop with configurable security policies. Developers can build custom DSLs by defining host functions and leveraging automatic StdLib function discovery. The project includes a CLI host, ISE, and comprehensive testing suite.
Table of contents
OverviewDesignProjectsDesign GoalsKey ComponentsUsageScript SyntaxSecurity ConfigurationBuilding a Custom DSLFunction Documentation & IntrospectionStdLib Function RegistrationPractical Use CasesLicense306 Impressions