For the sake of better helping people who are programming in GAME Code understand the language, this page displays an up-to-date, script-generated copy of the PHP code that handles its processing of Polish notation expressions, complete with line numbering and syntax highlighting. This code includes all the operators and built-in functions available in GAME Code expressions, including any that may be undocumented. For simplicity of terminology, operator means any operator or built-in function, and operand means an argument to an operator. The operators are grouped by how many operands they take. The outer switch statement directs most operators to an inner switch statement, which is where you will find the code for particular operators. Within the same group, operators should be listed alphabetically. The outer switch also handles operators that take variable numbers of operands. So, you can find code for a particular operator by searching for its name once or twice within double quotation marks. Note that this code is provided here only for educational purposes and should not be copied or downloaded.

Copyright © Fergus Duniho, 2016.