Skip to content

0.2.0-alpha

Pre-release
Pre-release

Choose a tag to compare

@Ace-codes-swift Ace-codes-swift released this 05 Sep 22:41

0.2.0-alpha

Pre-release. Header-only C++17. #include <ReScripted.h>.

Scripts

  • import helpers loads another same-language file beside the importer. No host call.
  • Import syntax is config-driven: keywords (import, #import, #banana), dotted names, bind_as namespace 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_plugin register 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 with imports.plugin_entry or set_plugin_entry.
  • bind_module / add_module are 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.