org.kiama.example

minijava

package minijava

Visibility
  1. Public
  2. All

Type Members

  1. class CodeGeneratorTests extends SyntaxAnalyser with Driver with TestCompiler[Program]

    Tests that check that the code generator produces the expected byte code.

  2. trait Driver extends SyntaxAnalyser with Compiler[Program]

    Compile the MiniJava program in the file given as the first command-line argument.

  3. class SemanticAnalyser extends AnyRef

    Semantic analysis module containing static checking of Minijava semantic rules, most notably name analysis.

  4. class SemanticAnalyserTests extends SyntaxAnalyser with RegexParserTests

    Tests that check that the parser works correctly.

  5. class SyntaxAnalyser extends PositionedParserUtilities

    Module containing parsers for MiniJava.

  6. class SyntaxAnalyserTests extends SyntaxAnalyser with RegexParserTests

    Tests that check that the parser works correctly.

Value Members

  1. object CodeGenerator

    Code generator that prints JVM target trees to Jasmine assembler files.

  2. object JVMTree

    Module containing tree structures for representing JVM programs.

  3. object Main extends SyntaxAnalyser with Driver

    Main program for MiniJava compiler.

  4. object MiniJavaTree

    Module containing tree structures for representing MiniJava programs.

  5. object PrettyPrinter extends ParenPrettyPrinter

    Abstract syntax tree pretty-printing for Miniava.

  6. object SymbolTable extends Environments

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

  7. object Translator

    Translator from MiniJava source programs to JVM target programs.

Ungrouped