Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.3 KB

File metadata and controls

35 lines (23 loc) · 1.3 KB

RustScript Language Specification

This repository describes the RustScript (.rss) language, execution artifact formats, debugging contract, and host interop model.

The specification is implementation-derived, but the public text is intentionally high level: it describes observable language/runtime contracts rather than source layout or implementation details.

Documents

Language

Runtime and tooling contracts

Scope

This draft covers:

  • RustScript syntax and grammar shape.
  • VM bytecode as a portable execution artifact.
  • AOT packages as a distribution artifact.
  • Debugger-facing source, frame, stack, and breakpoint conventions.
  • Host function registration and call contracts.

It does not standardize optimizer strategy, internal compiler organization, private runtime data structures, or non-RustScript frontend compatibility.

Where this text and an implementation disagree, the implementation is the compatibility reference until this specification is updated.