Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Operators

The following symbols are operators in God:

Assignment

This is the operator that denotes an identifier being assigned a value. It is written as an equal sign.

thing = "value";

Termination

These are the integral final part of a field; distinguishing where a given field ends. They are are required to terminate all fields. They are written as a semi-colon.

numbers = { one = 1; two = 2; three = 3; };

Negation

These are used as a prefix to number values; denoting the negativity of the number in question.

negative-numbers = [ -1 -2 -3 -3.14 ];
positive-numbers = [ 1 2 3 3.14 ];