Skip to content

Constant Arguments

Simon Beal edited this page Aug 9, 2016 · 1 revision

Certain nodes have a constant argument(s). These provide configurable behaviour for nodes and are often used when taking from the stack would be longer due to the chances of certain types of character appearing before the node.

Types of constant argument

  • Base10Single (Optional)
    • The node can take a single base 10 number as a fixed parameter.
  • IntList
    • The node takes a character who's ordinal representation depicts how many integers are in the list. \x02 represents 2 integers.
    • Each additional character's ordinal represents an integer.
  • NumericLiteral (Optional)
    • The node can take a numeric, with or without a decimal point (.) The number may start with a leading 0.
  • StringLiteral
    • The node takes bytes until a closing " is read. Characters can't be escaped so it is impossible to have a full string with a " in it.
  • NodeSingle and NodeClass
    • The node takes a single additional node to perform operations with.
  • EvalLiteral
    • The node takes a Pyke literal. This keeps being read until a closing ) or (.
    • ( closes all open EvalLiterals except the final one.

Clone this wiki locally