Automatic Script Compilation
From Dreamer
Script is parsed and compiled on-the-fly as users type. This allows for a lot of fancy features while keeping generally favored plain text editing. Such as an interactive list of errors and tool tips.
There are some limitations and rules that must be followed in order for the compiler to work properly:
- The first command in a section should be a trigger/cause (0:xx)
- The command type and number must be on the same line, separated with a space or ':'
- Both numbers or variables that define a location must be on the same line
Please note: Single variable in round brackets as a location parameter defines both X and Y, i.e. (%foo) is equal to %foo.x,%foo.y.
