Repository navigation
0.2.0-alpha
Pre-release
Pre-release
0.2.0-alpha
Pre-release. Header-only C++17. #include <ReScripted.h>.
Scripts
import helpersloads another same-language file beside the importer. No host call.- Import syntax is config-driven: keywords (
import,#import,#banana), dotted names,bind_asnamespace or flatten,standard_library.automatically_imported. - Search order for unregistered files: importer directory, working directory,
imports.search_directories,add_search_path.
Host libraries
add_library/add_library_file/load_pluginregister C++, bundled scripts, disk scripts, best-effort headers, or workshop plugins (.dll/.dylib/.so).- CMake only compiles sources. The host chooses every import name.
- Plugin entry defaults to
rescripted_register(Engine&). Override withimports.plugin_entryorset_plugin_entry. bind_module/add_moduleare removed.
Language JSON
- Type-first functions, typed parameters, classes/actors with methods and single inheritance, compound assignment, optional-brace
if.
See CHANGELOG.md and docs/user/libraries.md.