Skip to content

RuleScript v1.6.0-rc1.3

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Jul 10:32

Rule Script v1.6.0-rc1.3

This prerelease improves source formatting behavior for v1.6.0 testing.

Formatter Blank Lines

RuleScriptFormatter.Format(source) now preserves blank lines between source elements. Documentation blocks and function declarations can remain visually separated after formatting.

/// A function
function A():
end

/// B function
function B():
end

Comment Indentation

Standalone line and multi-line comments now follow the indentation of the syntax element below them. Multi-line comment delimiters align with each other, while comment content is indented beneath the opening delimiter.

while true:
    // Comment
    var value = 1;
    /*
      Multi-line comment
    */
    var text = "";
end

Compatibility

  • Formatter output remains LF-terminated.
  • Existing executable syntax and runtime behavior are unchanged.
  • Formatting remains parseable and preserves execution results.

Validation

  • Release build: 0 warnings and 0 errors.
  • Test suite: 571 passed, 0 failed, 0 skipped.

See v1.6.0 release notes and the v1.6.0 API reference for the complete feature set.