Next: , Previous: , Up: The Rules File: Where the Magic Happens   [Contents]


2.3.8 Preprocessing: The Secret Weapon

The final layer of the STARTER language is Preprocessing. Before the Core ever reads your rules, the file is passed through an external program that modifies the text on the fly. What STARTER actually executes is the output of that program.

If you’ve spent time in the trenches with C or C++, this concept will feel familiar—though STARTER’s implementation is even more flexible. If you’re not a programmer, think of it this way: the preprocessor is like an automated editor that prepares your "manuscript" before the publisher (the Core) sees it.