diff --git a/compiler/antlr/prog8.g4 b/compiler/antlr/prog8.g4 index 6f7a52b29..7120d0ce6 100644 --- a/compiler/antlr/prog8.g4 +++ b/compiler/antlr/prog8.g4 @@ -65,9 +65,11 @@ statement : | inlineasm | labeldef | returnstmt - // @todo forloop, whileloop, repeatloop + | forloop + // @todo whileloop, repeatloop ; + labeldef : identifier ':' ; unconditionaljump : 'goto' (integerliteral | identifier | scoped_identifier) ; @@ -119,7 +121,7 @@ expression : | left = expression bop = '&' right = expression | left = expression bop = '^' right = expression | left = expression bop = '|' right = expression - | rangefrom = expression 'to' rangeto = expression // create separate rule once for-loops are here? + | rangefrom = expression 'to' rangeto = expression // can't create separate rule due to mutual left-recursion | left = expression bop = 'and' right = expression | left = expression bop = 'or' right = expression | left = expression bop = 'xor' right = expression @@ -147,6 +149,10 @@ expression_list : returnstmt : 'return' expression_list? ; +breakstmt : 'break'; + +continuestmt: 'continue'; + identifier : NAME ; scoped_identifier : NAME ('.' NAME)+ ; @@ -207,3 +213,20 @@ else_part : 'else' EOL? (statement | statement_block) ; // statement is const branch_stmt : branchcondition EOL? (statement | statement_block) EOL? else_part? EOL ; branchcondition: 'if_cs' | 'if_cc' | 'if_eq' | 'if_ne' | 'if_pl' | 'if_mi' | 'if_vs' | 'if_vc' ; + + +forloop : + 'for' (register | identifier) 'in' range_expr=expression ('step' for_step=expression)? EOL? loop_statement_block EOL + ; + +loop_statement_block : + '{' EOL + (statement_in_loopblock | EOL) * + '}' + ; + +statement_in_loopblock : + statement + | breakstmt + | continuestmt + ; diff --git a/compiler/examples/test.p8 b/compiler/examples/test.p8 index 5a441da0d..edd634985 100644 --- a/compiler/examples/test.p8 +++ b/compiler/examples/test.p8 @@ -11,6 +11,23 @@ sub start() -> () { float time = 0.0 _vm_gfx_clearscr(0) + for X in 3 to 100 step 3/3 { + A=44 + continue + continue + continue + break + break + break + A=99 + } + + for X in AX { + A=44 + break + continue + } + loop: tx = round(sin(time*1.01)*150 + 160) ty = round((cos(time)+sin(time/44.1))*60 + 128) diff --git a/compiler/src/prog8/ast/AST.kt b/compiler/src/prog8/ast/AST.kt index 3ec5b3314..9e8f0291f 100644 --- a/compiler/src/prog8/ast/AST.kt +++ b/compiler/src/prog8/ast/AST.kt @@ -169,6 +169,22 @@ interface IAstProcessor { postIncrDecr.target = postIncrDecr.target.process(this) return postIncrDecr } + + fun process(contStmt: Continue): IStatement { + return contStmt + } + + fun process(breakStmt: Break): IStatement { + return breakStmt + } + + fun process(forLoop: ForLoop): IStatement { + forLoop.loopVar?.process(this) + forLoop.range = forLoop.range.process(this) + forLoop.step = forLoop.step?.process(this) + forLoop.body = forLoop.body.asSequence().map {it.process(this)}.toMutableList() + return forLoop + } } @@ -477,6 +493,26 @@ class Return(var values: List, override val position: Position) : I } } +class Continue(override val position: Position) : IStatement { + override lateinit var parent: Node + + override fun linkParents(parent: Node) { + this.parent=parent + } + + override fun process(processor: IAstProcessor) = processor.process(this) +} + +class Break(override val position: Position) : IStatement { + override lateinit var parent: Node + + override fun linkParents(parent: Node) { + this.parent=parent + } + + override fun process(processor: IAstProcessor) = processor.process(this) +} + class ArraySpec(var x: IExpression, var y: IExpression?, override val position: Position) : Node { override lateinit var parent: Node @@ -1257,9 +1293,13 @@ private fun prog8Parser.StatementContext.toAst() : IStatement { val branchstmt = branch_stmt()?.toAst() if(branchstmt!=null) return branchstmt - throw FatalAstException("unprocessed source text: $text") + val forloop = forloop()?.toAst() + if(forloop!=null) return forloop + + throw FatalAstException("unprocessed source text (are we missing ast conversion rules for parser elements?): $text") } + private fun prog8Parser.Functioncall_stmtContext.toAst(): IStatement { val location = if(identifier()!=null) identifier()?.toAst() @@ -1480,7 +1520,7 @@ private fun prog8Parser.Else_partContext.toAst(): List { } -private fun prog8Parser.Branch_stmtContext.toAst(): IStatement { +private fun prog8Parser.Branch_stmtContext.toAst(): BranchStatement { val branchcondition = branchcondition().toAst() val statements = statement_block()?.toAst() ?: listOf(statement().toAst()) val elsepart = else_part()?.toAst() ?: emptyList() @@ -1488,3 +1528,52 @@ private fun prog8Parser.Branch_stmtContext.toAst(): IStatement { } private fun prog8Parser.BranchconditionContext.toAst() = BranchCondition.valueOf(text.substringAfter('_').toUpperCase()) + + +private fun prog8Parser.ForloopContext.toAst(): ForLoop { + val loopregister = register()?.toAst() + val loopvar = identifier()?.toAst() + val range = range_expr.toAst() + val step = if(for_step==null) null else for_step.toAst() + val body = loop_statement_block().toAst() + return ForLoop(loopregister, loopvar, range, step, body, toPosition()) +} + + +class ForLoop(val loopRegister: Register?, + val loopVar: IdentifierReference?, + var range: IExpression, + var step: IExpression?, + var body: MutableList, + override val position: Position) : IStatement { + override lateinit var parent: Node + + override fun linkParents(parent: Node) { + this.parent=parent + loopVar?.linkParents(this) + range.linkParents(this) + step?.linkParents(this) + body.forEach { it.linkParents(this) } + } + + override fun process(processor: IAstProcessor) = processor.process(this) +} + + +private fun prog8Parser.ContinuestmtContext.toAst() = Continue(toPosition()) + +private fun prog8Parser.BreakstmtContext.toAst() = Break(toPosition()) + +private fun prog8Parser.Loop_statement_blockContext.toAst() : MutableList { + return statement_in_loopblock().asSequence().map {it.toAst()}.toMutableList() +} + +private fun prog8Parser.Statement_in_loopblockContext.toAst(): IStatement { + val breakstmt = breakstmt()?.toAst() + if(breakstmt!=null) return breakstmt + + val contstmt = continuestmt()?.toAst() + if(contstmt!=null) return contstmt + + return this.statement().toAst() +} diff --git a/compiler/src/prog8/compiler/Compiler.kt b/compiler/src/prog8/compiler/Compiler.kt index eea4a1b6d..69f92e16b 100644 --- a/compiler/src/prog8/compiler/Compiler.kt +++ b/compiler/src/prog8/compiler/Compiler.kt @@ -163,6 +163,9 @@ class Compiler(private val options: CompilationOptions) { is FunctionCallStatement -> translate(stmt) is IfStatement -> translate(stmt) is BranchStatement -> translate(stmt) + is Break -> translate(stmt) + is Continue -> translate(stmt) + is ForLoop -> translate(stmt) is Directive, is VarDecl, is Subroutine -> {} // skip this, already processed these. is InlineAssembly -> throw CompilerException("inline assembly is not supported by the StackVM") else -> TODO("translate statement $stmt to stackvm") @@ -170,6 +173,17 @@ class Compiler(private val options: CompilationOptions) { } } + + private fun translate(stmt: Continue) { + stackvmProg.line(stmt.position) + stackvmProg.instruction("continue") + } + + private fun translate(stmt: Break) { + stackvmProg.line(stmt.position) + stackvmProg.instruction("break") + } + private fun translate(branch: BranchStatement) { /* * A branch: IF_CC { stuff } else { other_stuff } @@ -457,6 +471,12 @@ class Compiler(private val options: CompilationOptions) { private fun translate(stmt: Label) { stackvmProg.label(stmt.scopedname) } + + + private fun translate(loop: ForLoop) { + stackvmProg.line(loop.position) + println("@TODO: translate FOR LOOP") // @todo + } } } diff --git a/compiler/src/prog8/parser/prog8Lexer.java b/compiler/src/prog8/parser/prog8Lexer.java index a10817e28..906e5ae7d 100644 --- a/compiler/src/prog8/parser/prog8Lexer.java +++ b/compiler/src/prog8/parser/prog8Lexer.java @@ -29,8 +29,9 @@ public class prog8Lexer extends Lexer { T__66=67, T__67=68, T__68=69, T__69=70, T__70=71, T__71=72, T__72=73, T__73=74, T__74=75, T__75=76, T__76=77, T__77=78, T__78=79, T__79=80, T__80=81, T__81=82, T__82=83, T__83=84, T__84=85, T__85=86, T__86=87, - T__87=88, LINECOMMENT=89, COMMENT=90, WS=91, EOL=92, NAME=93, DEC_INTEGER=94, - HEX_INTEGER=95, BIN_INTEGER=96, FLOAT_NUMBER=97, STRING=98, INLINEASMBLOCK=99; + T__87=88, T__88=89, T__89=90, T__90=91, T__91=92, T__92=93, LINECOMMENT=94, + COMMENT=95, WS=96, EOL=97, NAME=98, DEC_INTEGER=99, HEX_INTEGER=100, BIN_INTEGER=101, + FLOAT_NUMBER=102, STRING=103, INLINEASMBLOCK=104; public static String[] channelNames = { "DEFAULT_TOKEN_CHANNEL", "HIDDEN" }; @@ -50,9 +51,10 @@ public class prog8Lexer extends Lexer { "T__57", "T__58", "T__59", "T__60", "T__61", "T__62", "T__63", "T__64", "T__65", "T__66", "T__67", "T__68", "T__69", "T__70", "T__71", "T__72", "T__73", "T__74", "T__75", "T__76", "T__77", "T__78", "T__79", "T__80", - "T__81", "T__82", "T__83", "T__84", "T__85", "T__86", "T__87", "LINECOMMENT", - "COMMENT", "WS", "EOL", "NAME", "DEC_INTEGER", "HEX_INTEGER", "BIN_INTEGER", - "FLOAT_NUMBER", "FNUMBER", "STRING_ESCAPE_SEQ", "STRING", "INLINEASMBLOCK" + "T__81", "T__82", "T__83", "T__84", "T__85", "T__86", "T__87", "T__88", + "T__89", "T__90", "T__91", "T__92", "LINECOMMENT", "COMMENT", "WS", "EOL", + "NAME", "DEC_INTEGER", "HEX_INTEGER", "BIN_INTEGER", "FLOAT_NUMBER", "FNUMBER", + "STRING_ESCAPE_SEQ", "STRING", "INLINEASMBLOCK" }; private static final String[] _LITERAL_NAMES = { @@ -63,10 +65,11 @@ public class prog8Lexer extends Lexer { "'-='", "'/='", "'*='", "'**='", "'&='", "'|='", "'^='", "'++'", "'--'", "'('", "')'", "'+'", "'-'", "'**'", "'*'", "'/'", "'%'", "'<'", "'>'", "'<='", "'>='", "'=='", "'!='", "'&'", "'^'", "'|'", "'to'", "'and'", - "'or'", "'xor'", "'not'", "'return'", "'.'", "'A'", "'X'", "'Y'", "'AX'", - "'AY'", "'XY'", "'Pc'", "'Pz'", "'Pn'", "'Pv'", "'.w'", "'true'", "'false'", - "'%asm'", "'sub'", "'->'", "'{'", "'}'", "'?'", "'if'", "'else'", "'if_cs'", - "'if_cc'", "'if_eq'", "'if_ne'", "'if_pl'", "'if_mi'", "'if_vs'", "'if_vc'" + "'or'", "'xor'", "'not'", "'return'", "'break'", "'continue'", "'.'", + "'A'", "'X'", "'Y'", "'AX'", "'AY'", "'XY'", "'Pc'", "'Pz'", "'Pn'", "'Pv'", + "'.w'", "'true'", "'false'", "'%asm'", "'sub'", "'->'", "'{'", "'}'", + "'?'", "'if'", "'else'", "'if_cs'", "'if_cc'", "'if_eq'", "'if_ne'", "'if_pl'", + "'if_mi'", "'if_vs'", "'if_vc'", "'for'", "'in'", "'step'" }; private static final String[] _SYMBOLIC_NAMES = { null, null, null, null, null, null, null, null, null, null, null, null, @@ -76,9 +79,9 @@ public class prog8Lexer extends Lexer { null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, "LINECOMMENT", "COMMENT", "WS", "EOL", "NAME", - "DEC_INTEGER", "HEX_INTEGER", "BIN_INTEGER", "FLOAT_NUMBER", "STRING", - "INLINEASMBLOCK" + null, null, null, null, null, null, null, null, null, null, "LINECOMMENT", + "COMMENT", "WS", "EOL", "NAME", "DEC_INTEGER", "HEX_INTEGER", "BIN_INTEGER", + "FLOAT_NUMBER", "STRING", "INLINEASMBLOCK" }; public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); @@ -140,10 +143,10 @@ public class prog8Lexer extends Lexer { @Override public void action(RuleContext _localctx, int ruleIndex, int actionIndex) { switch (ruleIndex) { - case 99: + case 104: STRING_action((RuleContext)_localctx, actionIndex); break; - case 100: + case 105: INLINEASMBLOCK_action((RuleContext)_localctx, actionIndex); break; } @@ -172,7 +175,7 @@ public class prog8Lexer extends Lexer { } public static final String _serializedATN = - "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2e\u02aa\b\1\4\2\t"+ + "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2j\u02cf\b\1\4\2\t"+ "\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13"+ "\t\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+ "\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+ @@ -183,221 +186,233 @@ public class prog8Lexer extends Lexer { "\4>\t>\4?\t?\4@\t@\4A\tA\4B\tB\4C\tC\4D\tD\4E\tE\4F\tF\4G\tG\4H\tH\4I"+ "\tI\4J\tJ\4K\tK\4L\tL\4M\tM\4N\tN\4O\tO\4P\tP\4Q\tQ\4R\tR\4S\tS\4T\tT"+ "\4U\tU\4V\tV\4W\tW\4X\tX\4Y\tY\4Z\tZ\4[\t[\4\\\t\\\4]\t]\4^\t^\4_\t_\4"+ - "`\t`\4a\ta\4b\tb\4c\tc\4d\td\4e\te\4f\tf\3\2\3\2\3\3\3\3\3\4\3\4\3\4\3"+ - "\4\3\4\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6"+ - "\3\6\3\6\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\b\3\b\3\b\3\b\3\b\3"+ - "\b\3\b\3\b\3\b\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\n\3\n\3\n\3\n\3\n\3\n"+ - "\3\n\3\n\3\n\3\n\3\n\3\n\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13"+ - "\3\13\3\13\3\13\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3"+ - "\r\3\r\3\r\3\r\3\r\3\r\3\16\3\16\3\17\3\17\3\20\3\20\3\20\3\20\3\20\3"+ - "\20\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\22\3\22\3\22\3\22\3\22\3\23\3"+ - "\23\3\23\3\23\3\23\3\24\3\24\3\24\3\24\3\24\3\24\3\25\3\25\3\25\3\25\3"+ - "\26\3\26\3\26\3\26\3\26\3\26\3\27\3\27\3\27\3\27\3\27\3\27\3\30\3\30\3"+ - "\30\3\30\3\30\3\30\3\30\3\31\3\31\3\32\3\32\3\33\3\33\3\33\3\34\3\34\3"+ - "\34\3\35\3\35\3\35\3\36\3\36\3\36\3\37\3\37\3\37\3\37\3 \3 \3 \3!\3!\3"+ - "!\3\"\3\"\3\"\3#\3#\3#\3$\3$\3$\3%\3%\3&\3&\3\'\3\'\3(\3(\3)\3)\3)\3*"+ - "\3*\3+\3+\3,\3,\3-\3-\3.\3.\3/\3/\3/\3\60\3\60\3\60\3\61\3\61\3\61\3\62"+ - "\3\62\3\62\3\63\3\63\3\64\3\64\3\65\3\65\3\66\3\66\3\66\3\67\3\67\3\67"+ - "\3\67\38\38\38\39\39\39\39\3:\3:\3:\3:\3;\3;\3;\3;\3;\3;\3;\3<\3<\3=\3"+ - "=\3>\3>\3?\3?\3@\3@\3@\3A\3A\3A\3B\3B\3B\3C\3C\3C\3D\3D\3D\3E\3E\3E\3"+ - "F\3F\3F\3G\3G\3G\3H\3H\3H\3H\3H\3I\3I\3I\3I\3I\3I\3J\3J\3J\3J\3J\3K\3"+ - "K\3K\3K\3L\3L\3L\3M\3M\3N\3N\3O\3O\3P\3P\3P\3Q\3Q\3Q\3Q\3Q\3R\3R\3R\3"+ - "R\3R\3R\3S\3S\3S\3S\3S\3S\3T\3T\3T\3T\3T\3T\3U\3U\3U\3U\3U\3U\3V\3V\3"+ - "V\3V\3V\3V\3W\3W\3W\3W\3W\3W\3X\3X\3X\3X\3X\3X\3Y\3Y\3Y\3Y\3Y\3Y\3Z\3"+ - "Z\7Z\u0241\nZ\fZ\16Z\u0244\13Z\3Z\3Z\3Z\3Z\3[\3[\7[\u024c\n[\f[\16[\u024f"+ - "\13[\3[\3[\3\\\3\\\3\\\3\\\3]\6]\u0258\n]\r]\16]\u0259\3^\3^\7^\u025e"+ - "\n^\f^\16^\u0261\13^\3_\3_\3_\6_\u0266\n_\r_\16_\u0267\5_\u026a\n_\3`"+ - "\3`\6`\u026e\n`\r`\16`\u026f\3a\3a\6a\u0274\na\ra\16a\u0275\3b\3b\3b\5"+ - "b\u027b\nb\3b\5b\u027e\nb\3c\6c\u0281\nc\rc\16c\u0282\3c\3c\6c\u0287\n"+ - "c\rc\16c\u0288\5c\u028b\nc\3d\3d\3d\3d\5d\u0291\nd\3e\3e\3e\7e\u0296\n"+ - "e\fe\16e\u0299\13e\3e\3e\3e\3f\3f\3f\3f\6f\u02a2\nf\rf\16f\u02a3\3f\3"+ - "f\3f\3f\3f\3\u02a3\2g\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27"+ - "\r\31\16\33\17\35\20\37\21!\22#\23%\24\'\25)\26+\27-\30/\31\61\32\63\33"+ - "\65\34\67\359\36;\37= ?!A\"C#E$G%I&K\'M(O)Q*S+U,W-Y.[/]\60_\61a\62c\63"+ - "e\64g\65i\66k\67m8o9q:s;u{?}@\177A\u0081B\u0083C\u0085D\u0087E\u0089"+ - "F\u008bG\u008dH\u008fI\u0091J\u0093K\u0095L\u0097M\u0099N\u009bO\u009d"+ - "P\u009fQ\u00a1R\u00a3S\u00a5T\u00a7U\u00a9V\u00abW\u00adX\u00afY\u00b1"+ - "Z\u00b3[\u00b5\\\u00b7]\u00b9^\u00bb_\u00bd`\u00bfa\u00c1b\u00c3c\u00c5"+ - "\2\u00c7\2\u00c9d\u00cbe\3\2\n\4\2\f\f\17\17\4\2\13\13\"\"\5\2C\\aac|"+ - "\6\2\62;C\\aac|\5\2\62;CHch\4\2GGgg\4\2--//\6\2\f\f\16\17$$^^\2\u02b8"+ - "\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2\2\2\2\r\3\2"+ - "\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2\2\2\27\3\2\2\2"+ - "\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2"+ - "\2\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2/\3\2\2"+ - "\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67\3\2\2\2\29\3\2\2\2\2;\3"+ - "\2\2\2\2=\3\2\2\2\2?\3\2\2\2\2A\3\2\2\2\2C\3\2\2\2\2E\3\2\2\2\2G\3\2\2"+ - "\2\2I\3\2\2\2\2K\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\2Q\3\2\2\2\2S\3\2\2\2\2"+ - "U\3\2\2\2\2W\3\2\2\2\2Y\3\2\2\2\2[\3\2\2\2\2]\3\2\2\2\2_\3\2\2\2\2a\3"+ - "\2\2\2\2c\3\2\2\2\2e\3\2\2\2\2g\3\2\2\2\2i\3\2\2\2\2k\3\2\2\2\2m\3\2\2"+ - "\2\2o\3\2\2\2\2q\3\2\2\2\2s\3\2\2\2\2u\3\2\2\2\2w\3\2\2\2\2y\3\2\2\2\2"+ - "{\3\2\2\2\2}\3\2\2\2\2\177\3\2\2\2\2\u0081\3\2\2\2\2\u0083\3\2\2\2\2\u0085"+ - "\3\2\2\2\2\u0087\3\2\2\2\2\u0089\3\2\2\2\2\u008b\3\2\2\2\2\u008d\3\2\2"+ - "\2\2\u008f\3\2\2\2\2\u0091\3\2\2\2\2\u0093\3\2\2\2\2\u0095\3\2\2\2\2\u0097"+ - "\3\2\2\2\2\u0099\3\2\2\2\2\u009b\3\2\2\2\2\u009d\3\2\2\2\2\u009f\3\2\2"+ - "\2\2\u00a1\3\2\2\2\2\u00a3\3\2\2\2\2\u00a5\3\2\2\2\2\u00a7\3\2\2\2\2\u00a9"+ - "\3\2\2\2\2\u00ab\3\2\2\2\2\u00ad\3\2\2\2\2\u00af\3\2\2\2\2\u00b1\3\2\2"+ - "\2\2\u00b3\3\2\2\2\2\u00b5\3\2\2\2\2\u00b7\3\2\2\2\2\u00b9\3\2\2\2\2\u00bb"+ - "\3\2\2\2\2\u00bd\3\2\2\2\2\u00bf\3\2\2\2\2\u00c1\3\2\2\2\2\u00c3\3\2\2"+ - "\2\2\u00c9\3\2\2\2\2\u00cb\3\2\2\2\3\u00cd\3\2\2\2\5\u00cf\3\2\2\2\7\u00d1"+ - "\3\2\2\2\t\u00d6\3\2\2\2\13\u00de\3\2\2\2\r\u00e8\3\2\2\2\17\u00f2\3\2"+ - "\2\2\21\u00fb\3\2\2\2\23\u0103\3\2\2\2\25\u010f\3\2\2\2\27\u011b\3\2\2"+ - "\2\31\u0126\3\2\2\2\33\u012e\3\2\2\2\35\u0130\3\2\2\2\37\u0132\3\2\2\2"+ - "!\u0138\3\2\2\2#\u013f\3\2\2\2%\u0144\3\2\2\2\'\u0149\3\2\2\2)\u014f\3"+ - "\2\2\2+\u0153\3\2\2\2-\u0159\3\2\2\2/\u015f\3\2\2\2\61\u0166\3\2\2\2\63"+ - "\u0168\3\2\2\2\65\u016a\3\2\2\2\67\u016d\3\2\2\29\u0170\3\2\2\2;\u0173"+ - "\3\2\2\2=\u0176\3\2\2\2?\u017a\3\2\2\2A\u017d\3\2\2\2C\u0180\3\2\2\2E"+ - "\u0183\3\2\2\2G\u0186\3\2\2\2I\u0189\3\2\2\2K\u018b\3\2\2\2M\u018d\3\2"+ - "\2\2O\u018f\3\2\2\2Q\u0191\3\2\2\2S\u0194\3\2\2\2U\u0196\3\2\2\2W\u0198"+ - "\3\2\2\2Y\u019a\3\2\2\2[\u019c\3\2\2\2]\u019e\3\2\2\2_\u01a1\3\2\2\2a"+ - "\u01a4\3\2\2\2c\u01a7\3\2\2\2e\u01aa\3\2\2\2g\u01ac\3\2\2\2i\u01ae\3\2"+ - "\2\2k\u01b0\3\2\2\2m\u01b3\3\2\2\2o\u01b7\3\2\2\2q\u01ba\3\2\2\2s\u01be"+ - "\3\2\2\2u\u01c2\3\2\2\2w\u01c9\3\2\2\2y\u01cb\3\2\2\2{\u01cd\3\2\2\2}"+ - "\u01cf\3\2\2\2\177\u01d1\3\2\2\2\u0081\u01d4\3\2\2\2\u0083\u01d7\3\2\2"+ - "\2\u0085\u01da\3\2\2\2\u0087\u01dd\3\2\2\2\u0089\u01e0\3\2\2\2\u008b\u01e3"+ - "\3\2\2\2\u008d\u01e6\3\2\2\2\u008f\u01e9\3\2\2\2\u0091\u01ee\3\2\2\2\u0093"+ - "\u01f4\3\2\2\2\u0095\u01f9\3\2\2\2\u0097\u01fd\3\2\2\2\u0099\u0200\3\2"+ - "\2\2\u009b\u0202\3\2\2\2\u009d\u0204\3\2\2\2\u009f\u0206\3\2\2\2\u00a1"+ - "\u0209\3\2\2\2\u00a3\u020e\3\2\2\2\u00a5\u0214\3\2\2\2\u00a7\u021a\3\2"+ - "\2\2\u00a9\u0220\3\2\2\2\u00ab\u0226\3\2\2\2\u00ad\u022c\3\2\2\2\u00af"+ - "\u0232\3\2\2\2\u00b1\u0238\3\2\2\2\u00b3\u023e\3\2\2\2\u00b5\u0249\3\2"+ - "\2\2\u00b7\u0252\3\2\2\2\u00b9\u0257\3\2\2\2\u00bb\u025b\3\2\2\2\u00bd"+ - "\u0269\3\2\2\2\u00bf\u026b\3\2\2\2\u00c1\u0271\3\2\2\2\u00c3\u0277\3\2"+ - "\2\2\u00c5\u0280\3\2\2\2\u00c7\u0290\3\2\2\2\u00c9\u0292\3\2\2\2\u00cb"+ - "\u029d\3\2\2\2\u00cd\u00ce\7\u0080\2\2\u00ce\4\3\2\2\2\u00cf\u00d0\7<"+ - "\2\2\u00d0\6\3\2\2\2\u00d1\u00d2\7i\2\2\u00d2\u00d3\7q\2\2\u00d3\u00d4"+ - "\7v\2\2\u00d4\u00d5\7q\2\2\u00d5\b\3\2\2\2\u00d6\u00d7\7\'\2\2\u00d7\u00d8"+ - "\7q\2\2\u00d8\u00d9\7w\2\2\u00d9\u00da\7v\2\2\u00da\u00db\7r\2\2\u00db"+ - "\u00dc\7w\2\2\u00dc\u00dd\7v\2\2\u00dd\n\3\2\2\2\u00de\u00df\7\'\2\2\u00df"+ - "\u00e0\7n\2\2\u00e0\u00e1\7c\2\2\u00e1\u00e2\7w\2\2\u00e2\u00e3\7p\2\2"+ - "\u00e3\u00e4\7e\2\2\u00e4\u00e5\7j\2\2\u00e5\u00e6\7g\2\2\u00e6\u00e7"+ - "\7t\2\2\u00e7\f\3\2\2\2\u00e8\u00e9\7\'\2\2\u00e9\u00ea\7|\2\2\u00ea\u00eb"+ - "\7g\2\2\u00eb\u00ec\7t\2\2\u00ec\u00ed\7q\2\2\u00ed\u00ee\7r\2\2\u00ee"+ - "\u00ef\7c\2\2\u00ef\u00f0\7i\2\2\u00f0\u00f1\7g\2\2\u00f1\16\3\2\2\2\u00f2"+ - "\u00f3\7\'\2\2\u00f3\u00f4\7c\2\2\u00f4\u00f5\7f\2\2\u00f5\u00f6\7f\2"+ - "\2\u00f6\u00f7\7t\2\2\u00f7\u00f8\7g\2\2\u00f8\u00f9\7u\2\2\u00f9\u00fa"+ - "\7u\2\2\u00fa\20\3\2\2\2\u00fb\u00fc\7\'\2\2\u00fc\u00fd\7k\2\2\u00fd"+ - "\u00fe\7o\2\2\u00fe\u00ff\7r\2\2\u00ff\u0100\7q\2\2\u0100\u0101\7t\2\2"+ - "\u0101\u0102\7v\2\2\u0102\22\3\2\2\2\u0103\u0104\7\'\2\2\u0104\u0105\7"+ - "d\2\2\u0105\u0106\7t\2\2\u0106\u0107\7g\2\2\u0107\u0108\7c\2\2\u0108\u0109"+ - "\7m\2\2\u0109\u010a\7r\2\2\u010a\u010b\7q\2\2\u010b\u010c\7k\2\2\u010c"+ - "\u010d\7p\2\2\u010d\u010e\7v\2\2\u010e\24\3\2\2\2\u010f\u0110\7\'\2\2"+ - "\u0110\u0111\7c\2\2\u0111\u0112\7u\2\2\u0112\u0113\7o\2\2\u0113\u0114"+ - "\7k\2\2\u0114\u0115\7p\2\2\u0115\u0116\7e\2\2\u0116\u0117\7n\2\2\u0117"+ - "\u0118\7w\2\2\u0118\u0119\7f\2\2\u0119\u011a\7g\2\2\u011a\26\3\2\2\2\u011b"+ - "\u011c\7\'\2\2\u011c\u011d\7c\2\2\u011d\u011e\7u\2\2\u011e\u011f\7o\2"+ - "\2\u011f\u0120\7d\2\2\u0120\u0121\7k\2\2\u0121\u0122\7p\2\2\u0122\u0123"+ - "\7c\2\2\u0123\u0124\7t\2\2\u0124\u0125\7{\2\2\u0125\30\3\2\2\2\u0126\u0127"+ - "\7\'\2\2\u0127\u0128\7q\2\2\u0128\u0129\7r\2\2\u0129\u012a\7v\2\2\u012a"+ - "\u012b\7k\2\2\u012b\u012c\7q\2\2\u012c\u012d\7p\2\2\u012d\32\3\2\2\2\u012e"+ - "\u012f\7.\2\2\u012f\34\3\2\2\2\u0130\u0131\7?\2\2\u0131\36\3\2\2\2\u0132"+ - "\u0133\7e\2\2\u0133\u0134\7q\2\2\u0134\u0135\7p\2\2\u0135\u0136\7u\2\2"+ - "\u0136\u0137\7v\2\2\u0137 \3\2\2\2\u0138\u0139\7o\2\2\u0139\u013a\7g\2"+ - "\2\u013a\u013b\7o\2\2\u013b\u013c\7q\2\2\u013c\u013d\7t\2\2\u013d\u013e"+ - "\7{\2\2\u013e\"\3\2\2\2\u013f\u0140\7d\2\2\u0140\u0141\7{\2\2\u0141\u0142"+ - "\7v\2\2\u0142\u0143\7g\2\2\u0143$\3\2\2\2\u0144\u0145\7y\2\2\u0145\u0146"+ - "\7q\2\2\u0146\u0147\7t\2\2\u0147\u0148\7f\2\2\u0148&\3\2\2\2\u0149\u014a"+ - "\7h\2\2\u014a\u014b\7n\2\2\u014b\u014c\7q\2\2\u014c\u014d\7c\2\2\u014d"+ - "\u014e\7v\2\2\u014e(\3\2\2\2\u014f\u0150\7u\2\2\u0150\u0151\7v\2\2\u0151"+ - "\u0152\7t\2\2\u0152*\3\2\2\2\u0153\u0154\7u\2\2\u0154\u0155\7v\2\2\u0155"+ - "\u0156\7t\2\2\u0156\u0157\7a\2\2\u0157\u0158\7r\2\2\u0158,\3\2\2\2\u0159"+ - "\u015a\7u\2\2\u015a\u015b\7v\2\2\u015b\u015c\7t\2\2\u015c\u015d\7a\2\2"+ - "\u015d\u015e\7u\2\2\u015e.\3\2\2\2\u015f\u0160\7u\2\2\u0160\u0161\7v\2"+ - "\2\u0161\u0162\7t\2\2\u0162\u0163\7a\2\2\u0163\u0164\7r\2\2\u0164\u0165"+ - "\7u\2\2\u0165\60\3\2\2\2\u0166\u0167\7]\2\2\u0167\62\3\2\2\2\u0168\u0169"+ - "\7_\2\2\u0169\64\3\2\2\2\u016a\u016b\7-\2\2\u016b\u016c\7?\2\2\u016c\66"+ - "\3\2\2\2\u016d\u016e\7/\2\2\u016e\u016f\7?\2\2\u016f8\3\2\2\2\u0170\u0171"+ - "\7\61\2\2\u0171\u0172\7?\2\2\u0172:\3\2\2\2\u0173\u0174\7,\2\2\u0174\u0175"+ - "\7?\2\2\u0175<\3\2\2\2\u0176\u0177\7,\2\2\u0177\u0178\7,\2\2\u0178\u0179"+ - "\7?\2\2\u0179>\3\2\2\2\u017a\u017b\7(\2\2\u017b\u017c\7?\2\2\u017c@\3"+ - "\2\2\2\u017d\u017e\7~\2\2\u017e\u017f\7?\2\2\u017fB\3\2\2\2\u0180\u0181"+ - "\7`\2\2\u0181\u0182\7?\2\2\u0182D\3\2\2\2\u0183\u0184\7-\2\2\u0184\u0185"+ - "\7-\2\2\u0185F\3\2\2\2\u0186\u0187\7/\2\2\u0187\u0188\7/\2\2\u0188H\3"+ - "\2\2\2\u0189\u018a\7*\2\2\u018aJ\3\2\2\2\u018b\u018c\7+\2\2\u018cL\3\2"+ - "\2\2\u018d\u018e\7-\2\2\u018eN\3\2\2\2\u018f\u0190\7/\2\2\u0190P\3\2\2"+ - "\2\u0191\u0192\7,\2\2\u0192\u0193\7,\2\2\u0193R\3\2\2\2\u0194\u0195\7"+ - ",\2\2\u0195T\3\2\2\2\u0196\u0197\7\61\2\2\u0197V\3\2\2\2\u0198\u0199\7"+ - "\'\2\2\u0199X\3\2\2\2\u019a\u019b\7>\2\2\u019bZ\3\2\2\2\u019c\u019d\7"+ - "@\2\2\u019d\\\3\2\2\2\u019e\u019f\7>\2\2\u019f\u01a0\7?\2\2\u01a0^\3\2"+ - "\2\2\u01a1\u01a2\7@\2\2\u01a2\u01a3\7?\2\2\u01a3`\3\2\2\2\u01a4\u01a5"+ - "\7?\2\2\u01a5\u01a6\7?\2\2\u01a6b\3\2\2\2\u01a7\u01a8\7#\2\2\u01a8\u01a9"+ - "\7?\2\2\u01a9d\3\2\2\2\u01aa\u01ab\7(\2\2\u01abf\3\2\2\2\u01ac\u01ad\7"+ - "`\2\2\u01adh\3\2\2\2\u01ae\u01af\7~\2\2\u01afj\3\2\2\2\u01b0\u01b1\7v"+ - "\2\2\u01b1\u01b2\7q\2\2\u01b2l\3\2\2\2\u01b3\u01b4\7c\2\2\u01b4\u01b5"+ - "\7p\2\2\u01b5\u01b6\7f\2\2\u01b6n\3\2\2\2\u01b7\u01b8\7q\2\2\u01b8\u01b9"+ - "\7t\2\2\u01b9p\3\2\2\2\u01ba\u01bb\7z\2\2\u01bb\u01bc\7q\2\2\u01bc\u01bd"+ - "\7t\2\2\u01bdr\3\2\2\2\u01be\u01bf\7p\2\2\u01bf\u01c0\7q\2\2\u01c0\u01c1"+ - "\7v\2\2\u01c1t\3\2\2\2\u01c2\u01c3\7t\2\2\u01c3\u01c4\7g\2\2\u01c4\u01c5"+ - "\7v\2\2\u01c5\u01c6\7w\2\2\u01c6\u01c7\7t\2\2\u01c7\u01c8\7p\2\2\u01c8"+ - "v\3\2\2\2\u01c9\u01ca\7\60\2\2\u01cax\3\2\2\2\u01cb\u01cc\7C\2\2\u01cc"+ - "z\3\2\2\2\u01cd\u01ce\7Z\2\2\u01ce|\3\2\2\2\u01cf\u01d0\7[\2\2\u01d0~"+ - "\3\2\2\2\u01d1\u01d2\7C\2\2\u01d2\u01d3\7Z\2\2\u01d3\u0080\3\2\2\2\u01d4"+ - "\u01d5\7C\2\2\u01d5\u01d6\7[\2\2\u01d6\u0082\3\2\2\2\u01d7\u01d8\7Z\2"+ - "\2\u01d8\u01d9\7[\2\2\u01d9\u0084\3\2\2\2\u01da\u01db\7R\2\2\u01db\u01dc"+ - "\7e\2\2\u01dc\u0086\3\2\2\2\u01dd\u01de\7R\2\2\u01de\u01df\7|\2\2\u01df"+ - "\u0088\3\2\2\2\u01e0\u01e1\7R\2\2\u01e1\u01e2\7p\2\2\u01e2\u008a\3\2\2"+ - "\2\u01e3\u01e4\7R\2\2\u01e4\u01e5\7x\2\2\u01e5\u008c\3\2\2\2\u01e6\u01e7"+ - "\7\60\2\2\u01e7\u01e8\7y\2\2\u01e8\u008e\3\2\2\2\u01e9\u01ea\7v\2\2\u01ea"+ - "\u01eb\7t\2\2\u01eb\u01ec\7w\2\2\u01ec\u01ed\7g\2\2\u01ed\u0090\3\2\2"+ - "\2\u01ee\u01ef\7h\2\2\u01ef\u01f0\7c\2\2\u01f0\u01f1\7n\2\2\u01f1\u01f2"+ - "\7u\2\2\u01f2\u01f3\7g\2\2\u01f3\u0092\3\2\2\2\u01f4\u01f5\7\'\2\2\u01f5"+ - "\u01f6\7c\2\2\u01f6\u01f7\7u\2\2\u01f7\u01f8\7o\2\2\u01f8\u0094\3\2\2"+ - "\2\u01f9\u01fa\7u\2\2\u01fa\u01fb\7w\2\2\u01fb\u01fc\7d\2\2\u01fc\u0096"+ - "\3\2\2\2\u01fd\u01fe\7/\2\2\u01fe\u01ff\7@\2\2\u01ff\u0098\3\2\2\2\u0200"+ - "\u0201\7}\2\2\u0201\u009a\3\2\2\2\u0202\u0203\7\177\2\2\u0203\u009c\3"+ - "\2\2\2\u0204\u0205\7A\2\2\u0205\u009e\3\2\2\2\u0206\u0207\7k\2\2\u0207"+ - "\u0208\7h\2\2\u0208\u00a0\3\2\2\2\u0209\u020a\7g\2\2\u020a\u020b\7n\2"+ - "\2\u020b\u020c\7u\2\2\u020c\u020d\7g\2\2\u020d\u00a2\3\2\2\2\u020e\u020f"+ - "\7k\2\2\u020f\u0210\7h\2\2\u0210\u0211\7a\2\2\u0211\u0212\7e\2\2\u0212"+ - "\u0213\7u\2\2\u0213\u00a4\3\2\2\2\u0214\u0215\7k\2\2\u0215\u0216\7h\2"+ - "\2\u0216\u0217\7a\2\2\u0217\u0218\7e\2\2\u0218\u0219\7e\2\2\u0219\u00a6"+ - "\3\2\2\2\u021a\u021b\7k\2\2\u021b\u021c\7h\2\2\u021c\u021d\7a\2\2\u021d"+ - "\u021e\7g\2\2\u021e\u021f\7s\2\2\u021f\u00a8\3\2\2\2\u0220\u0221\7k\2"+ - "\2\u0221\u0222\7h\2\2\u0222\u0223\7a\2\2\u0223\u0224\7p\2\2\u0224\u0225"+ - "\7g\2\2\u0225\u00aa\3\2\2\2\u0226\u0227\7k\2\2\u0227\u0228\7h\2\2\u0228"+ - "\u0229\7a\2\2\u0229\u022a\7r\2\2\u022a\u022b\7n\2\2\u022b\u00ac\3\2\2"+ - "\2\u022c\u022d\7k\2\2\u022d\u022e\7h\2\2\u022e\u022f\7a\2\2\u022f\u0230"+ - "\7o\2\2\u0230\u0231\7k\2\2\u0231\u00ae\3\2\2\2\u0232\u0233\7k\2\2\u0233"+ - "\u0234\7h\2\2\u0234\u0235\7a\2\2\u0235\u0236\7x\2\2\u0236\u0237\7u\2\2"+ - "\u0237\u00b0\3\2\2\2\u0238\u0239\7k\2\2\u0239\u023a\7h\2\2\u023a\u023b"+ - "\7a\2\2\u023b\u023c\7x\2\2\u023c\u023d\7e\2\2\u023d\u00b2\3\2\2\2\u023e"+ - "\u0242\t\2\2\2\u023f\u0241\t\3\2\2\u0240\u023f\3\2\2\2\u0241\u0244\3\2"+ - "\2\2\u0242\u0240\3\2\2\2\u0242\u0243\3\2\2\2\u0243\u0245\3\2\2\2\u0244"+ - "\u0242\3\2\2\2\u0245\u0246\5\u00b5[\2\u0246\u0247\3\2\2\2\u0247\u0248"+ - "\bZ\2\2\u0248\u00b4\3\2\2\2\u0249\u024d\7=\2\2\u024a\u024c\n\2\2\2\u024b"+ - "\u024a\3\2\2\2\u024c\u024f\3\2\2\2\u024d\u024b\3\2\2\2\u024d\u024e\3\2"+ - "\2\2\u024e\u0250\3\2\2\2\u024f\u024d\3\2\2\2\u0250\u0251\b[\2\2\u0251"+ - "\u00b6\3\2\2\2\u0252\u0253\t\3\2\2\u0253\u0254\3\2\2\2\u0254\u0255\b\\"+ - "\3\2\u0255\u00b8\3\2\2\2\u0256\u0258\t\2\2\2\u0257\u0256\3\2\2\2\u0258"+ - "\u0259\3\2\2\2\u0259\u0257\3\2\2\2\u0259\u025a\3\2\2\2\u025a\u00ba\3\2"+ - "\2\2\u025b\u025f\t\4\2\2\u025c\u025e\t\5\2\2\u025d\u025c\3\2\2\2\u025e"+ - "\u0261\3\2\2\2\u025f\u025d\3\2\2\2\u025f\u0260\3\2\2\2\u0260\u00bc\3\2"+ - "\2\2\u0261\u025f\3\2\2\2\u0262\u026a\4\62;\2\u0263\u0265\4\63;\2\u0264"+ - "\u0266\4\62;\2\u0265\u0264\3\2\2\2\u0266\u0267\3\2\2\2\u0267\u0265\3\2"+ - "\2\2\u0267\u0268\3\2\2\2\u0268\u026a\3\2\2\2\u0269\u0262\3\2\2\2\u0269"+ - "\u0263\3\2\2\2\u026a\u00be\3\2\2\2\u026b\u026d\7&\2\2\u026c\u026e\t\6"+ - "\2\2\u026d\u026c\3\2\2\2\u026e\u026f\3\2\2\2\u026f\u026d\3\2\2\2\u026f"+ - "\u0270\3\2\2\2\u0270\u00c0\3\2\2\2\u0271\u0273\7\'\2\2\u0272\u0274\4\62"+ - "\63\2\u0273\u0272\3\2\2\2\u0274\u0275\3\2\2\2\u0275\u0273\3\2\2\2\u0275"+ - "\u0276\3\2\2\2\u0276\u00c2\3\2\2\2\u0277\u027d\5\u00c5c\2\u0278\u027a"+ - "\t\7\2\2\u0279\u027b\t\b\2\2\u027a\u0279\3\2\2\2\u027a\u027b\3\2\2\2\u027b"+ - "\u027c\3\2\2\2\u027c\u027e\5\u00c5c\2\u027d\u0278\3\2\2\2\u027d\u027e"+ - "\3\2\2\2\u027e\u00c4\3\2\2\2\u027f\u0281\4\62;\2\u0280\u027f\3\2\2\2\u0281"+ - "\u0282\3\2\2\2\u0282\u0280\3\2\2\2\u0282\u0283\3\2\2\2\u0283\u028a\3\2"+ - "\2\2\u0284\u0286\7\60\2\2\u0285\u0287\4\62;\2\u0286\u0285\3\2\2\2\u0287"+ - "\u0288\3\2\2\2\u0288\u0286\3\2\2\2\u0288\u0289\3\2\2\2\u0289\u028b\3\2"+ - "\2\2\u028a\u0284\3\2\2\2\u028a\u028b\3\2\2\2\u028b\u00c6\3\2\2\2\u028c"+ - "\u028d\7^\2\2\u028d\u0291\13\2\2\2\u028e\u028f\7^\2\2\u028f\u0291\5\u00b9"+ - "]\2\u0290\u028c\3\2\2\2\u0290\u028e\3\2\2\2\u0291\u00c8\3\2\2\2\u0292"+ - "\u0297\7$\2\2\u0293\u0296\5\u00c7d\2\u0294\u0296\n\t\2\2\u0295\u0293\3"+ - "\2\2\2\u0295\u0294\3\2\2\2\u0296\u0299\3\2\2\2\u0297\u0295\3\2\2\2\u0297"+ - "\u0298\3\2\2\2\u0298\u029a\3\2\2\2\u0299\u0297\3\2\2\2\u029a\u029b\7$"+ - "\2\2\u029b\u029c\be\4\2\u029c\u00ca\3\2\2\2\u029d\u029e\7}\2\2\u029e\u029f"+ - "\7}\2\2\u029f\u02a1\3\2\2\2\u02a0\u02a2\13\2\2\2\u02a1\u02a0\3\2\2\2\u02a2"+ - "\u02a3\3\2\2\2\u02a3\u02a4\3\2\2\2\u02a3\u02a1\3\2\2\2\u02a4\u02a5\3\2"+ - "\2\2\u02a5\u02a6\7\177\2\2\u02a6\u02a7\7\177\2\2\u02a7\u02a8\3\2\2\2\u02a8"+ - "\u02a9\bf\5\2\u02a9\u00cc\3\2\2\2\25\2\u0242\u024d\u0259\u025f\u0267\u0269"+ - "\u026d\u026f\u0275\u027a\u027d\u0282\u0288\u028a\u0290\u0295\u0297\u02a3"+ - "\6\2\3\2\b\2\2\3e\2\3f\3"; + "`\t`\4a\ta\4b\tb\4c\tc\4d\td\4e\te\4f\tf\4g\tg\4h\th\4i\ti\4j\tj\4k\t"+ + "k\3\2\3\2\3\3\3\3\3\4\3\4\3\4\3\4\3\4\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5"+ + "\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\6\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3"+ + "\7\3\7\3\7\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\t\3\t\3\t\3\t\3\t\3\t"+ + "\3\t\3\t\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\13\3\13\3\13"+ + "\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\f\3\f\3\f\3\f\3\f\3\f"+ + "\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\16\3\16\3\17\3"+ + "\17\3\20\3\20\3\20\3\20\3\20\3\20\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3"+ + "\22\3\22\3\22\3\22\3\22\3\23\3\23\3\23\3\23\3\23\3\24\3\24\3\24\3\24\3"+ + "\24\3\24\3\25\3\25\3\25\3\25\3\26\3\26\3\26\3\26\3\26\3\26\3\27\3\27\3"+ + "\27\3\27\3\27\3\27\3\30\3\30\3\30\3\30\3\30\3\30\3\30\3\31\3\31\3\32\3"+ + "\32\3\33\3\33\3\33\3\34\3\34\3\34\3\35\3\35\3\35\3\36\3\36\3\36\3\37\3"+ + "\37\3\37\3\37\3 \3 \3 \3!\3!\3!\3\"\3\"\3\"\3#\3#\3#\3$\3$\3$\3%\3%\3"+ + "&\3&\3\'\3\'\3(\3(\3)\3)\3)\3*\3*\3+\3+\3,\3,\3-\3-\3.\3.\3/\3/\3/\3\60"+ + "\3\60\3\60\3\61\3\61\3\61\3\62\3\62\3\62\3\63\3\63\3\64\3\64\3\65\3\65"+ + "\3\66\3\66\3\66\3\67\3\67\3\67\3\67\38\38\38\39\39\39\39\3:\3:\3:\3:\3"+ + ";\3;\3;\3;\3;\3;\3;\3<\3<\3<\3<\3<\3<\3=\3=\3=\3=\3=\3=\3=\3=\3=\3>\3"+ + ">\3?\3?\3@\3@\3A\3A\3B\3B\3B\3C\3C\3C\3D\3D\3D\3E\3E\3E\3F\3F\3F\3G\3"+ + "G\3G\3H\3H\3H\3I\3I\3I\3J\3J\3J\3J\3J\3K\3K\3K\3K\3K\3K\3L\3L\3L\3L\3"+ + "L\3M\3M\3M\3M\3N\3N\3N\3O\3O\3P\3P\3Q\3Q\3R\3R\3R\3S\3S\3S\3S\3S\3T\3"+ + "T\3T\3T\3T\3T\3U\3U\3U\3U\3U\3U\3V\3V\3V\3V\3V\3V\3W\3W\3W\3W\3W\3W\3"+ + "X\3X\3X\3X\3X\3X\3Y\3Y\3Y\3Y\3Y\3Y\3Z\3Z\3Z\3Z\3Z\3Z\3[\3[\3[\3[\3[\3"+ + "[\3\\\3\\\3\\\3\\\3]\3]\3]\3^\3^\3^\3^\3^\3_\3_\7_\u0266\n_\f_\16_\u0269"+ + "\13_\3_\3_\3_\3_\3`\3`\7`\u0271\n`\f`\16`\u0274\13`\3`\3`\3a\3a\3a\3a"+ + "\3b\6b\u027d\nb\rb\16b\u027e\3c\3c\7c\u0283\nc\fc\16c\u0286\13c\3d\3d"+ + "\3d\6d\u028b\nd\rd\16d\u028c\5d\u028f\nd\3e\3e\6e\u0293\ne\re\16e\u0294"+ + "\3f\3f\6f\u0299\nf\rf\16f\u029a\3g\3g\3g\5g\u02a0\ng\3g\5g\u02a3\ng\3"+ + "h\6h\u02a6\nh\rh\16h\u02a7\3h\3h\6h\u02ac\nh\rh\16h\u02ad\5h\u02b0\nh"+ + "\3i\3i\3i\3i\5i\u02b6\ni\3j\3j\3j\7j\u02bb\nj\fj\16j\u02be\13j\3j\3j\3"+ + "j\3k\3k\3k\3k\6k\u02c7\nk\rk\16k\u02c8\3k\3k\3k\3k\3k\3\u02c8\2l\3\3\5"+ + "\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16\33\17\35\20\37\21"+ + "!\22#\23%\24\'\25)\26+\27-\30/\31\61\32\63\33\65\34\67\359\36;\37= ?!"+ + "A\"C#E$G%I&K\'M(O)Q*S+U,W-Y.[/]\60_\61a\62c\63e\64g\65i\66k\67m8o9q:s"+ + ";u{?}@\177A\u0081B\u0083C\u0085D\u0087E\u0089F\u008bG\u008dH\u008f"+ + "I\u0091J\u0093K\u0095L\u0097M\u0099N\u009bO\u009dP\u009fQ\u00a1R\u00a3"+ + "S\u00a5T\u00a7U\u00a9V\u00abW\u00adX\u00afY\u00b1Z\u00b3[\u00b5\\\u00b7"+ + "]\u00b9^\u00bb_\u00bd`\u00bfa\u00c1b\u00c3c\u00c5d\u00c7e\u00c9f\u00cb"+ + "g\u00cdh\u00cf\2\u00d1\2\u00d3i\u00d5j\3\2\n\4\2\f\f\17\17\4\2\13\13\""+ + "\"\5\2C\\aac|\6\2\62;C\\aac|\5\2\62;CHch\4\2GGgg\4\2--//\6\2\f\f\16\17"+ + "$$^^\2\u02dd\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2"+ + "\2\2\2\r\3\2\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2\2\2"+ + "\27\3\2\2\2\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2"+ + "\2\2\2#\3\2\2\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2"+ + "\2\2/\3\2\2\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67\3\2\2\2\29\3"+ + "\2\2\2\2;\3\2\2\2\2=\3\2\2\2\2?\3\2\2\2\2A\3\2\2\2\2C\3\2\2\2\2E\3\2\2"+ + "\2\2G\3\2\2\2\2I\3\2\2\2\2K\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\2Q\3\2\2\2\2"+ + "S\3\2\2\2\2U\3\2\2\2\2W\3\2\2\2\2Y\3\2\2\2\2[\3\2\2\2\2]\3\2\2\2\2_\3"+ + "\2\2\2\2a\3\2\2\2\2c\3\2\2\2\2e\3\2\2\2\2g\3\2\2\2\2i\3\2\2\2\2k\3\2\2"+ + "\2\2m\3\2\2\2\2o\3\2\2\2\2q\3\2\2\2\2s\3\2\2\2\2u\3\2\2\2\2w\3\2\2\2\2"+ + "y\3\2\2\2\2{\3\2\2\2\2}\3\2\2\2\2\177\3\2\2\2\2\u0081\3\2\2\2\2\u0083"+ + "\3\2\2\2\2\u0085\3\2\2\2\2\u0087\3\2\2\2\2\u0089\3\2\2\2\2\u008b\3\2\2"+ + "\2\2\u008d\3\2\2\2\2\u008f\3\2\2\2\2\u0091\3\2\2\2\2\u0093\3\2\2\2\2\u0095"+ + "\3\2\2\2\2\u0097\3\2\2\2\2\u0099\3\2\2\2\2\u009b\3\2\2\2\2\u009d\3\2\2"+ + "\2\2\u009f\3\2\2\2\2\u00a1\3\2\2\2\2\u00a3\3\2\2\2\2\u00a5\3\2\2\2\2\u00a7"+ + "\3\2\2\2\2\u00a9\3\2\2\2\2\u00ab\3\2\2\2\2\u00ad\3\2\2\2\2\u00af\3\2\2"+ + "\2\2\u00b1\3\2\2\2\2\u00b3\3\2\2\2\2\u00b5\3\2\2\2\2\u00b7\3\2\2\2\2\u00b9"+ + "\3\2\2\2\2\u00bb\3\2\2\2\2\u00bd\3\2\2\2\2\u00bf\3\2\2\2\2\u00c1\3\2\2"+ + "\2\2\u00c3\3\2\2\2\2\u00c5\3\2\2\2\2\u00c7\3\2\2\2\2\u00c9\3\2\2\2\2\u00cb"+ + "\3\2\2\2\2\u00cd\3\2\2\2\2\u00d3\3\2\2\2\2\u00d5\3\2\2\2\3\u00d7\3\2\2"+ + "\2\5\u00d9\3\2\2\2\7\u00db\3\2\2\2\t\u00e0\3\2\2\2\13\u00e8\3\2\2\2\r"+ + "\u00f2\3\2\2\2\17\u00fc\3\2\2\2\21\u0105\3\2\2\2\23\u010d\3\2\2\2\25\u0119"+ + "\3\2\2\2\27\u0125\3\2\2\2\31\u0130\3\2\2\2\33\u0138\3\2\2\2\35\u013a\3"+ + "\2\2\2\37\u013c\3\2\2\2!\u0142\3\2\2\2#\u0149\3\2\2\2%\u014e\3\2\2\2\'"+ + "\u0153\3\2\2\2)\u0159\3\2\2\2+\u015d\3\2\2\2-\u0163\3\2\2\2/\u0169\3\2"+ + "\2\2\61\u0170\3\2\2\2\63\u0172\3\2\2\2\65\u0174\3\2\2\2\67\u0177\3\2\2"+ + "\29\u017a\3\2\2\2;\u017d\3\2\2\2=\u0180\3\2\2\2?\u0184\3\2\2\2A\u0187"+ + "\3\2\2\2C\u018a\3\2\2\2E\u018d\3\2\2\2G\u0190\3\2\2\2I\u0193\3\2\2\2K"+ + "\u0195\3\2\2\2M\u0197\3\2\2\2O\u0199\3\2\2\2Q\u019b\3\2\2\2S\u019e\3\2"+ + "\2\2U\u01a0\3\2\2\2W\u01a2\3\2\2\2Y\u01a4\3\2\2\2[\u01a6\3\2\2\2]\u01a8"+ + "\3\2\2\2_\u01ab\3\2\2\2a\u01ae\3\2\2\2c\u01b1\3\2\2\2e\u01b4\3\2\2\2g"+ + "\u01b6\3\2\2\2i\u01b8\3\2\2\2k\u01ba\3\2\2\2m\u01bd\3\2\2\2o\u01c1\3\2"+ + "\2\2q\u01c4\3\2\2\2s\u01c8\3\2\2\2u\u01cc\3\2\2\2w\u01d3\3\2\2\2y\u01d9"+ + "\3\2\2\2{\u01e2\3\2\2\2}\u01e4\3\2\2\2\177\u01e6\3\2\2\2\u0081\u01e8\3"+ + "\2\2\2\u0083\u01ea\3\2\2\2\u0085\u01ed\3\2\2\2\u0087\u01f0\3\2\2\2\u0089"+ + "\u01f3\3\2\2\2\u008b\u01f6\3\2\2\2\u008d\u01f9\3\2\2\2\u008f\u01fc\3\2"+ + "\2\2\u0091\u01ff\3\2\2\2\u0093\u0202\3\2\2\2\u0095\u0207\3\2\2\2\u0097"+ + "\u020d\3\2\2\2\u0099\u0212\3\2\2\2\u009b\u0216\3\2\2\2\u009d\u0219\3\2"+ + "\2\2\u009f\u021b\3\2\2\2\u00a1\u021d\3\2\2\2\u00a3\u021f\3\2\2\2\u00a5"+ + "\u0222\3\2\2\2\u00a7\u0227\3\2\2\2\u00a9\u022d\3\2\2\2\u00ab\u0233\3\2"+ + "\2\2\u00ad\u0239\3\2\2\2\u00af\u023f\3\2\2\2\u00b1\u0245\3\2\2\2\u00b3"+ + "\u024b\3\2\2\2\u00b5\u0251\3\2\2\2\u00b7\u0257\3\2\2\2\u00b9\u025b\3\2"+ + "\2\2\u00bb\u025e\3\2\2\2\u00bd\u0263\3\2\2\2\u00bf\u026e\3\2\2\2\u00c1"+ + "\u0277\3\2\2\2\u00c3\u027c\3\2\2\2\u00c5\u0280\3\2\2\2\u00c7\u028e\3\2"+ + "\2\2\u00c9\u0290\3\2\2\2\u00cb\u0296\3\2\2\2\u00cd\u029c\3\2\2\2\u00cf"+ + "\u02a5\3\2\2\2\u00d1\u02b5\3\2\2\2\u00d3\u02b7\3\2\2\2\u00d5\u02c2\3\2"+ + "\2\2\u00d7\u00d8\7\u0080\2\2\u00d8\4\3\2\2\2\u00d9\u00da\7<\2\2\u00da"+ + "\6\3\2\2\2\u00db\u00dc\7i\2\2\u00dc\u00dd\7q\2\2\u00dd\u00de\7v\2\2\u00de"+ + "\u00df\7q\2\2\u00df\b\3\2\2\2\u00e0\u00e1\7\'\2\2\u00e1\u00e2\7q\2\2\u00e2"+ + "\u00e3\7w\2\2\u00e3\u00e4\7v\2\2\u00e4\u00e5\7r\2\2\u00e5\u00e6\7w\2\2"+ + "\u00e6\u00e7\7v\2\2\u00e7\n\3\2\2\2\u00e8\u00e9\7\'\2\2\u00e9\u00ea\7"+ + "n\2\2\u00ea\u00eb\7c\2\2\u00eb\u00ec\7w\2\2\u00ec\u00ed\7p\2\2\u00ed\u00ee"+ + "\7e\2\2\u00ee\u00ef\7j\2\2\u00ef\u00f0\7g\2\2\u00f0\u00f1\7t\2\2\u00f1"+ + "\f\3\2\2\2\u00f2\u00f3\7\'\2\2\u00f3\u00f4\7|\2\2\u00f4\u00f5\7g\2\2\u00f5"+ + "\u00f6\7t\2\2\u00f6\u00f7\7q\2\2\u00f7\u00f8\7r\2\2\u00f8\u00f9\7c\2\2"+ + "\u00f9\u00fa\7i\2\2\u00fa\u00fb\7g\2\2\u00fb\16\3\2\2\2\u00fc\u00fd\7"+ + "\'\2\2\u00fd\u00fe\7c\2\2\u00fe\u00ff\7f\2\2\u00ff\u0100\7f\2\2\u0100"+ + "\u0101\7t\2\2\u0101\u0102\7g\2\2\u0102\u0103\7u\2\2\u0103\u0104\7u\2\2"+ + "\u0104\20\3\2\2\2\u0105\u0106\7\'\2\2\u0106\u0107\7k\2\2\u0107\u0108\7"+ + "o\2\2\u0108\u0109\7r\2\2\u0109\u010a\7q\2\2\u010a\u010b\7t\2\2\u010b\u010c"+ + "\7v\2\2\u010c\22\3\2\2\2\u010d\u010e\7\'\2\2\u010e\u010f\7d\2\2\u010f"+ + "\u0110\7t\2\2\u0110\u0111\7g\2\2\u0111\u0112\7c\2\2\u0112\u0113\7m\2\2"+ + "\u0113\u0114\7r\2\2\u0114\u0115\7q\2\2\u0115\u0116\7k\2\2\u0116\u0117"+ + "\7p\2\2\u0117\u0118\7v\2\2\u0118\24\3\2\2\2\u0119\u011a\7\'\2\2\u011a"+ + "\u011b\7c\2\2\u011b\u011c\7u\2\2\u011c\u011d\7o\2\2\u011d\u011e\7k\2\2"+ + "\u011e\u011f\7p\2\2\u011f\u0120\7e\2\2\u0120\u0121\7n\2\2\u0121\u0122"+ + "\7w\2\2\u0122\u0123\7f\2\2\u0123\u0124\7g\2\2\u0124\26\3\2\2\2\u0125\u0126"+ + "\7\'\2\2\u0126\u0127\7c\2\2\u0127\u0128\7u\2\2\u0128\u0129\7o\2\2\u0129"+ + "\u012a\7d\2\2\u012a\u012b\7k\2\2\u012b\u012c\7p\2\2\u012c\u012d\7c\2\2"+ + "\u012d\u012e\7t\2\2\u012e\u012f\7{\2\2\u012f\30\3\2\2\2\u0130\u0131\7"+ + "\'\2\2\u0131\u0132\7q\2\2\u0132\u0133\7r\2\2\u0133\u0134\7v\2\2\u0134"+ + "\u0135\7k\2\2\u0135\u0136\7q\2\2\u0136\u0137\7p\2\2\u0137\32\3\2\2\2\u0138"+ + "\u0139\7.\2\2\u0139\34\3\2\2\2\u013a\u013b\7?\2\2\u013b\36\3\2\2\2\u013c"+ + "\u013d\7e\2\2\u013d\u013e\7q\2\2\u013e\u013f\7p\2\2\u013f\u0140\7u\2\2"+ + "\u0140\u0141\7v\2\2\u0141 \3\2\2\2\u0142\u0143\7o\2\2\u0143\u0144\7g\2"+ + "\2\u0144\u0145\7o\2\2\u0145\u0146\7q\2\2\u0146\u0147\7t\2\2\u0147\u0148"+ + "\7{\2\2\u0148\"\3\2\2\2\u0149\u014a\7d\2\2\u014a\u014b\7{\2\2\u014b\u014c"+ + "\7v\2\2\u014c\u014d\7g\2\2\u014d$\3\2\2\2\u014e\u014f\7y\2\2\u014f\u0150"+ + "\7q\2\2\u0150\u0151\7t\2\2\u0151\u0152\7f\2\2\u0152&\3\2\2\2\u0153\u0154"+ + "\7h\2\2\u0154\u0155\7n\2\2\u0155\u0156\7q\2\2\u0156\u0157\7c\2\2\u0157"+ + "\u0158\7v\2\2\u0158(\3\2\2\2\u0159\u015a\7u\2\2\u015a\u015b\7v\2\2\u015b"+ + "\u015c\7t\2\2\u015c*\3\2\2\2\u015d\u015e\7u\2\2\u015e\u015f\7v\2\2\u015f"+ + "\u0160\7t\2\2\u0160\u0161\7a\2\2\u0161\u0162\7r\2\2\u0162,\3\2\2\2\u0163"+ + "\u0164\7u\2\2\u0164\u0165\7v\2\2\u0165\u0166\7t\2\2\u0166\u0167\7a\2\2"+ + "\u0167\u0168\7u\2\2\u0168.\3\2\2\2\u0169\u016a\7u\2\2\u016a\u016b\7v\2"+ + "\2\u016b\u016c\7t\2\2\u016c\u016d\7a\2\2\u016d\u016e\7r\2\2\u016e\u016f"+ + "\7u\2\2\u016f\60\3\2\2\2\u0170\u0171\7]\2\2\u0171\62\3\2\2\2\u0172\u0173"+ + "\7_\2\2\u0173\64\3\2\2\2\u0174\u0175\7-\2\2\u0175\u0176\7?\2\2\u0176\66"+ + "\3\2\2\2\u0177\u0178\7/\2\2\u0178\u0179\7?\2\2\u01798\3\2\2\2\u017a\u017b"+ + "\7\61\2\2\u017b\u017c\7?\2\2\u017c:\3\2\2\2\u017d\u017e\7,\2\2\u017e\u017f"+ + "\7?\2\2\u017f<\3\2\2\2\u0180\u0181\7,\2\2\u0181\u0182\7,\2\2\u0182\u0183"+ + "\7?\2\2\u0183>\3\2\2\2\u0184\u0185\7(\2\2\u0185\u0186\7?\2\2\u0186@\3"+ + "\2\2\2\u0187\u0188\7~\2\2\u0188\u0189\7?\2\2\u0189B\3\2\2\2\u018a\u018b"+ + "\7`\2\2\u018b\u018c\7?\2\2\u018cD\3\2\2\2\u018d\u018e\7-\2\2\u018e\u018f"+ + "\7-\2\2\u018fF\3\2\2\2\u0190\u0191\7/\2\2\u0191\u0192\7/\2\2\u0192H\3"+ + "\2\2\2\u0193\u0194\7*\2\2\u0194J\3\2\2\2\u0195\u0196\7+\2\2\u0196L\3\2"+ + "\2\2\u0197\u0198\7-\2\2\u0198N\3\2\2\2\u0199\u019a\7/\2\2\u019aP\3\2\2"+ + "\2\u019b\u019c\7,\2\2\u019c\u019d\7,\2\2\u019dR\3\2\2\2\u019e\u019f\7"+ + ",\2\2\u019fT\3\2\2\2\u01a0\u01a1\7\61\2\2\u01a1V\3\2\2\2\u01a2\u01a3\7"+ + "\'\2\2\u01a3X\3\2\2\2\u01a4\u01a5\7>\2\2\u01a5Z\3\2\2\2\u01a6\u01a7\7"+ + "@\2\2\u01a7\\\3\2\2\2\u01a8\u01a9\7>\2\2\u01a9\u01aa\7?\2\2\u01aa^\3\2"+ + "\2\2\u01ab\u01ac\7@\2\2\u01ac\u01ad\7?\2\2\u01ad`\3\2\2\2\u01ae\u01af"+ + "\7?\2\2\u01af\u01b0\7?\2\2\u01b0b\3\2\2\2\u01b1\u01b2\7#\2\2\u01b2\u01b3"+ + "\7?\2\2\u01b3d\3\2\2\2\u01b4\u01b5\7(\2\2\u01b5f\3\2\2\2\u01b6\u01b7\7"+ + "`\2\2\u01b7h\3\2\2\2\u01b8\u01b9\7~\2\2\u01b9j\3\2\2\2\u01ba\u01bb\7v"+ + "\2\2\u01bb\u01bc\7q\2\2\u01bcl\3\2\2\2\u01bd\u01be\7c\2\2\u01be\u01bf"+ + "\7p\2\2\u01bf\u01c0\7f\2\2\u01c0n\3\2\2\2\u01c1\u01c2\7q\2\2\u01c2\u01c3"+ + "\7t\2\2\u01c3p\3\2\2\2\u01c4\u01c5\7z\2\2\u01c5\u01c6\7q\2\2\u01c6\u01c7"+ + "\7t\2\2\u01c7r\3\2\2\2\u01c8\u01c9\7p\2\2\u01c9\u01ca\7q\2\2\u01ca\u01cb"+ + "\7v\2\2\u01cbt\3\2\2\2\u01cc\u01cd\7t\2\2\u01cd\u01ce\7g\2\2\u01ce\u01cf"+ + "\7v\2\2\u01cf\u01d0\7w\2\2\u01d0\u01d1\7t\2\2\u01d1\u01d2\7p\2\2\u01d2"+ + "v\3\2\2\2\u01d3\u01d4\7d\2\2\u01d4\u01d5\7t\2\2\u01d5\u01d6\7g\2\2\u01d6"+ + "\u01d7\7c\2\2\u01d7\u01d8\7m\2\2\u01d8x\3\2\2\2\u01d9\u01da\7e\2\2\u01da"+ + "\u01db\7q\2\2\u01db\u01dc\7p\2\2\u01dc\u01dd\7v\2\2\u01dd\u01de\7k\2\2"+ + "\u01de\u01df\7p\2\2\u01df\u01e0\7w\2\2\u01e0\u01e1\7g\2\2\u01e1z\3\2\2"+ + "\2\u01e2\u01e3\7\60\2\2\u01e3|\3\2\2\2\u01e4\u01e5\7C\2\2\u01e5~\3\2\2"+ + "\2\u01e6\u01e7\7Z\2\2\u01e7\u0080\3\2\2\2\u01e8\u01e9\7[\2\2\u01e9\u0082"+ + "\3\2\2\2\u01ea\u01eb\7C\2\2\u01eb\u01ec\7Z\2\2\u01ec\u0084\3\2\2\2\u01ed"+ + "\u01ee\7C\2\2\u01ee\u01ef\7[\2\2\u01ef\u0086\3\2\2\2\u01f0\u01f1\7Z\2"+ + "\2\u01f1\u01f2\7[\2\2\u01f2\u0088\3\2\2\2\u01f3\u01f4\7R\2\2\u01f4\u01f5"+ + "\7e\2\2\u01f5\u008a\3\2\2\2\u01f6\u01f7\7R\2\2\u01f7\u01f8\7|\2\2\u01f8"+ + "\u008c\3\2\2\2\u01f9\u01fa\7R\2\2\u01fa\u01fb\7p\2\2\u01fb\u008e\3\2\2"+ + "\2\u01fc\u01fd\7R\2\2\u01fd\u01fe\7x\2\2\u01fe\u0090\3\2\2\2\u01ff\u0200"+ + "\7\60\2\2\u0200\u0201\7y\2\2\u0201\u0092\3\2\2\2\u0202\u0203\7v\2\2\u0203"+ + "\u0204\7t\2\2\u0204\u0205\7w\2\2\u0205\u0206\7g\2\2\u0206\u0094\3\2\2"+ + "\2\u0207\u0208\7h\2\2\u0208\u0209\7c\2\2\u0209\u020a\7n\2\2\u020a\u020b"+ + "\7u\2\2\u020b\u020c\7g\2\2\u020c\u0096\3\2\2\2\u020d\u020e\7\'\2\2\u020e"+ + "\u020f\7c\2\2\u020f\u0210\7u\2\2\u0210\u0211\7o\2\2\u0211\u0098\3\2\2"+ + "\2\u0212\u0213\7u\2\2\u0213\u0214\7w\2\2\u0214\u0215\7d\2\2\u0215\u009a"+ + "\3\2\2\2\u0216\u0217\7/\2\2\u0217\u0218\7@\2\2\u0218\u009c\3\2\2\2\u0219"+ + "\u021a\7}\2\2\u021a\u009e\3\2\2\2\u021b\u021c\7\177\2\2\u021c\u00a0\3"+ + "\2\2\2\u021d\u021e\7A\2\2\u021e\u00a2\3\2\2\2\u021f\u0220\7k\2\2\u0220"+ + "\u0221\7h\2\2\u0221\u00a4\3\2\2\2\u0222\u0223\7g\2\2\u0223\u0224\7n\2"+ + "\2\u0224\u0225\7u\2\2\u0225\u0226\7g\2\2\u0226\u00a6\3\2\2\2\u0227\u0228"+ + "\7k\2\2\u0228\u0229\7h\2\2\u0229\u022a\7a\2\2\u022a\u022b\7e\2\2\u022b"+ + "\u022c\7u\2\2\u022c\u00a8\3\2\2\2\u022d\u022e\7k\2\2\u022e\u022f\7h\2"+ + "\2\u022f\u0230\7a\2\2\u0230\u0231\7e\2\2\u0231\u0232\7e\2\2\u0232\u00aa"+ + "\3\2\2\2\u0233\u0234\7k\2\2\u0234\u0235\7h\2\2\u0235\u0236\7a\2\2\u0236"+ + "\u0237\7g\2\2\u0237\u0238\7s\2\2\u0238\u00ac\3\2\2\2\u0239\u023a\7k\2"+ + "\2\u023a\u023b\7h\2\2\u023b\u023c\7a\2\2\u023c\u023d\7p\2\2\u023d\u023e"+ + "\7g\2\2\u023e\u00ae\3\2\2\2\u023f\u0240\7k\2\2\u0240\u0241\7h\2\2\u0241"+ + "\u0242\7a\2\2\u0242\u0243\7r\2\2\u0243\u0244\7n\2\2\u0244\u00b0\3\2\2"+ + "\2\u0245\u0246\7k\2\2\u0246\u0247\7h\2\2\u0247\u0248\7a\2\2\u0248\u0249"+ + "\7o\2\2\u0249\u024a\7k\2\2\u024a\u00b2\3\2\2\2\u024b\u024c\7k\2\2\u024c"+ + "\u024d\7h\2\2\u024d\u024e\7a\2\2\u024e\u024f\7x\2\2\u024f\u0250\7u\2\2"+ + "\u0250\u00b4\3\2\2\2\u0251\u0252\7k\2\2\u0252\u0253\7h\2\2\u0253\u0254"+ + "\7a\2\2\u0254\u0255\7x\2\2\u0255\u0256\7e\2\2\u0256\u00b6\3\2\2\2\u0257"+ + "\u0258\7h\2\2\u0258\u0259\7q\2\2\u0259\u025a\7t\2\2\u025a\u00b8\3\2\2"+ + "\2\u025b\u025c\7k\2\2\u025c\u025d\7p\2\2\u025d\u00ba\3\2\2\2\u025e\u025f"+ + "\7u\2\2\u025f\u0260\7v\2\2\u0260\u0261\7g\2\2\u0261\u0262\7r\2\2\u0262"+ + "\u00bc\3\2\2\2\u0263\u0267\t\2\2\2\u0264\u0266\t\3\2\2\u0265\u0264\3\2"+ + "\2\2\u0266\u0269\3\2\2\2\u0267\u0265\3\2\2\2\u0267\u0268\3\2\2\2\u0268"+ + "\u026a\3\2\2\2\u0269\u0267\3\2\2\2\u026a\u026b\5\u00bf`\2\u026b\u026c"+ + "\3\2\2\2\u026c\u026d\b_\2\2\u026d\u00be\3\2\2\2\u026e\u0272\7=\2\2\u026f"+ + "\u0271\n\2\2\2\u0270\u026f\3\2\2\2\u0271\u0274\3\2\2\2\u0272\u0270\3\2"+ + "\2\2\u0272\u0273\3\2\2\2\u0273\u0275\3\2\2\2\u0274\u0272\3\2\2\2\u0275"+ + "\u0276\b`\2\2\u0276\u00c0\3\2\2\2\u0277\u0278\t\3\2\2\u0278\u0279\3\2"+ + "\2\2\u0279\u027a\ba\3\2\u027a\u00c2\3\2\2\2\u027b\u027d\t\2\2\2\u027c"+ + "\u027b\3\2\2\2\u027d\u027e\3\2\2\2\u027e\u027c\3\2\2\2\u027e\u027f\3\2"+ + "\2\2\u027f\u00c4\3\2\2\2\u0280\u0284\t\4\2\2\u0281\u0283\t\5\2\2\u0282"+ + "\u0281\3\2\2\2\u0283\u0286\3\2\2\2\u0284\u0282\3\2\2\2\u0284\u0285\3\2"+ + "\2\2\u0285\u00c6\3\2\2\2\u0286\u0284\3\2\2\2\u0287\u028f\4\62;\2\u0288"+ + "\u028a\4\63;\2\u0289\u028b\4\62;\2\u028a\u0289\3\2\2\2\u028b\u028c\3\2"+ + "\2\2\u028c\u028a\3\2\2\2\u028c\u028d\3\2\2\2\u028d\u028f\3\2\2\2\u028e"+ + "\u0287\3\2\2\2\u028e\u0288\3\2\2\2\u028f\u00c8\3\2\2\2\u0290\u0292\7&"+ + "\2\2\u0291\u0293\t\6\2\2\u0292\u0291\3\2\2\2\u0293\u0294\3\2\2\2\u0294"+ + "\u0292\3\2\2\2\u0294\u0295\3\2\2\2\u0295\u00ca\3\2\2\2\u0296\u0298\7\'"+ + "\2\2\u0297\u0299\4\62\63\2\u0298\u0297\3\2\2\2\u0299\u029a\3\2\2\2\u029a"+ + "\u0298\3\2\2\2\u029a\u029b\3\2\2\2\u029b\u00cc\3\2\2\2\u029c\u02a2\5\u00cf"+ + "h\2\u029d\u029f\t\7\2\2\u029e\u02a0\t\b\2\2\u029f\u029e\3\2\2\2\u029f"+ + "\u02a0\3\2\2\2\u02a0\u02a1\3\2\2\2\u02a1\u02a3\5\u00cfh\2\u02a2\u029d"+ + "\3\2\2\2\u02a2\u02a3\3\2\2\2\u02a3\u00ce\3\2\2\2\u02a4\u02a6\4\62;\2\u02a5"+ + "\u02a4\3\2\2\2\u02a6\u02a7\3\2\2\2\u02a7\u02a5\3\2\2\2\u02a7\u02a8\3\2"+ + "\2\2\u02a8\u02af\3\2\2\2\u02a9\u02ab\7\60\2\2\u02aa\u02ac\4\62;\2\u02ab"+ + "\u02aa\3\2\2\2\u02ac\u02ad\3\2\2\2\u02ad\u02ab\3\2\2\2\u02ad\u02ae\3\2"+ + "\2\2\u02ae\u02b0\3\2\2\2\u02af\u02a9\3\2\2\2\u02af\u02b0\3\2\2\2\u02b0"+ + "\u00d0\3\2\2\2\u02b1\u02b2\7^\2\2\u02b2\u02b6\13\2\2\2\u02b3\u02b4\7^"+ + "\2\2\u02b4\u02b6\5\u00c3b\2\u02b5\u02b1\3\2\2\2\u02b5\u02b3\3\2\2\2\u02b6"+ + "\u00d2\3\2\2\2\u02b7\u02bc\7$\2\2\u02b8\u02bb\5\u00d1i\2\u02b9\u02bb\n"+ + "\t\2\2\u02ba\u02b8\3\2\2\2\u02ba\u02b9\3\2\2\2\u02bb\u02be\3\2\2\2\u02bc"+ + "\u02ba\3\2\2\2\u02bc\u02bd\3\2\2\2\u02bd\u02bf\3\2\2\2\u02be\u02bc\3\2"+ + "\2\2\u02bf\u02c0\7$\2\2\u02c0\u02c1\bj\4\2\u02c1\u00d4\3\2\2\2\u02c2\u02c3"+ + "\7}\2\2\u02c3\u02c4\7}\2\2\u02c4\u02c6\3\2\2\2\u02c5\u02c7\13\2\2\2\u02c6"+ + "\u02c5\3\2\2\2\u02c7\u02c8\3\2\2\2\u02c8\u02c9\3\2\2\2\u02c8\u02c6\3\2"+ + "\2\2\u02c9\u02ca\3\2\2\2\u02ca\u02cb\7\177\2\2\u02cb\u02cc\7\177\2\2\u02cc"+ + "\u02cd\3\2\2\2\u02cd\u02ce\bk\5\2\u02ce\u00d6\3\2\2\2\25\2\u0267\u0272"+ + "\u027e\u0284\u028c\u028e\u0292\u0294\u029a\u029f\u02a2\u02a7\u02ad\u02af"+ + "\u02b5\u02ba\u02bc\u02c8\6\2\3\2\b\2\2\3j\2\3k\3"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { diff --git a/compiler/src/prog8/parser/prog8Parser.java b/compiler/src/prog8/parser/prog8Parser.java index 4550c5573..3fda7477c 100644 --- a/compiler/src/prog8/parser/prog8Parser.java +++ b/compiler/src/prog8/parser/prog8Parser.java @@ -29,8 +29,9 @@ public class prog8Parser extends Parser { T__66=67, T__67=68, T__68=69, T__69=70, T__70=71, T__71=72, T__72=73, T__73=74, T__74=75, T__75=76, T__76=77, T__77=78, T__78=79, T__79=80, T__80=81, T__81=82, T__82=83, T__83=84, T__84=85, T__85=86, T__86=87, - T__87=88, LINECOMMENT=89, COMMENT=90, WS=91, EOL=92, NAME=93, DEC_INTEGER=94, - HEX_INTEGER=95, BIN_INTEGER=96, FLOAT_NUMBER=97, STRING=98, INLINEASMBLOCK=99; + T__87=88, T__88=89, T__89=90, T__90=91, T__91=92, T__92=93, LINECOMMENT=94, + COMMENT=95, WS=96, EOL=97, NAME=98, DEC_INTEGER=99, HEX_INTEGER=100, BIN_INTEGER=101, + FLOAT_NUMBER=102, STRING=103, INLINEASMBLOCK=104; public static final int RULE_module = 0, RULE_modulestatement = 1, RULE_block = 2, RULE_statement = 3, RULE_labeldef = 4, RULE_unconditionaljump = 5, RULE_directive = 6, RULE_directivearg = 7, @@ -38,23 +39,26 @@ public class prog8Parser extends Parser { RULE_datatype = 12, RULE_arrayspec = 13, RULE_assignment = 14, RULE_augassignment = 15, RULE_assign_target = 16, RULE_postincrdecr = 17, RULE_expression = 18, RULE_functioncall = 19, RULE_functioncall_stmt = 20, RULE_expression_list = 21, - RULE_returnstmt = 22, RULE_identifier = 23, RULE_scoped_identifier = 24, - RULE_register = 25, RULE_statusflag = 26, RULE_integerliteral = 27, RULE_wordsuffix = 28, - RULE_booleanliteral = 29, RULE_arrayliteral = 30, RULE_stringliteral = 31, - RULE_floatliteral = 32, RULE_literalvalue = 33, RULE_inlineasm = 34, RULE_subroutine = 35, - RULE_statement_block = 36, RULE_sub_address = 37, RULE_sub_params = 38, - RULE_sub_param = 39, RULE_sub_returns = 40, RULE_sub_return = 41, RULE_if_stmt = 42, - RULE_else_part = 43, RULE_branch_stmt = 44, RULE_branchcondition = 45; + RULE_returnstmt = 22, RULE_breakstmt = 23, RULE_continuestmt = 24, RULE_identifier = 25, + RULE_scoped_identifier = 26, RULE_register = 27, RULE_statusflag = 28, + RULE_integerliteral = 29, RULE_wordsuffix = 30, RULE_booleanliteral = 31, + RULE_arrayliteral = 32, RULE_stringliteral = 33, RULE_floatliteral = 34, + RULE_literalvalue = 35, RULE_inlineasm = 36, RULE_subroutine = 37, RULE_statement_block = 38, + RULE_sub_address = 39, RULE_sub_params = 40, RULE_sub_param = 41, RULE_sub_returns = 42, + RULE_sub_return = 43, RULE_if_stmt = 44, RULE_else_part = 45, RULE_branch_stmt = 46, + RULE_branchcondition = 47, RULE_forloop = 48, RULE_loop_statement_block = 49, + RULE_statement_in_loopblock = 50; public static final String[] ruleNames = { "module", "modulestatement", "block", "statement", "labeldef", "unconditionaljump", "directive", "directivearg", "vardecl", "varinitializer", "constdecl", "memoryvardecl", "datatype", "arrayspec", "assignment", "augassignment", "assign_target", "postincrdecr", "expression", "functioncall", "functioncall_stmt", - "expression_list", "returnstmt", "identifier", "scoped_identifier", "register", - "statusflag", "integerliteral", "wordsuffix", "booleanliteral", "arrayliteral", - "stringliteral", "floatliteral", "literalvalue", "inlineasm", "subroutine", - "statement_block", "sub_address", "sub_params", "sub_param", "sub_returns", - "sub_return", "if_stmt", "else_part", "branch_stmt", "branchcondition" + "expression_list", "returnstmt", "breakstmt", "continuestmt", "identifier", + "scoped_identifier", "register", "statusflag", "integerliteral", "wordsuffix", + "booleanliteral", "arrayliteral", "stringliteral", "floatliteral", "literalvalue", + "inlineasm", "subroutine", "statement_block", "sub_address", "sub_params", + "sub_param", "sub_returns", "sub_return", "if_stmt", "else_part", "branch_stmt", + "branchcondition", "forloop", "loop_statement_block", "statement_in_loopblock" }; private static final String[] _LITERAL_NAMES = { @@ -65,10 +69,11 @@ public class prog8Parser extends Parser { "'-='", "'/='", "'*='", "'**='", "'&='", "'|='", "'^='", "'++'", "'--'", "'('", "')'", "'+'", "'-'", "'**'", "'*'", "'/'", "'%'", "'<'", "'>'", "'<='", "'>='", "'=='", "'!='", "'&'", "'^'", "'|'", "'to'", "'and'", - "'or'", "'xor'", "'not'", "'return'", "'.'", "'A'", "'X'", "'Y'", "'AX'", - "'AY'", "'XY'", "'Pc'", "'Pz'", "'Pn'", "'Pv'", "'.w'", "'true'", "'false'", - "'%asm'", "'sub'", "'->'", "'{'", "'}'", "'?'", "'if'", "'else'", "'if_cs'", - "'if_cc'", "'if_eq'", "'if_ne'", "'if_pl'", "'if_mi'", "'if_vs'", "'if_vc'" + "'or'", "'xor'", "'not'", "'return'", "'break'", "'continue'", "'.'", + "'A'", "'X'", "'Y'", "'AX'", "'AY'", "'XY'", "'Pc'", "'Pz'", "'Pn'", "'Pv'", + "'.w'", "'true'", "'false'", "'%asm'", "'sub'", "'->'", "'{'", "'}'", + "'?'", "'if'", "'else'", "'if_cs'", "'if_cc'", "'if_eq'", "'if_ne'", "'if_pl'", + "'if_mi'", "'if_vs'", "'if_vc'", "'for'", "'in'", "'step'" }; private static final String[] _SYMBOLIC_NAMES = { null, null, null, null, null, null, null, null, null, null, null, null, @@ -78,9 +83,9 @@ public class prog8Parser extends Parser { null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, - null, null, null, null, null, "LINECOMMENT", "COMMENT", "WS", "EOL", "NAME", - "DEC_INTEGER", "HEX_INTEGER", "BIN_INTEGER", "FLOAT_NUMBER", "STRING", - "INLINEASMBLOCK" + null, null, null, null, null, null, null, null, null, null, "LINECOMMENT", + "COMMENT", "WS", "EOL", "NAME", "DEC_INTEGER", "HEX_INTEGER", "BIN_INTEGER", + "FLOAT_NUMBER", "STRING", "INLINEASMBLOCK" }; public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); @@ -156,12 +161,12 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(96); + setState(106); _errHandler.sync(this); _la = _input.LA(1); while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11))) != 0) || _la==EOL) { { - setState(94); + setState(104); _errHandler.sync(this); switch (_input.LA(1)) { case T__0: @@ -175,13 +180,13 @@ public class prog8Parser extends Parser { case T__10: case T__11: { - setState(92); + setState(102); modulestatement(); } break; case EOL: { - setState(93); + setState(103); match(EOL); } break; @@ -189,11 +194,11 @@ public class prog8Parser extends Parser { throw new NoViableAltException(this); } } - setState(98); + setState(108); _errHandler.sync(this); _la = _input.LA(1); } - setState(99); + setState(109); match(EOF); } } @@ -225,7 +230,7 @@ public class prog8Parser extends Parser { ModulestatementContext _localctx = new ModulestatementContext(_ctx, getState()); enterRule(_localctx, 2, RULE_modulestatement); try { - setState(103); + setState(113); _errHandler.sync(this); switch (_input.LA(1)) { case T__3: @@ -239,14 +244,14 @@ public class prog8Parser extends Parser { case T__11: enterOuterAlt(_localctx, 1); { - setState(101); + setState(111); directive(); } break; case T__0: enterOuterAlt(_localctx, 2); { - setState(102); + setState(112); block(); } break; @@ -289,23 +294,23 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(105); + setState(115); match(T__0); - setState(106); + setState(116); identifier(); - setState(108); + setState(118); _errHandler.sync(this); _la = _input.LA(1); - if (((((_la - 94)) & ~0x3f) == 0 && ((1L << (_la - 94)) & ((1L << (DEC_INTEGER - 94)) | (1L << (HEX_INTEGER - 94)) | (1L << (BIN_INTEGER - 94)))) != 0)) { + if (((((_la - 99)) & ~0x3f) == 0 && ((1L << (_la - 99)) & ((1L << (DEC_INTEGER - 99)) | (1L << (HEX_INTEGER - 99)) | (1L << (BIN_INTEGER - 99)))) != 0)) { { - setState(107); + setState(117); integerliteral(); } } - setState(110); + setState(120); statement_block(); - setState(111); + setState(121); match(EOL); } } @@ -369,6 +374,9 @@ public class prog8Parser extends Parser { public ReturnstmtContext returnstmt() { return getRuleContext(ReturnstmtContext.class,0); } + public ForloopContext forloop() { + return getRuleContext(ForloopContext.class,0); + } public StatementContext(ParserRuleContext parent, int invokingState) { super(parent, invokingState); } @@ -379,121 +387,128 @@ public class prog8Parser extends Parser { StatementContext _localctx = new StatementContext(_ctx, getState()); enterRule(_localctx, 6, RULE_statement); try { - setState(129); + setState(140); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,4,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(113); + setState(123); directive(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(114); + setState(124); varinitializer(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(115); + setState(125); vardecl(); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(116); + setState(126); constdecl(); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(117); + setState(127); memoryvardecl(); } break; case 6: enterOuterAlt(_localctx, 6); { - setState(118); + setState(128); assignment(); } break; case 7: enterOuterAlt(_localctx, 7); { - setState(119); + setState(129); augassignment(); } break; case 8: enterOuterAlt(_localctx, 8); { - setState(120); + setState(130); unconditionaljump(); } break; case 9: enterOuterAlt(_localctx, 9); { - setState(121); + setState(131); postincrdecr(); } break; case 10: enterOuterAlt(_localctx, 10); { - setState(122); + setState(132); functioncall_stmt(); } break; case 11: enterOuterAlt(_localctx, 11); { - setState(123); + setState(133); if_stmt(); } break; case 12: enterOuterAlt(_localctx, 12); { - setState(124); + setState(134); branch_stmt(); } break; case 13: enterOuterAlt(_localctx, 13); { - setState(125); + setState(135); subroutine(); } break; case 14: enterOuterAlt(_localctx, 14); { - setState(126); + setState(136); inlineasm(); } break; case 15: enterOuterAlt(_localctx, 15); { - setState(127); + setState(137); labeldef(); } break; case 16: enterOuterAlt(_localctx, 16); { - setState(128); + setState(138); returnstmt(); } break; + case 17: + enterOuterAlt(_localctx, 17); + { + setState(139); + forloop(); + } + break; } } catch (RecognitionException re) { @@ -523,9 +538,9 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(131); + setState(142); identifier(); - setState(132); + setState(143); match(T__1); } } @@ -562,26 +577,26 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(134); + setState(145); match(T__2); - setState(138); + setState(149); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,5,_ctx) ) { case 1: { - setState(135); + setState(146); integerliteral(); } break; case 2: { - setState(136); + setState(147); identifier(); } break; case 3: { - setState(137); + setState(148); scoped_identifier(); } break; @@ -620,7 +635,7 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(140); + setState(151); ((DirectiveContext)_localctx).directivename = _input.LT(1); _la = _input.LA(1); if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11))) != 0)) ) { @@ -631,17 +646,17 @@ public class prog8Parser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(152); + setState(163); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,8,_ctx) ) { case 1: { - setState(142); + setState(153); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,6,_ctx) ) { case 1: { - setState(141); + setState(152); directivearg(); } break; @@ -650,21 +665,21 @@ public class prog8Parser extends Parser { break; case 2: { - setState(144); + setState(155); directivearg(); - setState(149); + setState(160); _errHandler.sync(this); _la = _input.LA(1); while (_la==T__12) { { { - setState(145); + setState(156); match(T__12); - setState(146); + setState(157); directivearg(); } } - setState(151); + setState(162); _errHandler.sync(this); _la = _input.LA(1); } @@ -704,20 +719,20 @@ public class prog8Parser extends Parser { DirectiveargContext _localctx = new DirectiveargContext(_ctx, getState()); enterRule(_localctx, 14, RULE_directivearg); try { - setState(157); + setState(168); _errHandler.sync(this); switch (_input.LA(1)) { case STRING: enterOuterAlt(_localctx, 1); { - setState(154); + setState(165); stringliteral(); } break; case NAME: enterOuterAlt(_localctx, 2); { - setState(155); + setState(166); identifier(); } break; @@ -726,7 +741,7 @@ public class prog8Parser extends Parser { case BIN_INTEGER: enterOuterAlt(_localctx, 3); { - setState(156); + setState(167); integerliteral(); } break; @@ -768,19 +783,19 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(159); + setState(170); datatype(); - setState(161); + setState(172); _errHandler.sync(this); _la = _input.LA(1); if (_la==T__23) { { - setState(160); + setState(171); arrayspec(); } } - setState(163); + setState(174); identifier(); } } @@ -821,23 +836,23 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(165); + setState(176); datatype(); - setState(167); + setState(178); _errHandler.sync(this); _la = _input.LA(1); if (_la==T__23) { { - setState(166); + setState(177); arrayspec(); } } - setState(169); + setState(180); identifier(); - setState(170); + setState(181); match(T__13); - setState(171); + setState(182); expression(0); } } @@ -868,9 +883,9 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(173); + setState(184); match(T__14); - setState(174); + setState(185); varinitializer(); } } @@ -901,9 +916,9 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(176); + setState(187); match(T__15); - setState(177); + setState(188); varinitializer(); } } @@ -932,7 +947,7 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(179); + setState(190); _la = _input.LA(1); if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22))) != 0)) ) { _errHandler.recoverInline(this); @@ -975,23 +990,23 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(181); + setState(192); match(T__23); - setState(182); + setState(193); expression(0); - setState(185); + setState(196); _errHandler.sync(this); _la = _input.LA(1); if (_la==T__12) { { - setState(183); + setState(194); match(T__12); - setState(184); + setState(195); expression(0); } } - setState(187); + setState(198); match(T__24); } } @@ -1025,11 +1040,11 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(189); + setState(200); assign_target(); - setState(190); + setState(201); match(T__13); - setState(191); + setState(202); expression(0); } } @@ -1065,9 +1080,9 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(193); + setState(204); assign_target(); - setState(194); + setState(205); ((AugassignmentContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__25) | (1L << T__26) | (1L << T__27) | (1L << T__28) | (1L << T__29) | (1L << T__30) | (1L << T__31) | (1L << T__32))) != 0)) ) { @@ -1078,7 +1093,7 @@ public class prog8Parser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(195); + setState(206); expression(0); } } @@ -1113,27 +1128,27 @@ public class prog8Parser extends Parser { Assign_targetContext _localctx = new Assign_targetContext(_ctx, getState()); enterRule(_localctx, 32, RULE_assign_target); try { - setState(200); + setState(211); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,13,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(197); + setState(208); register(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(198); + setState(209); identifier(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(199); + setState(210); scoped_identifier(); } break; @@ -1168,9 +1183,9 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(202); + setState(213); assign_target(); - setState(203); + setState(214); ((PostincrdecrContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !(_la==T__33 || _la==T__34) ) { @@ -1247,28 +1262,28 @@ public class prog8Parser extends Parser { int _alt; enterOuterAlt(_localctx, 1); { - setState(219); + setState(230); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) { case 1: { - setState(206); + setState(217); match(T__35); - setState(207); + setState(218); expression(0); - setState(208); + setState(219); match(T__36); } break; case 2: { - setState(210); + setState(221); functioncall(); } break; case 3: { - setState(211); + setState(222); ((ExpressionContext)_localctx).prefix = _input.LT(1); _la = _input.LA(1); if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__37) | (1L << T__38))) != 0)) ) { @@ -1279,45 +1294,45 @@ public class prog8Parser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(212); + setState(223); expression(18); } break; case 4: { - setState(213); + setState(224); ((ExpressionContext)_localctx).prefix = match(T__56); - setState(214); + setState(225); expression(5); } break; case 5: { - setState(215); + setState(226); literalvalue(); } break; case 6: { - setState(216); + setState(227); register(); } break; case 7: { - setState(217); + setState(228); identifier(); } break; case 8: { - setState(218); + setState(229); scoped_identifier(); } break; } _ctx.stop = _input.LT(-1); - setState(261); + setState(272); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,16,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { @@ -1325,7 +1340,7 @@ public class prog8Parser extends Parser { if ( _parseListeners!=null ) triggerExitRuleEvent(); _prevctx = _localctx; { - setState(259); + setState(270); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,15,_ctx) ) { case 1: @@ -1334,11 +1349,11 @@ public class prog8Parser extends Parser { _localctx.left = _prevctx; _localctx.left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(221); + setState(232); if (!(precpred(_ctx, 17))) throw new FailedPredicateException(this, "precpred(_ctx, 17)"); - setState(222); + setState(233); ((ExpressionContext)_localctx).bop = match(T__39); - setState(223); + setState(234); ((ExpressionContext)_localctx).right = expression(18); } break; @@ -1348,9 +1363,9 @@ public class prog8Parser extends Parser { _localctx.left = _prevctx; _localctx.left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(224); + setState(235); if (!(precpred(_ctx, 16))) throw new FailedPredicateException(this, "precpred(_ctx, 16)"); - setState(225); + setState(236); ((ExpressionContext)_localctx).bop = _input.LT(1); _la = _input.LA(1); if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__40) | (1L << T__41) | (1L << T__42))) != 0)) ) { @@ -1361,7 +1376,7 @@ public class prog8Parser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(226); + setState(237); ((ExpressionContext)_localctx).right = expression(17); } break; @@ -1371,9 +1386,9 @@ public class prog8Parser extends Parser { _localctx.left = _prevctx; _localctx.left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(227); + setState(238); if (!(precpred(_ctx, 15))) throw new FailedPredicateException(this, "precpred(_ctx, 15)"); - setState(228); + setState(239); ((ExpressionContext)_localctx).bop = _input.LT(1); _la = _input.LA(1); if ( !(_la==T__37 || _la==T__38) ) { @@ -1384,7 +1399,7 @@ public class prog8Parser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(229); + setState(240); ((ExpressionContext)_localctx).right = expression(16); } break; @@ -1394,9 +1409,9 @@ public class prog8Parser extends Parser { _localctx.left = _prevctx; _localctx.left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(230); + setState(241); if (!(precpred(_ctx, 14))) throw new FailedPredicateException(this, "precpred(_ctx, 14)"); - setState(231); + setState(242); ((ExpressionContext)_localctx).bop = _input.LT(1); _la = _input.LA(1); if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46))) != 0)) ) { @@ -1407,7 +1422,7 @@ public class prog8Parser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(232); + setState(243); ((ExpressionContext)_localctx).right = expression(15); } break; @@ -1417,9 +1432,9 @@ public class prog8Parser extends Parser { _localctx.left = _prevctx; _localctx.left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(233); + setState(244); if (!(precpred(_ctx, 13))) throw new FailedPredicateException(this, "precpred(_ctx, 13)"); - setState(234); + setState(245); ((ExpressionContext)_localctx).bop = _input.LT(1); _la = _input.LA(1); if ( !(_la==T__47 || _la==T__48) ) { @@ -1430,7 +1445,7 @@ public class prog8Parser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(235); + setState(246); ((ExpressionContext)_localctx).right = expression(14); } break; @@ -1440,11 +1455,11 @@ public class prog8Parser extends Parser { _localctx.left = _prevctx; _localctx.left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(236); + setState(247); if (!(precpred(_ctx, 12))) throw new FailedPredicateException(this, "precpred(_ctx, 12)"); - setState(237); + setState(248); ((ExpressionContext)_localctx).bop = match(T__49); - setState(238); + setState(249); ((ExpressionContext)_localctx).right = expression(13); } break; @@ -1454,11 +1469,11 @@ public class prog8Parser extends Parser { _localctx.left = _prevctx; _localctx.left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(239); + setState(250); if (!(precpred(_ctx, 11))) throw new FailedPredicateException(this, "precpred(_ctx, 11)"); - setState(240); + setState(251); ((ExpressionContext)_localctx).bop = match(T__50); - setState(241); + setState(252); ((ExpressionContext)_localctx).right = expression(12); } break; @@ -1468,11 +1483,11 @@ public class prog8Parser extends Parser { _localctx.left = _prevctx; _localctx.left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(242); + setState(253); if (!(precpred(_ctx, 10))) throw new FailedPredicateException(this, "precpred(_ctx, 10)"); - setState(243); + setState(254); ((ExpressionContext)_localctx).bop = match(T__51); - setState(244); + setState(255); ((ExpressionContext)_localctx).right = expression(11); } break; @@ -1482,11 +1497,11 @@ public class prog8Parser extends Parser { _localctx.rangefrom = _prevctx; _localctx.rangefrom = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(245); + setState(256); if (!(precpred(_ctx, 9))) throw new FailedPredicateException(this, "precpred(_ctx, 9)"); - setState(246); + setState(257); match(T__52); - setState(247); + setState(258); ((ExpressionContext)_localctx).rangeto = expression(10); } break; @@ -1496,11 +1511,11 @@ public class prog8Parser extends Parser { _localctx.left = _prevctx; _localctx.left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(248); + setState(259); if (!(precpred(_ctx, 8))) throw new FailedPredicateException(this, "precpred(_ctx, 8)"); - setState(249); + setState(260); ((ExpressionContext)_localctx).bop = match(T__53); - setState(250); + setState(261); ((ExpressionContext)_localctx).right = expression(9); } break; @@ -1510,11 +1525,11 @@ public class prog8Parser extends Parser { _localctx.left = _prevctx; _localctx.left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(251); + setState(262); if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)"); - setState(252); + setState(263); ((ExpressionContext)_localctx).bop = match(T__54); - setState(253); + setState(264); ((ExpressionContext)_localctx).right = expression(8); } break; @@ -1524,11 +1539,11 @@ public class prog8Parser extends Parser { _localctx.left = _prevctx; _localctx.left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(254); + setState(265); if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)"); - setState(255); + setState(266); ((ExpressionContext)_localctx).bop = match(T__55); - setState(256); + setState(267); ((ExpressionContext)_localctx).right = expression(7); } break; @@ -1536,16 +1551,16 @@ public class prog8Parser extends Parser { { _localctx = new ExpressionContext(_parentctx, _parentState); pushNewRecursionContext(_localctx, _startState, RULE_expression); - setState(257); + setState(268); if (!(precpred(_ctx, 20))) throw new FailedPredicateException(this, "precpred(_ctx, 20)"); - setState(258); + setState(269); arrayspec(); } break; } } } - setState(263); + setState(274); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,16,_ctx); } @@ -1585,35 +1600,35 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(266); + setState(277); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,17,_ctx) ) { case 1: { - setState(264); + setState(275); identifier(); } break; case 2: { - setState(265); + setState(276); scoped_identifier(); } break; } - setState(268); + setState(279); match(T__35); - setState(270); + setState(281); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__23) | (1L << T__35) | (1L << T__37) | (1L << T__38) | (1L << T__56) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (NAME - 64)) | (1L << (DEC_INTEGER - 64)) | (1L << (HEX_INTEGER - 64)) | (1L << (BIN_INTEGER - 64)) | (1L << (FLOAT_NUMBER - 64)) | (1L << (STRING - 64)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__23) | (1L << T__35) | (1L << T__37) | (1L << T__38) | (1L << T__56) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (NAME - 64)) | (1L << (DEC_INTEGER - 64)) | (1L << (HEX_INTEGER - 64)) | (1L << (BIN_INTEGER - 64)) | (1L << (FLOAT_NUMBER - 64)) | (1L << (STRING - 64)))) != 0)) { { - setState(269); + setState(280); expression_list(); } } - setState(272); + setState(283); match(T__36); } } @@ -1651,35 +1666,35 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(276); + setState(287); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,19,_ctx) ) { case 1: { - setState(274); + setState(285); identifier(); } break; case 2: { - setState(275); + setState(286); scoped_identifier(); } break; } - setState(278); + setState(289); match(T__35); - setState(280); + setState(291); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__23) | (1L << T__35) | (1L << T__37) | (1L << T__38) | (1L << T__56) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__70 - 64)) | (1L << (T__71 - 64)) | (1L << (NAME - 64)) | (1L << (DEC_INTEGER - 64)) | (1L << (HEX_INTEGER - 64)) | (1L << (BIN_INTEGER - 64)) | (1L << (FLOAT_NUMBER - 64)) | (1L << (STRING - 64)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__23) | (1L << T__35) | (1L << T__37) | (1L << T__38) | (1L << T__56) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (NAME - 64)) | (1L << (DEC_INTEGER - 64)) | (1L << (HEX_INTEGER - 64)) | (1L << (BIN_INTEGER - 64)) | (1L << (FLOAT_NUMBER - 64)) | (1L << (STRING - 64)))) != 0)) { { - setState(279); + setState(290); expression_list(); } } - setState(282); + setState(293); match(T__36); } } @@ -1714,21 +1729,21 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(284); + setState(295); expression(0); - setState(289); + setState(300); _errHandler.sync(this); _la = _input.LA(1); while (_la==T__12) { { { - setState(285); + setState(296); match(T__12); - setState(286); + setState(297); expression(0); } } - setState(291); + setState(302); _errHandler.sync(this); _la = _input.LA(1); } @@ -1761,14 +1776,14 @@ public class prog8Parser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(292); + setState(303); match(T__57); - setState(294); + setState(305); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,22,_ctx) ) { case 1: { - setState(293); + setState(304); expression_list(); } break; @@ -1786,6 +1801,62 @@ public class prog8Parser extends Parser { return _localctx; } + public static class BreakstmtContext extends ParserRuleContext { + public BreakstmtContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_breakstmt; } + } + + public final BreakstmtContext breakstmt() throws RecognitionException { + BreakstmtContext _localctx = new BreakstmtContext(_ctx, getState()); + enterRule(_localctx, 46, RULE_breakstmt); + try { + enterOuterAlt(_localctx, 1); + { + setState(307); + match(T__58); + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + + public static class ContinuestmtContext extends ParserRuleContext { + public ContinuestmtContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_continuestmt; } + } + + public final ContinuestmtContext continuestmt() throws RecognitionException { + ContinuestmtContext _localctx = new ContinuestmtContext(_ctx, getState()); + enterRule(_localctx, 48, RULE_continuestmt); + try { + enterOuterAlt(_localctx, 1); + { + setState(309); + match(T__59); + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + public static class IdentifierContext extends ParserRuleContext { public TerminalNode NAME() { return getToken(prog8Parser.NAME, 0); } public IdentifierContext(ParserRuleContext parent, int invokingState) { @@ -1796,11 +1867,11 @@ public class prog8Parser extends Parser { public final IdentifierContext identifier() throws RecognitionException { IdentifierContext _localctx = new IdentifierContext(_ctx, getState()); - enterRule(_localctx, 46, RULE_identifier); + enterRule(_localctx, 50, RULE_identifier); try { enterOuterAlt(_localctx, 1); { - setState(296); + setState(311); match(NAME); } } @@ -1828,14 +1899,14 @@ public class prog8Parser extends Parser { public final Scoped_identifierContext scoped_identifier() throws RecognitionException { Scoped_identifierContext _localctx = new Scoped_identifierContext(_ctx, getState()); - enterRule(_localctx, 48, RULE_scoped_identifier); + enterRule(_localctx, 52, RULE_scoped_identifier); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(298); + setState(313); match(NAME); - setState(301); + setState(316); _errHandler.sync(this); _alt = 1; do { @@ -1843,9 +1914,9 @@ public class prog8Parser extends Parser { case 1: { { - setState(299); - match(T__58); - setState(300); + setState(314); + match(T__60); + setState(315); match(NAME); } } @@ -1853,7 +1924,7 @@ public class prog8Parser extends Parser { default: throw new NoViableAltException(this); } - setState(303); + setState(318); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,23,_ctx); } while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ); @@ -1879,14 +1950,14 @@ public class prog8Parser extends Parser { public final RegisterContext register() throws RecognitionException { RegisterContext _localctx = new RegisterContext(_ctx, getState()); - enterRule(_localctx, 50, RULE_register); + enterRule(_localctx, 54, RULE_register); int _la; try { enterOuterAlt(_localctx, 1); { - setState(305); + setState(320); _la = _input.LA(1); - if ( !(((((_la - 60)) & ~0x3f) == 0 && ((1L << (_la - 60)) & ((1L << (T__59 - 60)) | (1L << (T__60 - 60)) | (1L << (T__61 - 60)) | (1L << (T__62 - 60)) | (1L << (T__63 - 60)) | (1L << (T__64 - 60)))) != 0)) ) { + if ( !(((((_la - 62)) & ~0x3f) == 0 && ((1L << (_la - 62)) & ((1L << (T__61 - 62)) | (1L << (T__62 - 62)) | (1L << (T__63 - 62)) | (1L << (T__64 - 62)) | (1L << (T__65 - 62)) | (1L << (T__66 - 62)))) != 0)) ) { _errHandler.recoverInline(this); } else { @@ -1916,14 +1987,14 @@ public class prog8Parser extends Parser { public final StatusflagContext statusflag() throws RecognitionException { StatusflagContext _localctx = new StatusflagContext(_ctx, getState()); - enterRule(_localctx, 52, RULE_statusflag); + enterRule(_localctx, 56, RULE_statusflag); int _la; try { enterOuterAlt(_localctx, 1); { - setState(307); + setState(322); _la = _input.LA(1); - if ( !(((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & ((1L << (T__65 - 66)) | (1L << (T__66 - 66)) | (1L << (T__67 - 66)) | (1L << (T__68 - 66)))) != 0)) ) { + if ( !(((((_la - 68)) & ~0x3f) == 0 && ((1L << (_la - 68)) & ((1L << (T__67 - 68)) | (1L << (T__68 - 68)) | (1L << (T__69 - 68)) | (1L << (T__70 - 68)))) != 0)) ) { _errHandler.recoverInline(this); } else { @@ -1960,15 +2031,15 @@ public class prog8Parser extends Parser { public final IntegerliteralContext integerliteral() throws RecognitionException { IntegerliteralContext _localctx = new IntegerliteralContext(_ctx, getState()); - enterRule(_localctx, 54, RULE_integerliteral); + enterRule(_localctx, 58, RULE_integerliteral); int _la; try { enterOuterAlt(_localctx, 1); { - setState(309); + setState(324); ((IntegerliteralContext)_localctx).intpart = _input.LT(1); _la = _input.LA(1); - if ( !(((((_la - 94)) & ~0x3f) == 0 && ((1L << (_la - 94)) & ((1L << (DEC_INTEGER - 94)) | (1L << (HEX_INTEGER - 94)) | (1L << (BIN_INTEGER - 94)))) != 0)) ) { + if ( !(((((_la - 99)) & ~0x3f) == 0 && ((1L << (_la - 99)) & ((1L << (DEC_INTEGER - 99)) | (1L << (HEX_INTEGER - 99)) | (1L << (BIN_INTEGER - 99)))) != 0)) ) { ((IntegerliteralContext)_localctx).intpart = (Token)_errHandler.recoverInline(this); } else { @@ -1976,12 +2047,12 @@ public class prog8Parser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(311); + setState(326); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,24,_ctx) ) { case 1: { - setState(310); + setState(325); wordsuffix(); } break; @@ -2008,12 +2079,12 @@ public class prog8Parser extends Parser { public final WordsuffixContext wordsuffix() throws RecognitionException { WordsuffixContext _localctx = new WordsuffixContext(_ctx, getState()); - enterRule(_localctx, 56, RULE_wordsuffix); + enterRule(_localctx, 60, RULE_wordsuffix); try { enterOuterAlt(_localctx, 1); { - setState(313); - match(T__69); + setState(328); + match(T__71); } } catch (RecognitionException re) { @@ -2036,14 +2107,14 @@ public class prog8Parser extends Parser { public final BooleanliteralContext booleanliteral() throws RecognitionException { BooleanliteralContext _localctx = new BooleanliteralContext(_ctx, getState()); - enterRule(_localctx, 58, RULE_booleanliteral); + enterRule(_localctx, 62, RULE_booleanliteral); int _la; try { enterOuterAlt(_localctx, 1); { - setState(315); + setState(330); _la = _input.LA(1); - if ( !(_la==T__70 || _la==T__71) ) { + if ( !(_la==T__72 || _la==T__73) ) { _errHandler.recoverInline(this); } else { @@ -2079,32 +2150,32 @@ public class prog8Parser extends Parser { public final ArrayliteralContext arrayliteral() throws RecognitionException { ArrayliteralContext _localctx = new ArrayliteralContext(_ctx, getState()); - enterRule(_localctx, 60, RULE_arrayliteral); + enterRule(_localctx, 64, RULE_arrayliteral); int _la; try { enterOuterAlt(_localctx, 1); { - setState(317); + setState(332); match(T__23); - setState(318); + setState(333); expression(0); - setState(323); + setState(338); _errHandler.sync(this); _la = _input.LA(1); while (_la==T__12) { { { - setState(319); + setState(334); match(T__12); - setState(320); + setState(335); expression(0); } } - setState(325); + setState(340); _errHandler.sync(this); _la = _input.LA(1); } - setState(326); + setState(341); match(T__24); } } @@ -2129,11 +2200,11 @@ public class prog8Parser extends Parser { public final StringliteralContext stringliteral() throws RecognitionException { StringliteralContext _localctx = new StringliteralContext(_ctx, getState()); - enterRule(_localctx, 62, RULE_stringliteral); + enterRule(_localctx, 66, RULE_stringliteral); try { enterOuterAlt(_localctx, 1); { - setState(328); + setState(343); match(STRING); } } @@ -2158,11 +2229,11 @@ public class prog8Parser extends Parser { public final FloatliteralContext floatliteral() throws RecognitionException { FloatliteralContext _localctx = new FloatliteralContext(_ctx, getState()); - enterRule(_localctx, 64, RULE_floatliteral); + enterRule(_localctx, 68, RULE_floatliteral); try { enterOuterAlt(_localctx, 1); { - setState(330); + setState(345); match(FLOAT_NUMBER); } } @@ -2201,9 +2272,9 @@ public class prog8Parser extends Parser { public final LiteralvalueContext literalvalue() throws RecognitionException { LiteralvalueContext _localctx = new LiteralvalueContext(_ctx, getState()); - enterRule(_localctx, 66, RULE_literalvalue); + enterRule(_localctx, 70, RULE_literalvalue); try { - setState(337); + setState(352); _errHandler.sync(this); switch (_input.LA(1)) { case DEC_INTEGER: @@ -2211,36 +2282,36 @@ public class prog8Parser extends Parser { case BIN_INTEGER: enterOuterAlt(_localctx, 1); { - setState(332); + setState(347); integerliteral(); } break; - case T__70: - case T__71: + case T__72: + case T__73: enterOuterAlt(_localctx, 2); { - setState(333); + setState(348); booleanliteral(); } break; case T__23: enterOuterAlt(_localctx, 3); { - setState(334); + setState(349); arrayliteral(); } break; case STRING: enterOuterAlt(_localctx, 4); { - setState(335); + setState(350); stringliteral(); } break; case FLOAT_NUMBER: enterOuterAlt(_localctx, 5); { - setState(336); + setState(351); floatliteral(); } break; @@ -2269,13 +2340,13 @@ public class prog8Parser extends Parser { public final InlineasmContext inlineasm() throws RecognitionException { InlineasmContext _localctx = new InlineasmContext(_ctx, getState()); - enterRule(_localctx, 68, RULE_inlineasm); + enterRule(_localctx, 72, RULE_inlineasm); try { enterOuterAlt(_localctx, 1); { - setState(339); - match(T__72); - setState(340); + setState(354); + match(T__74); + setState(355); match(INLINEASMBLOCK); } } @@ -2315,60 +2386,60 @@ public class prog8Parser extends Parser { public final SubroutineContext subroutine() throws RecognitionException { SubroutineContext _localctx = new SubroutineContext(_ctx, getState()); - enterRule(_localctx, 70, RULE_subroutine); + enterRule(_localctx, 74, RULE_subroutine); int _la; try { enterOuterAlt(_localctx, 1); { - setState(342); - match(T__73); - setState(343); + setState(357); + match(T__75); + setState(358); identifier(); - setState(344); + setState(359); match(T__35); - setState(346); + setState(361); _errHandler.sync(this); _la = _input.LA(1); if (_la==NAME) { { - setState(345); + setState(360); sub_params(); } } - setState(348); + setState(363); match(T__36); - setState(349); - match(T__74); - setState(350); + setState(364); + match(T__76); + setState(365); match(T__35); - setState(352); + setState(367); _errHandler.sync(this); _la = _input.LA(1); - if (((((_la - 60)) & ~0x3f) == 0 && ((1L << (_la - 60)) & ((1L << (T__59 - 60)) | (1L << (T__60 - 60)) | (1L << (T__61 - 60)) | (1L << (T__62 - 60)) | (1L << (T__63 - 60)) | (1L << (T__64 - 60)) | (1L << (T__65 - 60)) | (1L << (T__66 - 60)) | (1L << (T__67 - 60)) | (1L << (T__68 - 60)) | (1L << (T__77 - 60)))) != 0)) { + if (((((_la - 62)) & ~0x3f) == 0 && ((1L << (_la - 62)) & ((1L << (T__61 - 62)) | (1L << (T__62 - 62)) | (1L << (T__63 - 62)) | (1L << (T__64 - 62)) | (1L << (T__65 - 62)) | (1L << (T__66 - 62)) | (1L << (T__67 - 62)) | (1L << (T__68 - 62)) | (1L << (T__69 - 62)) | (1L << (T__70 - 62)) | (1L << (T__79 - 62)))) != 0)) { { - setState(351); + setState(366); sub_returns(); } } - setState(354); + setState(369); match(T__36); - setState(359); + setState(374); _errHandler.sync(this); switch (_input.LA(1)) { case T__13: { - setState(355); + setState(370); sub_address(); } break; - case T__75: + case T__77: { { - setState(356); + setState(371); statement_block(); - setState(357); + setState(372); match(EOL); } } @@ -2408,21 +2479,21 @@ public class prog8Parser extends Parser { public final Statement_blockContext statement_block() throws RecognitionException { Statement_blockContext _localctx = new Statement_blockContext(_ctx, getState()); - enterRule(_localctx, 72, RULE_statement_block); + enterRule(_localctx, 76, RULE_statement_block); int _la; try { enterOuterAlt(_localctx, 1); { - setState(361); - match(T__75); - setState(362); + setState(376); + match(T__77); + setState(377); match(EOL); - setState(367); + setState(382); _errHandler.sync(this); _la = _input.LA(1); - while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__57) | (1L << T__59) | (1L << T__60) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__72 - 64)) | (1L << (T__73 - 64)) | (1L << (T__78 - 64)) | (1L << (T__80 - 64)) | (1L << (T__81 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (EOL - 64)) | (1L << (NAME - 64)))) != 0)) { + while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__57) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__80 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (EOL - 64)) | (1L << (NAME - 64)))) != 0)) { { - setState(365); + setState(380); _errHandler.sync(this); switch (_input.LA(1)) { case T__2: @@ -2445,32 +2516,33 @@ public class prog8Parser extends Parser { case T__21: case T__22: case T__57: - case T__59: - case T__60: case T__61: case T__62: case T__63: case T__64: - case T__72: - case T__73: - case T__78: + case T__65: + case T__66: + case T__74: + case T__75: case T__80: - case T__81: case T__82: case T__83: case T__84: case T__85: case T__86: case T__87: + case T__88: + case T__89: + case T__90: case NAME: { - setState(363); + setState(378); statement(); } break; case EOL: { - setState(364); + setState(379); match(EOL); } break; @@ -2478,12 +2550,12 @@ public class prog8Parser extends Parser { throw new NoViableAltException(this); } } - setState(369); + setState(384); _errHandler.sync(this); _la = _input.LA(1); } - setState(370); - match(T__76); + setState(385); + match(T__78); } } catch (RecognitionException re) { @@ -2509,13 +2581,13 @@ public class prog8Parser extends Parser { public final Sub_addressContext sub_address() throws RecognitionException { Sub_addressContext _localctx = new Sub_addressContext(_ctx, getState()); - enterRule(_localctx, 74, RULE_sub_address); + enterRule(_localctx, 78, RULE_sub_address); try { enterOuterAlt(_localctx, 1); { - setState(372); + setState(387); match(T__13); - setState(373); + setState(388); integerliteral(); } } @@ -2545,26 +2617,26 @@ public class prog8Parser extends Parser { public final Sub_paramsContext sub_params() throws RecognitionException { Sub_paramsContext _localctx = new Sub_paramsContext(_ctx, getState()); - enterRule(_localctx, 76, RULE_sub_params); + enterRule(_localctx, 80, RULE_sub_params); int _la; try { enterOuterAlt(_localctx, 1); { - setState(375); + setState(390); sub_param(); - setState(380); + setState(395); _errHandler.sync(this); _la = _input.LA(1); while (_la==T__12) { { { - setState(376); + setState(391); match(T__12); - setState(377); + setState(392); sub_param(); } } - setState(382); + setState(397); _errHandler.sync(this); _la = _input.LA(1); } @@ -2599,34 +2671,34 @@ public class prog8Parser extends Parser { public final Sub_paramContext sub_param() throws RecognitionException { Sub_paramContext _localctx = new Sub_paramContext(_ctx, getState()); - enterRule(_localctx, 78, RULE_sub_param); + enterRule(_localctx, 82, RULE_sub_param); try { enterOuterAlt(_localctx, 1); { - setState(383); + setState(398); identifier(); - setState(384); + setState(399); match(T__1); - setState(387); + setState(402); _errHandler.sync(this); switch (_input.LA(1)) { - case T__59: - case T__60: case T__61: case T__62: case T__63: case T__64: + case T__65: + case T__66: { - setState(385); + setState(400); register(); } break; - case T__65: - case T__66: case T__67: case T__68: + case T__69: + case T__70: { - setState(386); + setState(401); statusflag(); } break; @@ -2661,21 +2733,19 @@ public class prog8Parser extends Parser { public final Sub_returnsContext sub_returns() throws RecognitionException { Sub_returnsContext _localctx = new Sub_returnsContext(_ctx, getState()); - enterRule(_localctx, 80, RULE_sub_returns); + enterRule(_localctx, 84, RULE_sub_returns); int _la; try { - setState(398); + setState(413); _errHandler.sync(this); switch (_input.LA(1)) { - case T__77: + case T__79: enterOuterAlt(_localctx, 1); { - setState(389); - match(T__77); + setState(404); + match(T__79); } break; - case T__59: - case T__60: case T__61: case T__62: case T__63: @@ -2684,24 +2754,26 @@ public class prog8Parser extends Parser { case T__66: case T__67: case T__68: + case T__69: + case T__70: enterOuterAlt(_localctx, 2); { { - setState(390); + setState(405); sub_return(); - setState(395); + setState(410); _errHandler.sync(this); _la = _input.LA(1); while (_la==T__12) { { { - setState(391); + setState(406); match(T__12); - setState(392); + setState(407); sub_return(); } } - setState(397); + setState(412); _errHandler.sync(this); _la = _input.LA(1); } @@ -2738,44 +2810,44 @@ public class prog8Parser extends Parser { public final Sub_returnContext sub_return() throws RecognitionException { Sub_returnContext _localctx = new Sub_returnContext(_ctx, getState()); - enterRule(_localctx, 82, RULE_sub_return); + enterRule(_localctx, 86, RULE_sub_return); int _la; try { enterOuterAlt(_localctx, 1); { - setState(402); + setState(417); _errHandler.sync(this); switch (_input.LA(1)) { - case T__59: - case T__60: case T__61: case T__62: case T__63: case T__64: + case T__65: + case T__66: { - setState(400); + setState(415); register(); } break; - case T__65: - case T__66: case T__67: case T__68: + case T__69: + case T__70: { - setState(401); + setState(416); statusflag(); } break; default: throw new NoViableAltException(this); } - setState(405); + setState(420); _errHandler.sync(this); _la = _input.LA(1); - if (_la==T__77) { + if (_la==T__79) { { - setState(404); - match(T__77); + setState(419); + match(T__79); } } @@ -2817,30 +2889,30 @@ public class prog8Parser extends Parser { public final If_stmtContext if_stmt() throws RecognitionException { If_stmtContext _localctx = new If_stmtContext(_ctx, getState()); - enterRule(_localctx, 84, RULE_if_stmt); + enterRule(_localctx, 88, RULE_if_stmt); int _la; try { enterOuterAlt(_localctx, 1); { - setState(407); - match(T__78); - setState(408); + setState(422); + match(T__80); + setState(423); match(T__35); - setState(409); + setState(424); expression(0); - setState(410); + setState(425); match(T__36); - setState(412); + setState(427); _errHandler.sync(this); _la = _input.LA(1); if (_la==EOL) { { - setState(411); + setState(426); match(EOL); } } - setState(416); + setState(431); _errHandler.sync(this); switch (_input.LA(1)) { case T__2: @@ -2863,59 +2935,60 @@ public class prog8Parser extends Parser { case T__21: case T__22: case T__57: - case T__59: - case T__60: case T__61: case T__62: case T__63: case T__64: - case T__72: - case T__73: - case T__78: + case T__65: + case T__66: + case T__74: + case T__75: case T__80: - case T__81: case T__82: case T__83: case T__84: case T__85: case T__86: case T__87: + case T__88: + case T__89: + case T__90: case NAME: { - setState(414); + setState(429); statement(); } break; - case T__75: + case T__77: { - setState(415); + setState(430); statement_block(); } break; default: throw new NoViableAltException(this); } - setState(419); + setState(434); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) { case 1: { - setState(418); + setState(433); match(EOL); } break; } - setState(422); + setState(437); _errHandler.sync(this); _la = _input.LA(1); - if (_la==T__79) { + if (_la==T__81) { { - setState(421); + setState(436); else_part(); } } - setState(424); + setState(439); match(EOL); } } @@ -2946,24 +3019,24 @@ public class prog8Parser extends Parser { public final Else_partContext else_part() throws RecognitionException { Else_partContext _localctx = new Else_partContext(_ctx, getState()); - enterRule(_localctx, 86, RULE_else_part); + enterRule(_localctx, 90, RULE_else_part); int _la; try { enterOuterAlt(_localctx, 1); { - setState(426); - match(T__79); - setState(428); + setState(441); + match(T__81); + setState(443); _errHandler.sync(this); _la = _input.LA(1); if (_la==EOL) { { - setState(427); + setState(442); match(EOL); } } - setState(432); + setState(447); _errHandler.sync(this); switch (_input.LA(1)) { case T__2: @@ -2986,32 +3059,33 @@ public class prog8Parser extends Parser { case T__21: case T__22: case T__57: - case T__59: - case T__60: case T__61: case T__62: case T__63: case T__64: - case T__72: - case T__73: - case T__78: + case T__65: + case T__66: + case T__74: + case T__75: case T__80: - case T__81: case T__82: case T__83: case T__84: case T__85: case T__86: case T__87: + case T__88: + case T__89: + case T__90: case NAME: { - setState(430); + setState(445); statement(); } break; - case T__75: + case T__77: { - setState(431); + setState(446); statement_block(); } break; @@ -3056,24 +3130,24 @@ public class prog8Parser extends Parser { public final Branch_stmtContext branch_stmt() throws RecognitionException { Branch_stmtContext _localctx = new Branch_stmtContext(_ctx, getState()); - enterRule(_localctx, 88, RULE_branch_stmt); + enterRule(_localctx, 92, RULE_branch_stmt); int _la; try { enterOuterAlt(_localctx, 1); { - setState(434); + setState(449); branchcondition(); - setState(436); + setState(451); _errHandler.sync(this); _la = _input.LA(1); if (_la==EOL) { { - setState(435); + setState(450); match(EOL); } } - setState(440); + setState(455); _errHandler.sync(this); switch (_input.LA(1)) { case T__2: @@ -3096,59 +3170,60 @@ public class prog8Parser extends Parser { case T__21: case T__22: case T__57: - case T__59: - case T__60: case T__61: case T__62: case T__63: case T__64: - case T__72: - case T__73: - case T__78: + case T__65: + case T__66: + case T__74: + case T__75: case T__80: - case T__81: case T__82: case T__83: case T__84: case T__85: case T__86: case T__87: + case T__88: + case T__89: + case T__90: case NAME: { - setState(438); + setState(453); statement(); } break; - case T__75: + case T__77: { - setState(439); + setState(454); statement_block(); } break; default: throw new NoViableAltException(this); } - setState(443); + setState(458); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,46,_ctx) ) { case 1: { - setState(442); + setState(457); match(EOL); } break; } - setState(446); + setState(461); _errHandler.sync(this); _la = _input.LA(1); - if (_la==T__79) { + if (_la==T__81) { { - setState(445); + setState(460); else_part(); } } - setState(448); + setState(463); match(EOL); } } @@ -3172,14 +3247,14 @@ public class prog8Parser extends Parser { public final BranchconditionContext branchcondition() throws RecognitionException { BranchconditionContext _localctx = new BranchconditionContext(_ctx, getState()); - enterRule(_localctx, 90, RULE_branchcondition); + enterRule(_localctx, 94, RULE_branchcondition); int _la; try { enterOuterAlt(_localctx, 1); { - setState(450); + setState(465); _la = _input.LA(1); - if ( !(((((_la - 81)) & ~0x3f) == 0 && ((1L << (_la - 81)) & ((1L << (T__80 - 81)) | (1L << (T__81 - 81)) | (1L << (T__82 - 81)) | (1L << (T__83 - 81)) | (1L << (T__84 - 81)) | (1L << (T__85 - 81)) | (1L << (T__86 - 81)) | (1L << (T__87 - 81)))) != 0)) ) { + if ( !(((((_la - 83)) & ~0x3f) == 0 && ((1L << (_la - 83)) & ((1L << (T__82 - 83)) | (1L << (T__83 - 83)) | (1L << (T__84 - 83)) | (1L << (T__85 - 83)) | (1L << (T__86 - 83)) | (1L << (T__87 - 83)) | (1L << (T__88 - 83)) | (1L << (T__89 - 83)))) != 0)) ) { _errHandler.recoverInline(this); } else { @@ -3200,6 +3275,317 @@ public class prog8Parser extends Parser { return _localctx; } + public static class ForloopContext extends ParserRuleContext { + public ExpressionContext range_expr; + public ExpressionContext for_step; + public Loop_statement_blockContext loop_statement_block() { + return getRuleContext(Loop_statement_blockContext.class,0); + } + public List EOL() { return getTokens(prog8Parser.EOL); } + public TerminalNode EOL(int i) { + return getToken(prog8Parser.EOL, i); + } + public List expression() { + return getRuleContexts(ExpressionContext.class); + } + public ExpressionContext expression(int i) { + return getRuleContext(ExpressionContext.class,i); + } + public RegisterContext register() { + return getRuleContext(RegisterContext.class,0); + } + public IdentifierContext identifier() { + return getRuleContext(IdentifierContext.class,0); + } + public ForloopContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_forloop; } + } + + public final ForloopContext forloop() throws RecognitionException { + ForloopContext _localctx = new ForloopContext(_ctx, getState()); + enterRule(_localctx, 96, RULE_forloop); + int _la; + try { + enterOuterAlt(_localctx, 1); + { + setState(467); + match(T__90); + setState(470); + _errHandler.sync(this); + switch (_input.LA(1)) { + case T__61: + case T__62: + case T__63: + case T__64: + case T__65: + case T__66: + { + setState(468); + register(); + } + break; + case NAME: + { + setState(469); + identifier(); + } + break; + default: + throw new NoViableAltException(this); + } + setState(472); + match(T__91); + setState(473); + ((ForloopContext)_localctx).range_expr = expression(0); + setState(476); + _errHandler.sync(this); + _la = _input.LA(1); + if (_la==T__92) { + { + setState(474); + match(T__92); + setState(475); + ((ForloopContext)_localctx).for_step = expression(0); + } + } + + setState(479); + _errHandler.sync(this); + _la = _input.LA(1); + if (_la==EOL) { + { + setState(478); + match(EOL); + } + } + + setState(481); + loop_statement_block(); + setState(482); + match(EOL); + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + + public static class Loop_statement_blockContext extends ParserRuleContext { + public List EOL() { return getTokens(prog8Parser.EOL); } + public TerminalNode EOL(int i) { + return getToken(prog8Parser.EOL, i); + } + public List statement_in_loopblock() { + return getRuleContexts(Statement_in_loopblockContext.class); + } + public Statement_in_loopblockContext statement_in_loopblock(int i) { + return getRuleContext(Statement_in_loopblockContext.class,i); + } + public Loop_statement_blockContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_loop_statement_block; } + } + + public final Loop_statement_blockContext loop_statement_block() throws RecognitionException { + Loop_statement_blockContext _localctx = new Loop_statement_blockContext(_ctx, getState()); + enterRule(_localctx, 98, RULE_loop_statement_block); + int _la; + try { + enterOuterAlt(_localctx, 1); + { + setState(484); + match(T__77); + setState(485); + match(EOL); + setState(490); + _errHandler.sync(this); + _la = _input.LA(1); + while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__14) | (1L << T__15) | (1L << T__16) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__61) | (1L << T__62))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (T__63 - 64)) | (1L << (T__64 - 64)) | (1L << (T__65 - 64)) | (1L << (T__66 - 64)) | (1L << (T__74 - 64)) | (1L << (T__75 - 64)) | (1L << (T__80 - 64)) | (1L << (T__82 - 64)) | (1L << (T__83 - 64)) | (1L << (T__84 - 64)) | (1L << (T__85 - 64)) | (1L << (T__86 - 64)) | (1L << (T__87 - 64)) | (1L << (T__88 - 64)) | (1L << (T__89 - 64)) | (1L << (T__90 - 64)) | (1L << (EOL - 64)) | (1L << (NAME - 64)))) != 0)) { + { + setState(488); + _errHandler.sync(this); + switch (_input.LA(1)) { + case T__2: + case T__3: + case T__4: + case T__5: + case T__6: + case T__7: + case T__8: + case T__9: + case T__10: + case T__11: + case T__14: + case T__15: + case T__16: + case T__17: + case T__18: + case T__19: + case T__20: + case T__21: + case T__22: + case T__57: + case T__58: + case T__59: + case T__61: + case T__62: + case T__63: + case T__64: + case T__65: + case T__66: + case T__74: + case T__75: + case T__80: + case T__82: + case T__83: + case T__84: + case T__85: + case T__86: + case T__87: + case T__88: + case T__89: + case T__90: + case NAME: + { + setState(486); + statement_in_loopblock(); + } + break; + case EOL: + { + setState(487); + match(EOL); + } + break; + default: + throw new NoViableAltException(this); + } + } + setState(492); + _errHandler.sync(this); + _la = _input.LA(1); + } + setState(493); + match(T__78); + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + + public static class Statement_in_loopblockContext extends ParserRuleContext { + public StatementContext statement() { + return getRuleContext(StatementContext.class,0); + } + public BreakstmtContext breakstmt() { + return getRuleContext(BreakstmtContext.class,0); + } + public ContinuestmtContext continuestmt() { + return getRuleContext(ContinuestmtContext.class,0); + } + public Statement_in_loopblockContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_statement_in_loopblock; } + } + + public final Statement_in_loopblockContext statement_in_loopblock() throws RecognitionException { + Statement_in_loopblockContext _localctx = new Statement_in_loopblockContext(_ctx, getState()); + enterRule(_localctx, 100, RULE_statement_in_loopblock); + try { + setState(498); + _errHandler.sync(this); + switch (_input.LA(1)) { + case T__2: + case T__3: + case T__4: + case T__5: + case T__6: + case T__7: + case T__8: + case T__9: + case T__10: + case T__11: + case T__14: + case T__15: + case T__16: + case T__17: + case T__18: + case T__19: + case T__20: + case T__21: + case T__22: + case T__57: + case T__61: + case T__62: + case T__63: + case T__64: + case T__65: + case T__66: + case T__74: + case T__75: + case T__80: + case T__82: + case T__83: + case T__84: + case T__85: + case T__86: + case T__87: + case T__88: + case T__89: + case T__90: + case NAME: + enterOuterAlt(_localctx, 1); + { + setState(495); + statement(); + } + break; + case T__58: + enterOuterAlt(_localctx, 2); + { + setState(496); + breakstmt(); + } + break; + case T__59: + enterOuterAlt(_localctx, 3); + { + setState(497); + continuestmt(); + } + break; + default: + throw new NoViableAltException(this); + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) { switch (ruleIndex) { case 18: @@ -3240,174 +3626,193 @@ public class prog8Parser extends Parser { } public static final String _serializedATN = - "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3e\u01c7\4\2\t\2\4"+ + "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3j\u01f7\4\2\t\2\4"+ "\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t"+ "\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+ "\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+ "\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!"+ "\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4"+ - ",\t,\4-\t-\4.\t.\4/\t/\3\2\3\2\7\2a\n\2\f\2\16\2d\13\2\3\2\3\2\3\3\3\3"+ - "\5\3j\n\3\3\4\3\4\3\4\5\4o\n\4\3\4\3\4\3\4\3\5\3\5\3\5\3\5\3\5\3\5\3\5"+ - "\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\5\5\u0084\n\5\3\6\3\6\3\6\3\7\3\7"+ - "\3\7\3\7\5\7\u008d\n\7\3\b\3\b\5\b\u0091\n\b\3\b\3\b\3\b\7\b\u0096\n\b"+ - "\f\b\16\b\u0099\13\b\5\b\u009b\n\b\3\t\3\t\3\t\5\t\u00a0\n\t\3\n\3\n\5"+ - "\n\u00a4\n\n\3\n\3\n\3\13\3\13\5\13\u00aa\n\13\3\13\3\13\3\13\3\13\3\f"+ - "\3\f\3\f\3\r\3\r\3\r\3\16\3\16\3\17\3\17\3\17\3\17\5\17\u00bc\n\17\3\17"+ - "\3\17\3\20\3\20\3\20\3\20\3\21\3\21\3\21\3\21\3\22\3\22\3\22\5\22\u00cb"+ - "\n\22\3\23\3\23\3\23\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24"+ - "\3\24\3\24\3\24\3\24\5\24\u00de\n\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24"+ + ",\t,\4-\t-\4.\t.\4/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63\t\63\4\64\t"+ + "\64\3\2\3\2\7\2k\n\2\f\2\16\2n\13\2\3\2\3\2\3\3\3\3\5\3t\n\3\3\4\3\4\3"+ + "\4\5\4y\n\4\3\4\3\4\3\4\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3"+ + "\5\3\5\3\5\3\5\3\5\3\5\5\5\u008f\n\5\3\6\3\6\3\6\3\7\3\7\3\7\3\7\5\7\u0098"+ + "\n\7\3\b\3\b\5\b\u009c\n\b\3\b\3\b\3\b\7\b\u00a1\n\b\f\b\16\b\u00a4\13"+ + "\b\5\b\u00a6\n\b\3\t\3\t\3\t\5\t\u00ab\n\t\3\n\3\n\5\n\u00af\n\n\3\n\3"+ + "\n\3\13\3\13\5\13\u00b5\n\13\3\13\3\13\3\13\3\13\3\f\3\f\3\f\3\r\3\r\3"+ + "\r\3\16\3\16\3\17\3\17\3\17\3\17\5\17\u00c7\n\17\3\17\3\17\3\20\3\20\3"+ + "\20\3\20\3\21\3\21\3\21\3\21\3\22\3\22\3\22\5\22\u00d6\n\22\3\23\3\23"+ + "\3\23\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24"+ + "\3\24\5\24\u00e9\n\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24"+ "\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24"+ "\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24"+ - "\3\24\3\24\3\24\7\24\u0106\n\24\f\24\16\24\u0109\13\24\3\25\3\25\5\25"+ - "\u010d\n\25\3\25\3\25\5\25\u0111\n\25\3\25\3\25\3\26\3\26\5\26\u0117\n"+ - "\26\3\26\3\26\5\26\u011b\n\26\3\26\3\26\3\27\3\27\3\27\7\27\u0122\n\27"+ - "\f\27\16\27\u0125\13\27\3\30\3\30\5\30\u0129\n\30\3\31\3\31\3\32\3\32"+ - "\3\32\6\32\u0130\n\32\r\32\16\32\u0131\3\33\3\33\3\34\3\34\3\35\3\35\5"+ - "\35\u013a\n\35\3\36\3\36\3\37\3\37\3 \3 \3 \3 \7 \u0144\n \f \16 \u0147"+ - "\13 \3 \3 \3!\3!\3\"\3\"\3#\3#\3#\3#\3#\5#\u0154\n#\3$\3$\3$\3%\3%\3%"+ - "\3%\5%\u015d\n%\3%\3%\3%\3%\5%\u0163\n%\3%\3%\3%\3%\3%\5%\u016a\n%\3&"+ - "\3&\3&\3&\7&\u0170\n&\f&\16&\u0173\13&\3&\3&\3\'\3\'\3\'\3(\3(\3(\7(\u017d"+ - "\n(\f(\16(\u0180\13(\3)\3)\3)\3)\5)\u0186\n)\3*\3*\3*\3*\7*\u018c\n*\f"+ - "*\16*\u018f\13*\5*\u0191\n*\3+\3+\5+\u0195\n+\3+\5+\u0198\n+\3,\3,\3,"+ - "\3,\3,\5,\u019f\n,\3,\3,\5,\u01a3\n,\3,\5,\u01a6\n,\3,\5,\u01a9\n,\3,"+ - "\3,\3-\3-\5-\u01af\n-\3-\3-\5-\u01b3\n-\3.\3.\5.\u01b7\n.\3.\3.\5.\u01bb"+ - "\n.\3.\5.\u01be\n.\3.\5.\u01c1\n.\3.\3.\3/\3/\3/\2\3&\60\2\4\6\b\n\f\16"+ - "\20\22\24\26\30\32\34\36 \"$&(*,.\60\62\64\668:<>@BDFHJLNPRTVXZ\\\2\20"+ - "\3\2\6\16\3\2\23\31\3\2\34#\3\2$%\4\2\3\3()\3\2+-\3\2()\3\2.\61\3\2\62"+ - "\63\3\2>C\3\2DG\3\2`b\3\2IJ\3\2SZ\2\u01ed\2b\3\2\2\2\4i\3\2\2\2\6k\3\2"+ - "\2\2\b\u0083\3\2\2\2\n\u0085\3\2\2\2\f\u0088\3\2\2\2\16\u008e\3\2\2\2"+ - "\20\u009f\3\2\2\2\22\u00a1\3\2\2\2\24\u00a7\3\2\2\2\26\u00af\3\2\2\2\30"+ - "\u00b2\3\2\2\2\32\u00b5\3\2\2\2\34\u00b7\3\2\2\2\36\u00bf\3\2\2\2 \u00c3"+ - "\3\2\2\2\"\u00ca\3\2\2\2$\u00cc\3\2\2\2&\u00dd\3\2\2\2(\u010c\3\2\2\2"+ - "*\u0116\3\2\2\2,\u011e\3\2\2\2.\u0126\3\2\2\2\60\u012a\3\2\2\2\62\u012c"+ - "\3\2\2\2\64\u0133\3\2\2\2\66\u0135\3\2\2\28\u0137\3\2\2\2:\u013b\3\2\2"+ - "\2<\u013d\3\2\2\2>\u013f\3\2\2\2@\u014a\3\2\2\2B\u014c\3\2\2\2D\u0153"+ - "\3\2\2\2F\u0155\3\2\2\2H\u0158\3\2\2\2J\u016b\3\2\2\2L\u0176\3\2\2\2N"+ - "\u0179\3\2\2\2P\u0181\3\2\2\2R\u0190\3\2\2\2T\u0194\3\2\2\2V\u0199\3\2"+ - "\2\2X\u01ac\3\2\2\2Z\u01b4\3\2\2\2\\\u01c4\3\2\2\2^a\5\4\3\2_a\7^\2\2"+ - "`^\3\2\2\2`_\3\2\2\2ad\3\2\2\2b`\3\2\2\2bc\3\2\2\2ce\3\2\2\2db\3\2\2\2"+ - "ef\7\2\2\3f\3\3\2\2\2gj\5\16\b\2hj\5\6\4\2ig\3\2\2\2ih\3\2\2\2j\5\3\2"+ - "\2\2kl\7\3\2\2ln\5\60\31\2mo\58\35\2nm\3\2\2\2no\3\2\2\2op\3\2\2\2pq\5"+ - "J&\2qr\7^\2\2r\7\3\2\2\2s\u0084\5\16\b\2t\u0084\5\24\13\2u\u0084\5\22"+ - "\n\2v\u0084\5\26\f\2w\u0084\5\30\r\2x\u0084\5\36\20\2y\u0084\5 \21\2z"+ - "\u0084\5\f\7\2{\u0084\5$\23\2|\u0084\5*\26\2}\u0084\5V,\2~\u0084\5Z.\2"+ - "\177\u0084\5H%\2\u0080\u0084\5F$\2\u0081\u0084\5\n\6\2\u0082\u0084\5."+ - "\30\2\u0083s\3\2\2\2\u0083t\3\2\2\2\u0083u\3\2\2\2\u0083v\3\2\2\2\u0083"+ - "w\3\2\2\2\u0083x\3\2\2\2\u0083y\3\2\2\2\u0083z\3\2\2\2\u0083{\3\2\2\2"+ - "\u0083|\3\2\2\2\u0083}\3\2\2\2\u0083~\3\2\2\2\u0083\177\3\2\2\2\u0083"+ - "\u0080\3\2\2\2\u0083\u0081\3\2\2\2\u0083\u0082\3\2\2\2\u0084\t\3\2\2\2"+ - "\u0085\u0086\5\60\31\2\u0086\u0087\7\4\2\2\u0087\13\3\2\2\2\u0088\u008c"+ - "\7\5\2\2\u0089\u008d\58\35\2\u008a\u008d\5\60\31\2\u008b\u008d\5\62\32"+ - "\2\u008c\u0089\3\2\2\2\u008c\u008a\3\2\2\2\u008c\u008b\3\2\2\2\u008d\r"+ - "\3\2\2\2\u008e\u009a\t\2\2\2\u008f\u0091\5\20\t\2\u0090\u008f\3\2\2\2"+ - "\u0090\u0091\3\2\2\2\u0091\u009b\3\2\2\2\u0092\u0097\5\20\t\2\u0093\u0094"+ - "\7\17\2\2\u0094\u0096\5\20\t\2\u0095\u0093\3\2\2\2\u0096\u0099\3\2\2\2"+ - "\u0097\u0095\3\2\2\2\u0097\u0098\3\2\2\2\u0098\u009b\3\2\2\2\u0099\u0097"+ - "\3\2\2\2\u009a\u0090\3\2\2\2\u009a\u0092\3\2\2\2\u009b\17\3\2\2\2\u009c"+ - "\u00a0\5@!\2\u009d\u00a0\5\60\31\2\u009e\u00a0\58\35\2\u009f\u009c\3\2"+ - "\2\2\u009f\u009d\3\2\2\2\u009f\u009e\3\2\2\2\u00a0\21\3\2\2\2\u00a1\u00a3"+ - "\5\32\16\2\u00a2\u00a4\5\34\17\2\u00a3\u00a2\3\2\2\2\u00a3\u00a4\3\2\2"+ - "\2\u00a4\u00a5\3\2\2\2\u00a5\u00a6\5\60\31\2\u00a6\23\3\2\2\2\u00a7\u00a9"+ - "\5\32\16\2\u00a8\u00aa\5\34\17\2\u00a9\u00a8\3\2\2\2\u00a9\u00aa\3\2\2"+ - "\2\u00aa\u00ab\3\2\2\2\u00ab\u00ac\5\60\31\2\u00ac\u00ad\7\20\2\2\u00ad"+ - "\u00ae\5&\24\2\u00ae\25\3\2\2\2\u00af\u00b0\7\21\2\2\u00b0\u00b1\5\24"+ - "\13\2\u00b1\27\3\2\2\2\u00b2\u00b3\7\22\2\2\u00b3\u00b4\5\24\13\2\u00b4"+ - "\31\3\2\2\2\u00b5\u00b6\t\3\2\2\u00b6\33\3\2\2\2\u00b7\u00b8\7\32\2\2"+ - "\u00b8\u00bb\5&\24\2\u00b9\u00ba\7\17\2\2\u00ba\u00bc\5&\24\2\u00bb\u00b9"+ - "\3\2\2\2\u00bb\u00bc\3\2\2\2\u00bc\u00bd\3\2\2\2\u00bd\u00be\7\33\2\2"+ - "\u00be\35\3\2\2\2\u00bf\u00c0\5\"\22\2\u00c0\u00c1\7\20\2\2\u00c1\u00c2"+ - "\5&\24\2\u00c2\37\3\2\2\2\u00c3\u00c4\5\"\22\2\u00c4\u00c5\t\4\2\2\u00c5"+ - "\u00c6\5&\24\2\u00c6!\3\2\2\2\u00c7\u00cb\5\64\33\2\u00c8\u00cb\5\60\31"+ - "\2\u00c9\u00cb\5\62\32\2\u00ca\u00c7\3\2\2\2\u00ca\u00c8\3\2\2\2\u00ca"+ - "\u00c9\3\2\2\2\u00cb#\3\2\2\2\u00cc\u00cd\5\"\22\2\u00cd\u00ce\t\5\2\2"+ - "\u00ce%\3\2\2\2\u00cf\u00d0\b\24\1\2\u00d0\u00d1\7&\2\2\u00d1\u00d2\5"+ - "&\24\2\u00d2\u00d3\7\'\2\2\u00d3\u00de\3\2\2\2\u00d4\u00de\5(\25\2\u00d5"+ - "\u00d6\t\6\2\2\u00d6\u00de\5&\24\24\u00d7\u00d8\7;\2\2\u00d8\u00de\5&"+ - "\24\7\u00d9\u00de\5D#\2\u00da\u00de\5\64\33\2\u00db\u00de\5\60\31\2\u00dc"+ - "\u00de\5\62\32\2\u00dd\u00cf\3\2\2\2\u00dd\u00d4\3\2\2\2\u00dd\u00d5\3"+ - "\2\2\2\u00dd\u00d7\3\2\2\2\u00dd\u00d9\3\2\2\2\u00dd\u00da\3\2\2\2\u00dd"+ - "\u00db\3\2\2\2\u00dd\u00dc\3\2\2\2\u00de\u0107\3\2\2\2\u00df\u00e0\f\23"+ - "\2\2\u00e0\u00e1\7*\2\2\u00e1\u0106\5&\24\24\u00e2\u00e3\f\22\2\2\u00e3"+ - "\u00e4\t\7\2\2\u00e4\u0106\5&\24\23\u00e5\u00e6\f\21\2\2\u00e6\u00e7\t"+ - "\b\2\2\u00e7\u0106\5&\24\22\u00e8\u00e9\f\20\2\2\u00e9\u00ea\t\t\2\2\u00ea"+ - "\u0106\5&\24\21\u00eb\u00ec\f\17\2\2\u00ec\u00ed\t\n\2\2\u00ed\u0106\5"+ - "&\24\20\u00ee\u00ef\f\16\2\2\u00ef\u00f0\7\64\2\2\u00f0\u0106\5&\24\17"+ - "\u00f1\u00f2\f\r\2\2\u00f2\u00f3\7\65\2\2\u00f3\u0106\5&\24\16\u00f4\u00f5"+ - "\f\f\2\2\u00f5\u00f6\7\66\2\2\u00f6\u0106\5&\24\r\u00f7\u00f8\f\13\2\2"+ - "\u00f8\u00f9\7\67\2\2\u00f9\u0106\5&\24\f\u00fa\u00fb\f\n\2\2\u00fb\u00fc"+ - "\78\2\2\u00fc\u0106\5&\24\13\u00fd\u00fe\f\t\2\2\u00fe\u00ff\79\2\2\u00ff"+ - "\u0106\5&\24\n\u0100\u0101\f\b\2\2\u0101\u0102\7:\2\2\u0102\u0106\5&\24"+ - "\t\u0103\u0104\f\26\2\2\u0104\u0106\5\34\17\2\u0105\u00df\3\2\2\2\u0105"+ - "\u00e2\3\2\2\2\u0105\u00e5\3\2\2\2\u0105\u00e8\3\2\2\2\u0105\u00eb\3\2"+ - "\2\2\u0105\u00ee\3\2\2\2\u0105\u00f1\3\2\2\2\u0105\u00f4\3\2\2\2\u0105"+ - "\u00f7\3\2\2\2\u0105\u00fa\3\2\2\2\u0105\u00fd\3\2\2\2\u0105\u0100\3\2"+ - "\2\2\u0105\u0103\3\2\2\2\u0106\u0109\3\2\2\2\u0107\u0105\3\2\2\2\u0107"+ - "\u0108\3\2\2\2\u0108\'\3\2\2\2\u0109\u0107\3\2\2\2\u010a\u010d\5\60\31"+ - "\2\u010b\u010d\5\62\32\2\u010c\u010a\3\2\2\2\u010c\u010b\3\2\2\2\u010d"+ - "\u010e\3\2\2\2\u010e\u0110\7&\2\2\u010f\u0111\5,\27\2\u0110\u010f\3\2"+ - "\2\2\u0110\u0111\3\2\2\2\u0111\u0112\3\2\2\2\u0112\u0113\7\'\2\2\u0113"+ - ")\3\2\2\2\u0114\u0117\5\60\31\2\u0115\u0117\5\62\32\2\u0116\u0114\3\2"+ - "\2\2\u0116\u0115\3\2\2\2\u0117\u0118\3\2\2\2\u0118\u011a\7&\2\2\u0119"+ - "\u011b\5,\27\2\u011a\u0119\3\2\2\2\u011a\u011b\3\2\2\2\u011b\u011c\3\2"+ - "\2\2\u011c\u011d\7\'\2\2\u011d+\3\2\2\2\u011e\u0123\5&\24\2\u011f\u0120"+ - "\7\17\2\2\u0120\u0122\5&\24\2\u0121\u011f\3\2\2\2\u0122\u0125\3\2\2\2"+ - "\u0123\u0121\3\2\2\2\u0123\u0124\3\2\2\2\u0124-\3\2\2\2\u0125\u0123\3"+ - "\2\2\2\u0126\u0128\7<\2\2\u0127\u0129\5,\27\2\u0128\u0127\3\2\2\2\u0128"+ - "\u0129\3\2\2\2\u0129/\3\2\2\2\u012a\u012b\7_\2\2\u012b\61\3\2\2\2\u012c"+ - "\u012f\7_\2\2\u012d\u012e\7=\2\2\u012e\u0130\7_\2\2\u012f\u012d\3\2\2"+ - "\2\u0130\u0131\3\2\2\2\u0131\u012f\3\2\2\2\u0131\u0132\3\2\2\2\u0132\63"+ - "\3\2\2\2\u0133\u0134\t\13\2\2\u0134\65\3\2\2\2\u0135\u0136\t\f\2\2\u0136"+ - "\67\3\2\2\2\u0137\u0139\t\r\2\2\u0138\u013a\5:\36\2\u0139\u0138\3\2\2"+ - "\2\u0139\u013a\3\2\2\2\u013a9\3\2\2\2\u013b\u013c\7H\2\2\u013c;\3\2\2"+ - "\2\u013d\u013e\t\16\2\2\u013e=\3\2\2\2\u013f\u0140\7\32\2\2\u0140\u0145"+ - "\5&\24\2\u0141\u0142\7\17\2\2\u0142\u0144\5&\24\2\u0143\u0141\3\2\2\2"+ - "\u0144\u0147\3\2\2\2\u0145\u0143\3\2\2\2\u0145\u0146\3\2\2\2\u0146\u0148"+ - "\3\2\2\2\u0147\u0145\3\2\2\2\u0148\u0149\7\33\2\2\u0149?\3\2\2\2\u014a"+ - "\u014b\7d\2\2\u014bA\3\2\2\2\u014c\u014d\7c\2\2\u014dC\3\2\2\2\u014e\u0154"+ - "\58\35\2\u014f\u0154\5<\37\2\u0150\u0154\5> \2\u0151\u0154\5@!\2\u0152"+ - "\u0154\5B\"\2\u0153\u014e\3\2\2\2\u0153\u014f\3\2\2\2\u0153\u0150\3\2"+ - "\2\2\u0153\u0151\3\2\2\2\u0153\u0152\3\2\2\2\u0154E\3\2\2\2\u0155\u0156"+ - "\7K\2\2\u0156\u0157\7e\2\2\u0157G\3\2\2\2\u0158\u0159\7L\2\2\u0159\u015a"+ - "\5\60\31\2\u015a\u015c\7&\2\2\u015b\u015d\5N(\2\u015c\u015b\3\2\2\2\u015c"+ - "\u015d\3\2\2\2\u015d\u015e\3\2\2\2\u015e\u015f\7\'\2\2\u015f\u0160\7M"+ - "\2\2\u0160\u0162\7&\2\2\u0161\u0163\5R*\2\u0162\u0161\3\2\2\2\u0162\u0163"+ - "\3\2\2\2\u0163\u0164\3\2\2\2\u0164\u0169\7\'\2\2\u0165\u016a\5L\'\2\u0166"+ - "\u0167\5J&\2\u0167\u0168\7^\2\2\u0168\u016a\3\2\2\2\u0169\u0165\3\2\2"+ - "\2\u0169\u0166\3\2\2\2\u016aI\3\2\2\2\u016b\u016c\7N\2\2\u016c\u0171\7"+ - "^\2\2\u016d\u0170\5\b\5\2\u016e\u0170\7^\2\2\u016f\u016d\3\2\2\2\u016f"+ - "\u016e\3\2\2\2\u0170\u0173\3\2\2\2\u0171\u016f\3\2\2\2\u0171\u0172\3\2"+ - "\2\2\u0172\u0174\3\2\2\2\u0173\u0171\3\2\2\2\u0174\u0175\7O\2\2\u0175"+ - "K\3\2\2\2\u0176\u0177\7\20\2\2\u0177\u0178\58\35\2\u0178M\3\2\2\2\u0179"+ - "\u017e\5P)\2\u017a\u017b\7\17\2\2\u017b\u017d\5P)\2\u017c\u017a\3\2\2"+ - "\2\u017d\u0180\3\2\2\2\u017e\u017c\3\2\2\2\u017e\u017f\3\2\2\2\u017fO"+ - "\3\2\2\2\u0180\u017e\3\2\2\2\u0181\u0182\5\60\31\2\u0182\u0185\7\4\2\2"+ - "\u0183\u0186\5\64\33\2\u0184\u0186\5\66\34\2\u0185\u0183\3\2\2\2\u0185"+ - "\u0184\3\2\2\2\u0186Q\3\2\2\2\u0187\u0191\7P\2\2\u0188\u018d\5T+\2\u0189"+ - "\u018a\7\17\2\2\u018a\u018c\5T+\2\u018b\u0189\3\2\2\2\u018c\u018f\3\2"+ - "\2\2\u018d\u018b\3\2\2\2\u018d\u018e\3\2\2\2\u018e\u0191\3\2\2\2\u018f"+ - "\u018d\3\2\2\2\u0190\u0187\3\2\2\2\u0190\u0188\3\2\2\2\u0191S\3\2\2\2"+ - "\u0192\u0195\5\64\33\2\u0193\u0195\5\66\34\2\u0194\u0192\3\2\2\2\u0194"+ - "\u0193\3\2\2\2\u0195\u0197\3\2\2\2\u0196\u0198\7P\2\2\u0197\u0196\3\2"+ - "\2\2\u0197\u0198\3\2\2\2\u0198U\3\2\2\2\u0199\u019a\7Q\2\2\u019a\u019b"+ - "\7&\2\2\u019b\u019c\5&\24\2\u019c\u019e\7\'\2\2\u019d\u019f\7^\2\2\u019e"+ - "\u019d\3\2\2\2\u019e\u019f\3\2\2\2\u019f\u01a2\3\2\2\2\u01a0\u01a3\5\b"+ - "\5\2\u01a1\u01a3\5J&\2\u01a2\u01a0\3\2\2\2\u01a2\u01a1\3\2\2\2\u01a3\u01a5"+ - "\3\2\2\2\u01a4\u01a6\7^\2\2\u01a5\u01a4\3\2\2\2\u01a5\u01a6\3\2\2\2\u01a6"+ - "\u01a8\3\2\2\2\u01a7\u01a9\5X-\2\u01a8\u01a7\3\2\2\2\u01a8\u01a9\3\2\2"+ - "\2\u01a9\u01aa\3\2\2\2\u01aa\u01ab\7^\2\2\u01abW\3\2\2\2\u01ac\u01ae\7"+ - "R\2\2\u01ad\u01af\7^\2\2\u01ae\u01ad\3\2\2\2\u01ae\u01af\3\2\2\2\u01af"+ - "\u01b2\3\2\2\2\u01b0\u01b3\5\b\5\2\u01b1\u01b3\5J&\2\u01b2\u01b0\3\2\2"+ - "\2\u01b2\u01b1\3\2\2\2\u01b3Y\3\2\2\2\u01b4\u01b6\5\\/\2\u01b5\u01b7\7"+ - "^\2\2\u01b6\u01b5\3\2\2\2\u01b6\u01b7\3\2\2\2\u01b7\u01ba\3\2\2\2\u01b8"+ - "\u01bb\5\b\5\2\u01b9\u01bb\5J&\2\u01ba\u01b8\3\2\2\2\u01ba\u01b9\3\2\2"+ - "\2\u01bb\u01bd\3\2\2\2\u01bc\u01be\7^\2\2\u01bd\u01bc\3\2\2\2\u01bd\u01be"+ - "\3\2\2\2\u01be\u01c0\3\2\2\2\u01bf\u01c1\5X-\2\u01c0\u01bf\3\2\2\2\u01c0"+ - "\u01c1\3\2\2\2\u01c1\u01c2\3\2\2\2\u01c2\u01c3\7^\2\2\u01c3[\3\2\2\2\u01c4"+ - "\u01c5\t\17\2\2\u01c5]\3\2\2\2\62`bin\u0083\u008c\u0090\u0097\u009a\u009f"+ - "\u00a3\u00a9\u00bb\u00ca\u00dd\u0105\u0107\u010c\u0110\u0116\u011a\u0123"+ - "\u0128\u0131\u0139\u0145\u0153\u015c\u0162\u0169\u016f\u0171\u017e\u0185"+ - "\u018d\u0190\u0194\u0197\u019e\u01a2\u01a5\u01a8\u01ae\u01b2\u01b6\u01ba"+ - "\u01bd\u01c0"; + "\7\24\u0111\n\24\f\24\16\24\u0114\13\24\3\25\3\25\5\25\u0118\n\25\3\25"+ + "\3\25\5\25\u011c\n\25\3\25\3\25\3\26\3\26\5\26\u0122\n\26\3\26\3\26\5"+ + "\26\u0126\n\26\3\26\3\26\3\27\3\27\3\27\7\27\u012d\n\27\f\27\16\27\u0130"+ + "\13\27\3\30\3\30\5\30\u0134\n\30\3\31\3\31\3\32\3\32\3\33\3\33\3\34\3"+ + "\34\3\34\6\34\u013f\n\34\r\34\16\34\u0140\3\35\3\35\3\36\3\36\3\37\3\37"+ + "\5\37\u0149\n\37\3 \3 \3!\3!\3\"\3\"\3\"\3\"\7\"\u0153\n\"\f\"\16\"\u0156"+ + "\13\"\3\"\3\"\3#\3#\3$\3$\3%\3%\3%\3%\3%\5%\u0163\n%\3&\3&\3&\3\'\3\'"+ + "\3\'\3\'\5\'\u016c\n\'\3\'\3\'\3\'\3\'\5\'\u0172\n\'\3\'\3\'\3\'\3\'\3"+ + "\'\5\'\u0179\n\'\3(\3(\3(\3(\7(\u017f\n(\f(\16(\u0182\13(\3(\3(\3)\3)"+ + "\3)\3*\3*\3*\7*\u018c\n*\f*\16*\u018f\13*\3+\3+\3+\3+\5+\u0195\n+\3,\3"+ + ",\3,\3,\7,\u019b\n,\f,\16,\u019e\13,\5,\u01a0\n,\3-\3-\5-\u01a4\n-\3-"+ + "\5-\u01a7\n-\3.\3.\3.\3.\3.\5.\u01ae\n.\3.\3.\5.\u01b2\n.\3.\5.\u01b5"+ + "\n.\3.\5.\u01b8\n.\3.\3.\3/\3/\5/\u01be\n/\3/\3/\5/\u01c2\n/\3\60\3\60"+ + "\5\60\u01c6\n\60\3\60\3\60\5\60\u01ca\n\60\3\60\5\60\u01cd\n\60\3\60\5"+ + "\60\u01d0\n\60\3\60\3\60\3\61\3\61\3\62\3\62\3\62\5\62\u01d9\n\62\3\62"+ + "\3\62\3\62\3\62\5\62\u01df\n\62\3\62\5\62\u01e2\n\62\3\62\3\62\3\62\3"+ + "\63\3\63\3\63\3\63\7\63\u01eb\n\63\f\63\16\63\u01ee\13\63\3\63\3\63\3"+ + "\64\3\64\3\64\5\64\u01f5\n\64\3\64\2\3&\65\2\4\6\b\n\f\16\20\22\24\26"+ + "\30\32\34\36 \"$&(*,.\60\62\64\668:<>@BDFHJLNPRTVXZ\\^`bdf\2\20\3\2\6"+ + "\16\3\2\23\31\3\2\34#\3\2$%\4\2\3\3()\3\2+-\3\2()\3\2.\61\3\2\62\63\3"+ + "\2@E\3\2FI\3\2eg\3\2KL\3\2U\\\2\u0220\2l\3\2\2\2\4s\3\2\2\2\6u\3\2\2\2"+ + "\b\u008e\3\2\2\2\n\u0090\3\2\2\2\f\u0093\3\2\2\2\16\u0099\3\2\2\2\20\u00aa"+ + "\3\2\2\2\22\u00ac\3\2\2\2\24\u00b2\3\2\2\2\26\u00ba\3\2\2\2\30\u00bd\3"+ + "\2\2\2\32\u00c0\3\2\2\2\34\u00c2\3\2\2\2\36\u00ca\3\2\2\2 \u00ce\3\2\2"+ + "\2\"\u00d5\3\2\2\2$\u00d7\3\2\2\2&\u00e8\3\2\2\2(\u0117\3\2\2\2*\u0121"+ + "\3\2\2\2,\u0129\3\2\2\2.\u0131\3\2\2\2\60\u0135\3\2\2\2\62\u0137\3\2\2"+ + "\2\64\u0139\3\2\2\2\66\u013b\3\2\2\28\u0142\3\2\2\2:\u0144\3\2\2\2<\u0146"+ + "\3\2\2\2>\u014a\3\2\2\2@\u014c\3\2\2\2B\u014e\3\2\2\2D\u0159\3\2\2\2F"+ + "\u015b\3\2\2\2H\u0162\3\2\2\2J\u0164\3\2\2\2L\u0167\3\2\2\2N\u017a\3\2"+ + "\2\2P\u0185\3\2\2\2R\u0188\3\2\2\2T\u0190\3\2\2\2V\u019f\3\2\2\2X\u01a3"+ + "\3\2\2\2Z\u01a8\3\2\2\2\\\u01bb\3\2\2\2^\u01c3\3\2\2\2`\u01d3\3\2\2\2"+ + "b\u01d5\3\2\2\2d\u01e6\3\2\2\2f\u01f4\3\2\2\2hk\5\4\3\2ik\7c\2\2jh\3\2"+ + "\2\2ji\3\2\2\2kn\3\2\2\2lj\3\2\2\2lm\3\2\2\2mo\3\2\2\2nl\3\2\2\2op\7\2"+ + "\2\3p\3\3\2\2\2qt\5\16\b\2rt\5\6\4\2sq\3\2\2\2sr\3\2\2\2t\5\3\2\2\2uv"+ + "\7\3\2\2vx\5\64\33\2wy\5<\37\2xw\3\2\2\2xy\3\2\2\2yz\3\2\2\2z{\5N(\2{"+ + "|\7c\2\2|\7\3\2\2\2}\u008f\5\16\b\2~\u008f\5\24\13\2\177\u008f\5\22\n"+ + "\2\u0080\u008f\5\26\f\2\u0081\u008f\5\30\r\2\u0082\u008f\5\36\20\2\u0083"+ + "\u008f\5 \21\2\u0084\u008f\5\f\7\2\u0085\u008f\5$\23\2\u0086\u008f\5*"+ + "\26\2\u0087\u008f\5Z.\2\u0088\u008f\5^\60\2\u0089\u008f\5L\'\2\u008a\u008f"+ + "\5J&\2\u008b\u008f\5\n\6\2\u008c\u008f\5.\30\2\u008d\u008f\5b\62\2\u008e"+ + "}\3\2\2\2\u008e~\3\2\2\2\u008e\177\3\2\2\2\u008e\u0080\3\2\2\2\u008e\u0081"+ + "\3\2\2\2\u008e\u0082\3\2\2\2\u008e\u0083\3\2\2\2\u008e\u0084\3\2\2\2\u008e"+ + "\u0085\3\2\2\2\u008e\u0086\3\2\2\2\u008e\u0087\3\2\2\2\u008e\u0088\3\2"+ + "\2\2\u008e\u0089\3\2\2\2\u008e\u008a\3\2\2\2\u008e\u008b\3\2\2\2\u008e"+ + "\u008c\3\2\2\2\u008e\u008d\3\2\2\2\u008f\t\3\2\2\2\u0090\u0091\5\64\33"+ + "\2\u0091\u0092\7\4\2\2\u0092\13\3\2\2\2\u0093\u0097\7\5\2\2\u0094\u0098"+ + "\5<\37\2\u0095\u0098\5\64\33\2\u0096\u0098\5\66\34\2\u0097\u0094\3\2\2"+ + "\2\u0097\u0095\3\2\2\2\u0097\u0096\3\2\2\2\u0098\r\3\2\2\2\u0099\u00a5"+ + "\t\2\2\2\u009a\u009c\5\20\t\2\u009b\u009a\3\2\2\2\u009b\u009c\3\2\2\2"+ + "\u009c\u00a6\3\2\2\2\u009d\u00a2\5\20\t\2\u009e\u009f\7\17\2\2\u009f\u00a1"+ + "\5\20\t\2\u00a0\u009e\3\2\2\2\u00a1\u00a4\3\2\2\2\u00a2\u00a0\3\2\2\2"+ + "\u00a2\u00a3\3\2\2\2\u00a3\u00a6\3\2\2\2\u00a4\u00a2\3\2\2\2\u00a5\u009b"+ + "\3\2\2\2\u00a5\u009d\3\2\2\2\u00a6\17\3\2\2\2\u00a7\u00ab\5D#\2\u00a8"+ + "\u00ab\5\64\33\2\u00a9\u00ab\5<\37\2\u00aa\u00a7\3\2\2\2\u00aa\u00a8\3"+ + "\2\2\2\u00aa\u00a9\3\2\2\2\u00ab\21\3\2\2\2\u00ac\u00ae\5\32\16\2\u00ad"+ + "\u00af\5\34\17\2\u00ae\u00ad\3\2\2\2\u00ae\u00af\3\2\2\2\u00af\u00b0\3"+ + "\2\2\2\u00b0\u00b1\5\64\33\2\u00b1\23\3\2\2\2\u00b2\u00b4\5\32\16\2\u00b3"+ + "\u00b5\5\34\17\2\u00b4\u00b3\3\2\2\2\u00b4\u00b5\3\2\2\2\u00b5\u00b6\3"+ + "\2\2\2\u00b6\u00b7\5\64\33\2\u00b7\u00b8\7\20\2\2\u00b8\u00b9\5&\24\2"+ + "\u00b9\25\3\2\2\2\u00ba\u00bb\7\21\2\2\u00bb\u00bc\5\24\13\2\u00bc\27"+ + "\3\2\2\2\u00bd\u00be\7\22\2\2\u00be\u00bf\5\24\13\2\u00bf\31\3\2\2\2\u00c0"+ + "\u00c1\t\3\2\2\u00c1\33\3\2\2\2\u00c2\u00c3\7\32\2\2\u00c3\u00c6\5&\24"+ + "\2\u00c4\u00c5\7\17\2\2\u00c5\u00c7\5&\24\2\u00c6\u00c4\3\2\2\2\u00c6"+ + "\u00c7\3\2\2\2\u00c7\u00c8\3\2\2\2\u00c8\u00c9\7\33\2\2\u00c9\35\3\2\2"+ + "\2\u00ca\u00cb\5\"\22\2\u00cb\u00cc\7\20\2\2\u00cc\u00cd\5&\24\2\u00cd"+ + "\37\3\2\2\2\u00ce\u00cf\5\"\22\2\u00cf\u00d0\t\4\2\2\u00d0\u00d1\5&\24"+ + "\2\u00d1!\3\2\2\2\u00d2\u00d6\58\35\2\u00d3\u00d6\5\64\33\2\u00d4\u00d6"+ + "\5\66\34\2\u00d5\u00d2\3\2\2\2\u00d5\u00d3\3\2\2\2\u00d5\u00d4\3\2\2\2"+ + "\u00d6#\3\2\2\2\u00d7\u00d8\5\"\22\2\u00d8\u00d9\t\5\2\2\u00d9%\3\2\2"+ + "\2\u00da\u00db\b\24\1\2\u00db\u00dc\7&\2\2\u00dc\u00dd\5&\24\2\u00dd\u00de"+ + "\7\'\2\2\u00de\u00e9\3\2\2\2\u00df\u00e9\5(\25\2\u00e0\u00e1\t\6\2\2\u00e1"+ + "\u00e9\5&\24\24\u00e2\u00e3\7;\2\2\u00e3\u00e9\5&\24\7\u00e4\u00e9\5H"+ + "%\2\u00e5\u00e9\58\35\2\u00e6\u00e9\5\64\33\2\u00e7\u00e9\5\66\34\2\u00e8"+ + "\u00da\3\2\2\2\u00e8\u00df\3\2\2\2\u00e8\u00e0\3\2\2\2\u00e8\u00e2\3\2"+ + "\2\2\u00e8\u00e4\3\2\2\2\u00e8\u00e5\3\2\2\2\u00e8\u00e6\3\2\2\2\u00e8"+ + "\u00e7\3\2\2\2\u00e9\u0112\3\2\2\2\u00ea\u00eb\f\23\2\2\u00eb\u00ec\7"+ + "*\2\2\u00ec\u0111\5&\24\24\u00ed\u00ee\f\22\2\2\u00ee\u00ef\t\7\2\2\u00ef"+ + "\u0111\5&\24\23\u00f0\u00f1\f\21\2\2\u00f1\u00f2\t\b\2\2\u00f2\u0111\5"+ + "&\24\22\u00f3\u00f4\f\20\2\2\u00f4\u00f5\t\t\2\2\u00f5\u0111\5&\24\21"+ + "\u00f6\u00f7\f\17\2\2\u00f7\u00f8\t\n\2\2\u00f8\u0111\5&\24\20\u00f9\u00fa"+ + "\f\16\2\2\u00fa\u00fb\7\64\2\2\u00fb\u0111\5&\24\17\u00fc\u00fd\f\r\2"+ + "\2\u00fd\u00fe\7\65\2\2\u00fe\u0111\5&\24\16\u00ff\u0100\f\f\2\2\u0100"+ + "\u0101\7\66\2\2\u0101\u0111\5&\24\r\u0102\u0103\f\13\2\2\u0103\u0104\7"+ + "\67\2\2\u0104\u0111\5&\24\f\u0105\u0106\f\n\2\2\u0106\u0107\78\2\2\u0107"+ + "\u0111\5&\24\13\u0108\u0109\f\t\2\2\u0109\u010a\79\2\2\u010a\u0111\5&"+ + "\24\n\u010b\u010c\f\b\2\2\u010c\u010d\7:\2\2\u010d\u0111\5&\24\t\u010e"+ + "\u010f\f\26\2\2\u010f\u0111\5\34\17\2\u0110\u00ea\3\2\2\2\u0110\u00ed"+ + "\3\2\2\2\u0110\u00f0\3\2\2\2\u0110\u00f3\3\2\2\2\u0110\u00f6\3\2\2\2\u0110"+ + "\u00f9\3\2\2\2\u0110\u00fc\3\2\2\2\u0110\u00ff\3\2\2\2\u0110\u0102\3\2"+ + "\2\2\u0110\u0105\3\2\2\2\u0110\u0108\3\2\2\2\u0110\u010b\3\2\2\2\u0110"+ + "\u010e\3\2\2\2\u0111\u0114\3\2\2\2\u0112\u0110\3\2\2\2\u0112\u0113\3\2"+ + "\2\2\u0113\'\3\2\2\2\u0114\u0112\3\2\2\2\u0115\u0118\5\64\33\2\u0116\u0118"+ + "\5\66\34\2\u0117\u0115\3\2\2\2\u0117\u0116\3\2\2\2\u0118\u0119\3\2\2\2"+ + "\u0119\u011b\7&\2\2\u011a\u011c\5,\27\2\u011b\u011a\3\2\2\2\u011b\u011c"+ + "\3\2\2\2\u011c\u011d\3\2\2\2\u011d\u011e\7\'\2\2\u011e)\3\2\2\2\u011f"+ + "\u0122\5\64\33\2\u0120\u0122\5\66\34\2\u0121\u011f\3\2\2\2\u0121\u0120"+ + "\3\2\2\2\u0122\u0123\3\2\2\2\u0123\u0125\7&\2\2\u0124\u0126\5,\27\2\u0125"+ + "\u0124\3\2\2\2\u0125\u0126\3\2\2\2\u0126\u0127\3\2\2\2\u0127\u0128\7\'"+ + "\2\2\u0128+\3\2\2\2\u0129\u012e\5&\24\2\u012a\u012b\7\17\2\2\u012b\u012d"+ + "\5&\24\2\u012c\u012a\3\2\2\2\u012d\u0130\3\2\2\2\u012e\u012c\3\2\2\2\u012e"+ + "\u012f\3\2\2\2\u012f-\3\2\2\2\u0130\u012e\3\2\2\2\u0131\u0133\7<\2\2\u0132"+ + "\u0134\5,\27\2\u0133\u0132\3\2\2\2\u0133\u0134\3\2\2\2\u0134/\3\2\2\2"+ + "\u0135\u0136\7=\2\2\u0136\61\3\2\2\2\u0137\u0138\7>\2\2\u0138\63\3\2\2"+ + "\2\u0139\u013a\7d\2\2\u013a\65\3\2\2\2\u013b\u013e\7d\2\2\u013c\u013d"+ + "\7?\2\2\u013d\u013f\7d\2\2\u013e\u013c\3\2\2\2\u013f\u0140\3\2\2\2\u0140"+ + "\u013e\3\2\2\2\u0140\u0141\3\2\2\2\u0141\67\3\2\2\2\u0142\u0143\t\13\2"+ + "\2\u01439\3\2\2\2\u0144\u0145\t\f\2\2\u0145;\3\2\2\2\u0146\u0148\t\r\2"+ + "\2\u0147\u0149\5> \2\u0148\u0147\3\2\2\2\u0148\u0149\3\2\2\2\u0149=\3"+ + "\2\2\2\u014a\u014b\7J\2\2\u014b?\3\2\2\2\u014c\u014d\t\16\2\2\u014dA\3"+ + "\2\2\2\u014e\u014f\7\32\2\2\u014f\u0154\5&\24\2\u0150\u0151\7\17\2\2\u0151"+ + "\u0153\5&\24\2\u0152\u0150\3\2\2\2\u0153\u0156\3\2\2\2\u0154\u0152\3\2"+ + "\2\2\u0154\u0155\3\2\2\2\u0155\u0157\3\2\2\2\u0156\u0154\3\2\2\2\u0157"+ + "\u0158\7\33\2\2\u0158C\3\2\2\2\u0159\u015a\7i\2\2\u015aE\3\2\2\2\u015b"+ + "\u015c\7h\2\2\u015cG\3\2\2\2\u015d\u0163\5<\37\2\u015e\u0163\5@!\2\u015f"+ + "\u0163\5B\"\2\u0160\u0163\5D#\2\u0161\u0163\5F$\2\u0162\u015d\3\2\2\2"+ + "\u0162\u015e\3\2\2\2\u0162\u015f\3\2\2\2\u0162\u0160\3\2\2\2\u0162\u0161"+ + "\3\2\2\2\u0163I\3\2\2\2\u0164\u0165\7M\2\2\u0165\u0166\7j\2\2\u0166K\3"+ + "\2\2\2\u0167\u0168\7N\2\2\u0168\u0169\5\64\33\2\u0169\u016b\7&\2\2\u016a"+ + "\u016c\5R*\2\u016b\u016a\3\2\2\2\u016b\u016c\3\2\2\2\u016c\u016d\3\2\2"+ + "\2\u016d\u016e\7\'\2\2\u016e\u016f\7O\2\2\u016f\u0171\7&\2\2\u0170\u0172"+ + "\5V,\2\u0171\u0170\3\2\2\2\u0171\u0172\3\2\2\2\u0172\u0173\3\2\2\2\u0173"+ + "\u0178\7\'\2\2\u0174\u0179\5P)\2\u0175\u0176\5N(\2\u0176\u0177\7c\2\2"+ + "\u0177\u0179\3\2\2\2\u0178\u0174\3\2\2\2\u0178\u0175\3\2\2\2\u0179M\3"+ + "\2\2\2\u017a\u017b\7P\2\2\u017b\u0180\7c\2\2\u017c\u017f\5\b\5\2\u017d"+ + "\u017f\7c\2\2\u017e\u017c\3\2\2\2\u017e\u017d\3\2\2\2\u017f\u0182\3\2"+ + "\2\2\u0180\u017e\3\2\2\2\u0180\u0181\3\2\2\2\u0181\u0183\3\2\2\2\u0182"+ + "\u0180\3\2\2\2\u0183\u0184\7Q\2\2\u0184O\3\2\2\2\u0185\u0186\7\20\2\2"+ + "\u0186\u0187\5<\37\2\u0187Q\3\2\2\2\u0188\u018d\5T+\2\u0189\u018a\7\17"+ + "\2\2\u018a\u018c\5T+\2\u018b\u0189\3\2\2\2\u018c\u018f\3\2\2\2\u018d\u018b"+ + "\3\2\2\2\u018d\u018e\3\2\2\2\u018eS\3\2\2\2\u018f\u018d\3\2\2\2\u0190"+ + "\u0191\5\64\33\2\u0191\u0194\7\4\2\2\u0192\u0195\58\35\2\u0193\u0195\5"+ + ":\36\2\u0194\u0192\3\2\2\2\u0194\u0193\3\2\2\2\u0195U\3\2\2\2\u0196\u01a0"+ + "\7R\2\2\u0197\u019c\5X-\2\u0198\u0199\7\17\2\2\u0199\u019b\5X-\2\u019a"+ + "\u0198\3\2\2\2\u019b\u019e\3\2\2\2\u019c\u019a\3\2\2\2\u019c\u019d\3\2"+ + "\2\2\u019d\u01a0\3\2\2\2\u019e\u019c\3\2\2\2\u019f\u0196\3\2\2\2\u019f"+ + "\u0197\3\2\2\2\u01a0W\3\2\2\2\u01a1\u01a4\58\35\2\u01a2\u01a4\5:\36\2"+ + "\u01a3\u01a1\3\2\2\2\u01a3\u01a2\3\2\2\2\u01a4\u01a6\3\2\2\2\u01a5\u01a7"+ + "\7R\2\2\u01a6\u01a5\3\2\2\2\u01a6\u01a7\3\2\2\2\u01a7Y\3\2\2\2\u01a8\u01a9"+ + "\7S\2\2\u01a9\u01aa\7&\2\2\u01aa\u01ab\5&\24\2\u01ab\u01ad\7\'\2\2\u01ac"+ + "\u01ae\7c\2\2\u01ad\u01ac\3\2\2\2\u01ad\u01ae\3\2\2\2\u01ae\u01b1\3\2"+ + "\2\2\u01af\u01b2\5\b\5\2\u01b0\u01b2\5N(\2\u01b1\u01af\3\2\2\2\u01b1\u01b0"+ + "\3\2\2\2\u01b2\u01b4\3\2\2\2\u01b3\u01b5\7c\2\2\u01b4\u01b3\3\2\2\2\u01b4"+ + "\u01b5\3\2\2\2\u01b5\u01b7\3\2\2\2\u01b6\u01b8\5\\/\2\u01b7\u01b6\3\2"+ + "\2\2\u01b7\u01b8\3\2\2\2\u01b8\u01b9\3\2\2\2\u01b9\u01ba\7c\2\2\u01ba"+ + "[\3\2\2\2\u01bb\u01bd\7T\2\2\u01bc\u01be\7c\2\2\u01bd\u01bc\3\2\2\2\u01bd"+ + "\u01be\3\2\2\2\u01be\u01c1\3\2\2\2\u01bf\u01c2\5\b\5\2\u01c0\u01c2\5N"+ + "(\2\u01c1\u01bf\3\2\2\2\u01c1\u01c0\3\2\2\2\u01c2]\3\2\2\2\u01c3\u01c5"+ + "\5`\61\2\u01c4\u01c6\7c\2\2\u01c5\u01c4\3\2\2\2\u01c5\u01c6\3\2\2\2\u01c6"+ + "\u01c9\3\2\2\2\u01c7\u01ca\5\b\5\2\u01c8\u01ca\5N(\2\u01c9\u01c7\3\2\2"+ + "\2\u01c9\u01c8\3\2\2\2\u01ca\u01cc\3\2\2\2\u01cb\u01cd\7c\2\2\u01cc\u01cb"+ + "\3\2\2\2\u01cc\u01cd\3\2\2\2\u01cd\u01cf\3\2\2\2\u01ce\u01d0\5\\/\2\u01cf"+ + "\u01ce\3\2\2\2\u01cf\u01d0\3\2\2\2\u01d0\u01d1\3\2\2\2\u01d1\u01d2\7c"+ + "\2\2\u01d2_\3\2\2\2\u01d3\u01d4\t\17\2\2\u01d4a\3\2\2\2\u01d5\u01d8\7"+ + "]\2\2\u01d6\u01d9\58\35\2\u01d7\u01d9\5\64\33\2\u01d8\u01d6\3\2\2\2\u01d8"+ + "\u01d7\3\2\2\2\u01d9\u01da\3\2\2\2\u01da\u01db\7^\2\2\u01db\u01de\5&\24"+ + "\2\u01dc\u01dd\7_\2\2\u01dd\u01df\5&\24\2\u01de\u01dc\3\2\2\2\u01de\u01df"+ + "\3\2\2\2\u01df\u01e1\3\2\2\2\u01e0\u01e2\7c\2\2\u01e1\u01e0\3\2\2\2\u01e1"+ + "\u01e2\3\2\2\2\u01e2\u01e3\3\2\2\2\u01e3\u01e4\5d\63\2\u01e4\u01e5\7c"+ + "\2\2\u01e5c\3\2\2\2\u01e6\u01e7\7P\2\2\u01e7\u01ec\7c\2\2\u01e8\u01eb"+ + "\5f\64\2\u01e9\u01eb\7c\2\2\u01ea\u01e8\3\2\2\2\u01ea\u01e9\3\2\2\2\u01eb"+ + "\u01ee\3\2\2\2\u01ec\u01ea\3\2\2\2\u01ec\u01ed\3\2\2\2\u01ed\u01ef\3\2"+ + "\2\2\u01ee\u01ec\3\2\2\2\u01ef\u01f0\7Q\2\2\u01f0e\3\2\2\2\u01f1\u01f5"+ + "\5\b\5\2\u01f2\u01f5\5\60\31\2\u01f3\u01f5\5\62\32\2\u01f4\u01f1\3\2\2"+ + "\2\u01f4\u01f2\3\2\2\2\u01f4\u01f3\3\2\2\2\u01f5g\3\2\2\28jlsx\u008e\u0097"+ + "\u009b\u00a2\u00a5\u00aa\u00ae\u00b4\u00c6\u00d5\u00e8\u0110\u0112\u0117"+ + "\u011b\u0121\u0125\u012e\u0133\u0140\u0148\u0154\u0162\u016b\u0171\u0178"+ + "\u017e\u0180\u018d\u0194\u019c\u019f\u01a3\u01a6\u01ad\u01b1\u01b4\u01b7"+ + "\u01bd\u01c1\u01c5\u01c9\u01cc\u01cf\u01d8\u01de\u01e1\u01ea\u01ec\u01f4"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { diff --git a/docs/source/syntaxreference.rst b/docs/source/syntaxreference.rst index 69a43e175..1926f16e1 100644 --- a/docs/source/syntaxreference.rst +++ b/docs/source/syntaxreference.rst @@ -444,11 +444,14 @@ Loops for loop ^^^^^^^^ -.. todo:: not implemented yet, for now you can use the if statement with gotos to implement a for-loop. + +The loop variable must be a register or a variable defined in the local scope. +The expression that you loop over can be anything that supports iteration (such as ranges like ``0 to 100``, +array variables and strings). :: - for in [ step ] { + for in [ step ] { ; do something... break ; break out of the loop continue ; immediately enter next iteration