1. Introduction
  2. Install
  3. 1. The Snax Language
    1. 1.1. Numbers
    2. 1.2. Strings
    3. 1.3. Compiler Functions
  4. 2. Standard Library
    1. 2.1. math
    2. 2.2. string
    3. 2.3. memory
    4. 2.4. io
  5. 3. The Snax Compiler
    1. 3.1. Parsing
    2. 3.2. Compiling

Snax

    Parsing

    Snax uses a Parsing Expression Grammar to define it's language. You can explore the grammar using the below tool.

    ▾File:1:1
    decls:
    ▾ImportDecl:1:1
    ▾FuncDecl:1:1
    parameters:
    ▾ParameterList:1:1
    body:
    ▾Block:1:1
    statements:
    ▾LetStatement:2:1
    expr:
    ▾NumberLiteral:2:9