API Reference

class RnxHost

Host metadata: rnx is ambient in every module with no import. version is the compiler version string, args holds the CLI arguments after the script path, cwd() reads the working directory, and exit(code) terminates immediately.

init()

fields

  • args: Array<String>
  • version: String