org.kiama.example

obr

package obr

Visibility
  1. Public
  2. All

Type Members

  1. class Driver extends SyntaxAnalyser with CompilerWithConfig[ObrInt, ObrConfig]

    Obr language implementation compiler driver.

  2. class ObrConfig extends Config

    Configuration for the Obr compiler.

  3. class ParserDriver extends Driver

    The next driver simply spills the abstract syntax tree to the console.

  4. class RISCEncoder extends AnyRef

    Translate RISC programs into RISC assembly code.

    Translate RISC programs into RISC assembly code. Completes the code generation (e.g., by allocating registers). The resulting code is made available as a list of RISC machine instructions.

  5. class RISCTransformer extends AnyRef

    Module implementing transformation from Obr to RISC tree code.

  6. class SemanticAnalyser extends AnyRef

  7. class SemanticDriver extends Driver

    A driver which parses a program file and runs the semantic analyser.

  8. class SyntaxAnalyser extends PositionedParserUtilities

    Module containing parsers for the Obr language.

  9. trait TreeTestDriver extends Driver with TestCompilerWithConfig[ObrInt, ObrConfig]

    A driver which compiles a file and allows a test to be run on the resulting target tree.

Value Members

  1. object Main extends Driver

    Obr language implementation main program.

  2. object ObrTree

    Module containing structures for representing Obr programs.

  3. object RISCLabels

    Common source of label numbers for transformation and encoding.

  4. object RISCTree

    Module containing structures for representing RISC machine programs.

    Module containing structures for representing RISC machine programs. In essence this is a register-less assembly code, in which the flow of data between constructs is represented in the parent-child relationships of a tree structure.

  5. object SymbolTable extends Environments

    Symbol table module containing facilities for creating and manipulating Obr language symbol information.

  6. package tests

Ungrouped