(include path)
  path: a str
M

Replaces itself with the contents of a file.

path must refer to a text file which contains valid GameLisp source code, relative to the current working directory. (For a Rust program, the working directory is usually the directory which contains your Cargo.toml file.)

During macro expansion, the include macro opens that text file, parses its contents, and expands into a splice form which contains all of the values parsed from the file.

In a sandboxed Runtime, this macro is not defined.

do-0
->