kiama.example.oberon0

object Main

[source: kiama/example/oberon0/Main.scala]

object Main
extends Parser
Main program for the Oberon0 implementation. Parses and checks the Oberon0 program named on the command line. If checking passes, then encodes the program as RISC assembler and runs the assembler using a machine simulator.
Values and Variables inherited from Parser
parse, moduledecl, declarations, constdecl, constdecls, typedecl, typedecls, vardeclspertype, vardecls, fpSection, formalParameters, procdecls, procdecl, type1, identList, arrayType, fieldList, recordType, statementSequence, statement, assignment, actualParameters, procedureCall, ifStatement, ifTail, whileStatement, expression, simpleExpression, term, factor, desig, number, keyword, ident, integer, comment, layout
Values and Variables inherited from CharParsers
whitespace, digit, letter, letterOrDigit
Values and Variables inherited from PackratParsers
heads, LRStack
Values and Variables inherited from Parsers
any
Method Summary
def main (args : scala.Array[java.lang.String]) : Unit
Methods inherited from Parser
optionalListToList
Methods inherited from CharParsers
token, phrase, literal, regex, parse, parse, parse, parseAll, parseAll, parseAll
Methods inherited from PackratParsers
rep1, memo
Methods inherited from Parsers
Parser, success, failure, accept, acceptIf, opt, rep, rep1, repN, repsep, rep1sep, and, not
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def main(args : scala.Array[java.lang.String]) : Unit