org.kiama.example

minijava

package minijava

Visibility
  1. Public
  2. All

Type Members

  1. class CodeGenerationTests extends SyntaxAnalysis with Driver with TestCompiler[Program]

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

  2. trait Driver extends SyntaxAnalysis with Compiler[Program]

    Conduct syntax analysis on the MiniJava program in the file given as the first command-line argument and print out the result source program tree.

  3. class ParsingTests extends SyntaxAnalysis with FunSuite

    Tests that check that the parser works correctly.

  4. class SemanticTests extends FunSuite

    Tests that check that the parser works correctly.

  5. class SyntaxAnalysis extends PositionedParserUtilities

    Module containing parsers for MiniJava.

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 SyntaxAnalysis with Driver

    Main program for MiniJava compiler.

  4. object MiniJavaTree

    Module containing tree structures for representing MiniJava programs.

  5. object SemanticAnalysis

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

  6. object SemanticTestParser extends SyntaxAnalysis

    Parser to use for semantic tests.

  7. object SymbolTable extends Environments

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

  8. object Translator

    Translator from MiniJava source programs to JVM target programs.

Ungrouped