Symbolic keywords are keywords that provide, together Keywords, the structure of constructions in a Gobstones program. Its concrete strings are conformed by Symbol chars -- see WordsDef and SymbolChars documentation.

It constitutes one of the elements of the WordsDef interface.

interface SymbolicKeywords {
    Expressions: {
        GETS: string;
        PIPE: string;
        RANGE: string;
    };
    Punctuation: {
        COMMA: string;
        ELLIPSIS: string;
        LBRACE: string;
        LBRACK: string;
        LPAREN: string;
        RBRACE: string;
        RBRACK: string;
        RPAREN: string;
        SEMICOLON: string;
    };
    Statements: {
        ARROW: string;
        ASSIGN: string;
    };
}

Properties

Expressions: {
    GETS: string;
    PIPE: string;
    RANGE: string;
}

Type declaration

  • GETS: string
  • PIPE: string
  • RANGE: string
Punctuation: {
    COMMA: string;
    ELLIPSIS: string;
    LBRACE: string;
    LBRACK: string;
    LPAREN: string;
    RBRACE: string;
    RBRACK: string;
    RPAREN: string;
    SEMICOLON: string;
}

Type declaration

  • COMMA: string
  • ELLIPSIS: string
  • LBRACE: string
  • LBRACK: string
  • LPAREN: string
  • RBRACE: string
  • RBRACK: string
  • RPAREN: string
  • SEMICOLON: string
Statements: {
    ARROW: string;
    ASSIGN: string;
}

Type declaration

  • ARROW: string
  • ASSIGN: string