<- ^ ->
Lexical conventions

3   Lexical conventions

Following example is list of valid Gont tokens (although without any sense :)
        // comment
        /* /* Unlike in C, */ comments can be nested. */
        123     // decimal number
        0x12a   // hexadecimal number
        0o666   // octal number
        0666    // *decimal* number
        0b0110  // binary number
        // one string
        "string\nwith newline"
        // second string
        "string li" "terals can be" 
          "split, and separated with whitespace."
        // identifiers
        ident_1
        ___ident123_4
        // characters:
        'x' '\n'
Code is not passed through any preprocessor by default.

Following strings cannot be used as identifiers, because they are keywords:
_         bool        break       case         continue   do
else      exception   export_as   extern_c     false      finally
float     for         fun         if           in         int
let       null        open        opt_struct   raise      return
section   skip        string      struct       switch     true
try       type        typedef     union        void       while
with
<- ^ ->
Lexical conventions