Packages

p

carldata.sf

compiler

package compiler

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class SymbolTable extends AnyRef

    Symbol table contains set of symbols in current scope and link to parent SymbolTable.

Value Members

  1. object AST

    Script Abstract Syntax Tree

  2. object CodeGenerator

    Generate executable code from AST

  3. object Executable

    Executable code

  4. object Parser

    Script parser.

    Script parser. This parser uses ANTLR4 generated Parser and Lexer. What this object adds is conversion of ANTLR AST into FlowScript AST.

  5. object Result

    Helper object for definition of Result.

    Helper object for definition of Result. Status code which is return by compiler Checkers

  6. object SymbolChecker

    Run the following checks

    Run the following checks

    1. Variable not declared 2. Variable redefinition in the same scope 3. Function not declared 4. Function redefinition

    Variables and function are in separate scopes.

  7. object TypeChecker

    Check Type correctness.

    Check Type correctness. This implementation uses multiple passes. One for each type check. This is made for clarity event if it is not optimal.

Ungrouped