From 864c79335f9286f728e7e826714a247cd652d148 Mon Sep 17 00:00:00 2001 From: Jesper Gravgaard Date: Sun, 31 Mar 2019 17:38:21 +0200 Subject: [PATCH] Implemented break statement breaking out of the current loop. --- .../java/dk/camelot64/kickc/parser/KickC.g4 | 2 + .../dk/camelot64/kickc/parser/KickC.tokens | 140 +- .../kickc/parser/KickCBaseListener.java | 26 +- .../kickc/parser/KickCBaseVisitor.java | 16 +- .../dk/camelot64/kickc/parser/KickCLexer.java | 680 +++++----- .../camelot64/kickc/parser/KickCLexer.tokens | 140 +- .../camelot64/kickc/parser/KickCListener.java | 26 +- .../camelot64/kickc/parser/KickCParser.java | 1133 +++++++++-------- .../camelot64/kickc/parser/KickCVisitor.java | 16 +- .../Pass0GenerateStatementSequence.java | 190 +-- .../dk/camelot64/kickc/test/TestPrograms.java | 10 + src/test/kc/loop-break-nested.kc | 13 + src/test/kc/loop-break.kc | 11 + 13 files changed, 1311 insertions(+), 1092 deletions(-) create mode 100644 src/test/kc/loop-break-nested.kc create mode 100644 src/test/kc/loop-break.kc diff --git a/src/main/java/dk/camelot64/kickc/parser/KickC.g4 b/src/main/java/dk/camelot64/kickc/parser/KickC.g4 index 66750f22e..025c3ddac 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickC.g4 +++ b/src/main/java/dk/camelot64/kickc/parser/KickC.g4 @@ -64,6 +64,8 @@ stmt | directive* 'do' stmt 'while' '(' expr ')' ';' #stmtDoWhile | directive* 'for' '(' forDeclaration? forIteration ')' stmt #stmtFor | 'return' expr? ';' #stmtReturn + | 'break' ';' #stmtBreak + | 'continue' ';' #stmtContinue | 'asm' asmDirectives? '{' asmLines '}' #stmtAsm | declKasm #stmtDeclKasm ; diff --git a/src/main/java/dk/camelot64/kickc/parser/KickC.tokens b/src/main/java/dk/camelot64/kickc/parser/KickC.tokens index 41fc84431..0deb0119e 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickC.tokens +++ b/src/main/java/dk/camelot64/kickc/parser/KickC.tokens @@ -67,26 +67,28 @@ T__65=66 T__66=67 T__67=68 T__68=69 -MNEMONIC=70 -KICKASM=71 -SIMPLETYPE=72 -STRING=73 -CHAR=74 -BOOLEAN=75 -NUMBER=76 -NUMFLOAT=77 -BINFLOAT=78 -DECFLOAT=79 -HEXFLOAT=80 -NUMINT=81 -BININTEGER=82 -DECINTEGER=83 -HEXINTEGER=84 -NAME=85 -ASMREL=86 -WS=87 -COMMENT_LINE=88 -COMMENT_BLOCK=89 +T__69=70 +T__70=71 +MNEMONIC=72 +KICKASM=73 +SIMPLETYPE=74 +STRING=75 +CHAR=76 +BOOLEAN=77 +NUMBER=78 +NUMFLOAT=79 +BINFLOAT=80 +DECFLOAT=81 +HEXFLOAT=82 +NUMINT=83 +BININTEGER=84 +DECINTEGER=85 +HEXINTEGER=86 +NAME=87 +ASMREL=88 +WS=89 +COMMENT_LINE=90 +COMMENT_BLOCK=91 'import'=1 '='=2 ';'=3 @@ -108,51 +110,53 @@ COMMENT_BLOCK=89 'do'=19 'for'=20 'return'=21 -'asm'=22 -':'=23 -'..'=24 -'signed'=25 -'*'=26 -'['=27 -']'=28 -'--'=29 -'++'=30 -'+'=31 -'-'=32 -'!'=33 -'&'=34 -'~'=35 -'>>'=36 -'<<'=37 -'/'=38 -'%'=39 -'<'=40 -'>'=41 -'=='=42 -'!='=43 -'<='=44 -'>='=45 -'^'=46 -'|'=47 -'&&'=48 -'||'=49 -'+='=50 -'-='=51 -'*='=52 -'/='=53 -'%='=54 -'<<='=55 -'>>='=56 -'&='=57 -'|='=58 -'^='=59 -'kickasm'=60 -'resource'=61 -'uses'=62 -'clobbers'=63 -'bytes'=64 -'cycles'=65 -'pc'=66 -'.byte'=67 -'#'=68 -'.'=69 +'break'=22 +'continue'=23 +'asm'=24 +':'=25 +'..'=26 +'signed'=27 +'*'=28 +'['=29 +']'=30 +'--'=31 +'++'=32 +'+'=33 +'-'=34 +'!'=35 +'&'=36 +'~'=37 +'>>'=38 +'<<'=39 +'/'=40 +'%'=41 +'<'=42 +'>'=43 +'=='=44 +'!='=45 +'<='=46 +'>='=47 +'^'=48 +'|'=49 +'&&'=50 +'||'=51 +'+='=52 +'-='=53 +'*='=54 +'/='=55 +'%='=56 +'<<='=57 +'>>='=58 +'&='=59 +'|='=60 +'^='=61 +'kickasm'=62 +'resource'=63 +'uses'=64 +'clobbers'=65 +'bytes'=66 +'cycles'=67 +'pc'=68 +'.byte'=69 +'#'=70 +'.'=71 diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCBaseListener.java b/src/main/java/dk/camelot64/kickc/parser/KickCBaseListener.java index 21702def4..cc5574640 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCBaseListener.java +++ b/src/main/java/dk/camelot64/kickc/parser/KickCBaseListener.java @@ -1,4 +1,4 @@ -// Generated from /Users/jespergravgaard/c64/kickc/src/main/java/dk/camelot64/kickc/parser/KickC.g4 by ANTLR 4.7 +// Generated from C:/c64/kickc/src/main/java/dk/camelot64/kickc/parser\KickC.g4 by ANTLR 4.7 package dk.camelot64.kickc.parser; import org.antlr.v4.runtime.ParserRuleContext; @@ -323,6 +323,30 @@ public class KickCBaseListener implements KickCListener { *

The default implementation does nothing.

*/ @Override public void exitStmtReturn(KickCParser.StmtReturnContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterStmtBreak(KickCParser.StmtBreakContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitStmtBreak(KickCParser.StmtBreakContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterStmtContinue(KickCParser.StmtContinueContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitStmtContinue(KickCParser.StmtContinueContext ctx) { } /** * {@inheritDoc} * diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCBaseVisitor.java b/src/main/java/dk/camelot64/kickc/parser/KickCBaseVisitor.java index 61369dc67..a164882e8 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCBaseVisitor.java +++ b/src/main/java/dk/camelot64/kickc/parser/KickCBaseVisitor.java @@ -1,4 +1,4 @@ -// Generated from /Users/jespergravgaard/c64/kickc/src/main/java/dk/camelot64/kickc/parser/KickC.g4 by ANTLR 4.7 +// Generated from C:/c64/kickc/src/main/java/dk/camelot64/kickc/parser\KickC.g4 by ANTLR 4.7 package dk.camelot64.kickc.parser; import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor; @@ -193,6 +193,20 @@ public class KickCBaseVisitor extends AbstractParseTreeVisitor implements * {@link #visitChildren} on {@code ctx}.

*/ @Override public T visitStmtReturn(KickCParser.StmtReturnContext ctx) { return visitChildren(ctx); } + /** + * {@inheritDoc} + * + *

The default implementation returns the result of calling + * {@link #visitChildren} on {@code ctx}.

+ */ + @Override public T visitStmtBreak(KickCParser.StmtBreakContext ctx) { return visitChildren(ctx); } + /** + * {@inheritDoc} + * + *

The default implementation returns the result of calling + * {@link #visitChildren} on {@code ctx}.

+ */ + @Override public T visitStmtContinue(KickCParser.StmtContinueContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCLexer.java b/src/main/java/dk/camelot64/kickc/parser/KickCLexer.java index 75d5ca7ca..2386edf1a 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCLexer.java +++ b/src/main/java/dk/camelot64/kickc/parser/KickCLexer.java @@ -1,4 +1,4 @@ -// Generated from /Users/jespergravgaard/c64/kickc/src/main/java/dk/camelot64/kickc/parser/KickC.g4 by ANTLR 4.7 +// Generated from C:/c64/kickc/src/main/java/dk/camelot64/kickc/parser\KickC.g4 by ANTLR 4.7 package dk.camelot64.kickc.parser; import org.antlr.v4.runtime.Lexer; import org.antlr.v4.runtime.CharStream; @@ -26,10 +26,10 @@ public class KickCLexer extends Lexer { T__45=46, T__46=47, T__47=48, T__48=49, T__49=50, T__50=51, T__51=52, T__52=53, T__53=54, T__54=55, T__55=56, T__56=57, T__57=58, T__58=59, T__59=60, T__60=61, T__61=62, T__62=63, T__63=64, T__64=65, T__65=66, - T__66=67, T__67=68, T__68=69, MNEMONIC=70, KICKASM=71, SIMPLETYPE=72, - STRING=73, CHAR=74, BOOLEAN=75, NUMBER=76, NUMFLOAT=77, BINFLOAT=78, DECFLOAT=79, - HEXFLOAT=80, NUMINT=81, BININTEGER=82, DECINTEGER=83, HEXINTEGER=84, NAME=85, - ASMREL=86, WS=87, COMMENT_LINE=88, COMMENT_BLOCK=89; + T__66=67, T__67=68, T__68=69, T__69=70, T__70=71, MNEMONIC=72, KICKASM=73, + SIMPLETYPE=74, STRING=75, CHAR=76, BOOLEAN=77, NUMBER=78, NUMFLOAT=79, + BINFLOAT=80, DECFLOAT=81, HEXFLOAT=82, NUMINT=83, BININTEGER=84, DECINTEGER=85, + HEXINTEGER=86, NAME=87, ASMREL=88, WS=89, COMMENT_LINE=90, COMMENT_BLOCK=91; public static String[] channelNames = { "DEFAULT_TOKEN_CHANNEL", "HIDDEN" }; @@ -47,23 +47,23 @@ public class KickCLexer extends Lexer { "T__41", "T__42", "T__43", "T__44", "T__45", "T__46", "T__47", "T__48", "T__49", "T__50", "T__51", "T__52", "T__53", "T__54", "T__55", "T__56", "T__57", "T__58", "T__59", "T__60", "T__61", "T__62", "T__63", "T__64", - "T__65", "T__66", "T__67", "T__68", "MNEMONIC", "KICKASM", "SIMPLETYPE", - "STRING", "CHAR", "BOOLEAN", "NUMBER", "NUMFLOAT", "BINFLOAT", "DECFLOAT", - "HEXFLOAT", "NUMINT", "BININTEGER", "DECINTEGER", "HEXINTEGER", "BINDIGIT", - "DECDIGIT", "HEXDIGIT", "NAME", "NAME_START", "NAME_CHAR", "ASMREL", "WS", - "COMMENT_LINE", "COMMENT_BLOCK" + "T__65", "T__66", "T__67", "T__68", "T__69", "T__70", "MNEMONIC", "KICKASM", + "SIMPLETYPE", "STRING", "CHAR", "BOOLEAN", "NUMBER", "NUMFLOAT", "BINFLOAT", + "DECFLOAT", "HEXFLOAT", "NUMINT", "BININTEGER", "DECINTEGER", "HEXINTEGER", + "BINDIGIT", "DECDIGIT", "HEXDIGIT", "NAME", "NAME_START", "NAME_CHAR", + "ASMREL", "WS", "COMMENT_LINE", "COMMENT_BLOCK" }; private static final String[] _LITERAL_NAMES = { null, "'import'", "'='", "';'", "'('", "')'", "'{'", "'}'", "','", "'const'", "'extern'", "'align'", "'register'", "'inline'", "'volatile'", "'interrupt'", - "'if'", "'else'", "'while'", "'do'", "'for'", "'return'", "'asm'", "':'", - "'..'", "'signed'", "'*'", "'['", "']'", "'--'", "'++'", "'+'", "'-'", - "'!'", "'&'", "'~'", "'>>'", "'<<'", "'/'", "'%'", "'<'", "'>'", "'=='", - "'!='", "'<='", "'>='", "'^'", "'|'", "'&&'", "'||'", "'+='", "'-='", - "'*='", "'/='", "'%='", "'<<='", "'>>='", "'&='", "'|='", "'^='", "'kickasm'", - "'resource'", "'uses'", "'clobbers'", "'bytes'", "'cycles'", "'pc'", "'.byte'", - "'#'", "'.'" + "'if'", "'else'", "'while'", "'do'", "'for'", "'return'", "'break'", "'continue'", + "'asm'", "':'", "'..'", "'signed'", "'*'", "'['", "']'", "'--'", "'++'", + "'+'", "'-'", "'!'", "'&'", "'~'", "'>>'", "'<<'", "'/'", "'%'", "'<'", + "'>'", "'=='", "'!='", "'<='", "'>='", "'^'", "'|'", "'&&'", "'||'", "'+='", + "'-='", "'*='", "'/='", "'%='", "'<<='", "'>>='", "'&='", "'|='", "'^='", + "'kickasm'", "'resource'", "'uses'", "'clobbers'", "'bytes'", "'cycles'", + "'pc'", "'.byte'", "'#'", "'.'" }; private static final String[] _SYMBOLIC_NAMES = { null, null, null, null, null, null, null, null, null, null, null, null, @@ -71,10 +71,10 @@ public class KickCLexer 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, null, null, null, null, null, "MNEMONIC", - "KICKASM", "SIMPLETYPE", "STRING", "CHAR", "BOOLEAN", "NUMBER", "NUMFLOAT", - "BINFLOAT", "DECFLOAT", "HEXFLOAT", "NUMINT", "BININTEGER", "DECINTEGER", - "HEXINTEGER", "NAME", "ASMREL", "WS", "COMMENT_LINE", "COMMENT_BLOCK" + null, null, null, null, null, null, null, null, null, null, null, null, + "MNEMONIC", "KICKASM", "SIMPLETYPE", "STRING", "CHAR", "BOOLEAN", "NUMBER", + "NUMFLOAT", "BINFLOAT", "DECFLOAT", "HEXFLOAT", "NUMINT", "BININTEGER", + "DECINTEGER", "HEXINTEGER", "NAME", "ASMREL", "WS", "COMMENT_LINE", "COMMENT_BLOCK" }; public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); @@ -134,7 +134,7 @@ public class KickCLexer extends Lexer { public ATN getATN() { return _ATN; } public static final String _serializedATN = - "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2[\u0387\b\1\4\2\t"+ + "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2]\u039a\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"+ @@ -144,321 +144,327 @@ public class KickCLexer extends Lexer { "\64\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\49\t9\4:\t:\4;\t;\4<\t<\4=\t="+ "\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_\3"+ - "\2\3\2\3\2\3\2\3\2\3\2\3\2\3\3\3\3\3\4\3\4\3\5\3\5\3\6\3\6\3\7\3\7\3\b"+ - "\3\b\3\t\3\t\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\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\r\3\16\3\16"+ - "\3\16\3\16\3\16\3\16\3\16\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+ - "\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\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\23\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\26\3\27\3\27\3\27\3\27"+ - "\3\30\3\30\3\31\3\31\3\31\3\32\3\32\3\32\3\32\3\32\3\32\3\32\3\33\3\33"+ - "\3\34\3\34\3\35\3\35\3\36\3\36\3\36\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\60\3\60\3\61\3\61\3\61\3\62\3\62\3\62\3"+ - "\63\3\63\3\63\3\64\3\64\3\64\3\65\3\65\3\65\3\66\3\66\3\66\3\67\3\67\3"+ - "\67\38\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@\3@\3@\3@\3@\3@"+ - "\3@\3@\3@\3A\3A\3A\3A\3A\3A\3B\3B\3B\3B\3B\3B\3B\3C\3C\3C\3D\3D\3D\3D"+ - "\3D\3D\3E\3E\3F\3F\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+ - "\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+ - "\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+ - "\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+ - "\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+ - "\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+ - "\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+ - "\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+ - "\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+ - "\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\5G\u02a8"+ - "\nG\3H\3H\3H\3H\7H\u02ae\nH\fH\16H\u02b1\13H\3H\3H\3H\3I\3I\3I\3I\3I\3"+ - "I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\5I\u02cb\nI\3J\3J\3J\3"+ - "J\7J\u02d1\nJ\fJ\16J\u02d4\13J\3J\3J\3K\3K\3K\3K\5K\u02dc\nK\3K\3K\3L"+ - "\3L\3L\3L\3L\3L\3L\3L\3L\5L\u02e9\nL\3M\3M\5M\u02ed\nM\3N\3N\3N\5N\u02f2"+ - "\nN\3O\3O\3O\3O\3O\5O\u02f9\nO\3O\7O\u02fc\nO\fO\16O\u02ff\13O\3O\3O\6"+ - "O\u0303\nO\rO\16O\u0304\3P\7P\u0308\nP\fP\16P\u030b\13P\3P\3P\6P\u030f"+ - "\nP\rP\16P\u0310\3Q\3Q\3Q\3Q\3Q\5Q\u0318\nQ\3Q\7Q\u031b\nQ\fQ\16Q\u031e"+ - "\13Q\3Q\3Q\6Q\u0322\nQ\rQ\16Q\u0323\3R\3R\3R\5R\u0329\nR\3S\3S\3S\6S\u032e"+ - "\nS\rS\16S\u032f\3S\3S\6S\u0334\nS\rS\16S\u0335\5S\u0338\nS\3T\6T\u033b"+ - "\nT\rT\16T\u033c\3U\3U\3U\3U\3U\5U\u0344\nU\3U\6U\u0347\nU\rU\16U\u0348"+ - "\3V\3V\3W\3W\3X\3X\3Y\3Y\7Y\u0353\nY\fY\16Y\u0356\13Y\3Z\3Z\3[\3[\3\\"+ - "\3\\\7\\\u035e\n\\\f\\\16\\\u0361\13\\\3\\\6\\\u0364\n\\\r\\\16\\\u0365"+ - "\3]\6]\u0369\n]\r]\16]\u036a\3]\3]\3^\3^\3^\3^\7^\u0373\n^\f^\16^\u0376"+ - "\13^\3^\3^\3_\3_\3_\3_\7_\u037e\n_\f_\16_\u0381\13_\3_\3_\3_\3_\3_\4\u02af"+ - "\u037f\2`\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\65"+ - "i\66k\67m8o9q:s;u{?}@\177A\u0081B\u0083C\u0085D\u0087E\u0089F\u008b"+ - "G\u008dH\u008fI\u0091J\u0093K\u0095L\u0097M\u0099N\u009bO\u009dP\u009f"+ - "Q\u00a1R\u00a3S\u00a5T\u00a7U\u00a9V\u00ab\2\u00ad\2\u00af\2\u00b1W\u00b3"+ - "\2\u00b5\2\u00b7X\u00b9Y\u00bbZ\u00bd[\3\2\r\3\2$$\3\2))\4\2DDdd\3\2\62"+ - "\63\3\2\62;\5\2\62;CHch\5\2C\\aac|\6\2\62;C\\aac|\4\2--//\6\2\13\f\17"+ - "\17\"\"\u00a2\u00a2\4\2\f\f\17\17\2\u03ef\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\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\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\u00b1\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\3\u00bf"+ - "\3\2\2\2\5\u00c6\3\2\2\2\7\u00c8\3\2\2\2\t\u00ca\3\2\2\2\13\u00cc\3\2"+ - "\2\2\r\u00ce\3\2\2\2\17\u00d0\3\2\2\2\21\u00d2\3\2\2\2\23\u00d4\3\2\2"+ - "\2\25\u00da\3\2\2\2\27\u00e1\3\2\2\2\31\u00e7\3\2\2\2\33\u00f0\3\2\2\2"+ - "\35\u00f7\3\2\2\2\37\u0100\3\2\2\2!\u010a\3\2\2\2#\u010d\3\2\2\2%\u0112"+ - "\3\2\2\2\'\u0118\3\2\2\2)\u011b\3\2\2\2+\u011f\3\2\2\2-\u0126\3\2\2\2"+ - "/\u012a\3\2\2\2\61\u012c\3\2\2\2\63\u012f\3\2\2\2\65\u0136\3\2\2\2\67"+ - "\u0138\3\2\2\29\u013a\3\2\2\2;\u013c\3\2\2\2=\u013f\3\2\2\2?\u0142\3\2"+ - "\2\2A\u0144\3\2\2\2C\u0146\3\2\2\2E\u0148\3\2\2\2G\u014a\3\2\2\2I\u014c"+ - "\3\2\2\2K\u014f\3\2\2\2M\u0152\3\2\2\2O\u0154\3\2\2\2Q\u0156\3\2\2\2S"+ - "\u0158\3\2\2\2U\u015a\3\2\2\2W\u015d\3\2\2\2Y\u0160\3\2\2\2[\u0163\3\2"+ - "\2\2]\u0166\3\2\2\2_\u0168\3\2\2\2a\u016a\3\2\2\2c\u016d\3\2\2\2e\u0170"+ - "\3\2\2\2g\u0173\3\2\2\2i\u0176\3\2\2\2k\u0179\3\2\2\2m\u017c\3\2\2\2o"+ - "\u017f\3\2\2\2q\u0183\3\2\2\2s\u0187\3\2\2\2u\u018a\3\2\2\2w\u018d\3\2"+ - "\2\2y\u0190\3\2\2\2{\u0198\3\2\2\2}\u01a1\3\2\2\2\177\u01a6\3\2\2\2\u0081"+ - "\u01af\3\2\2\2\u0083\u01b5\3\2\2\2\u0085\u01bc\3\2\2\2\u0087\u01bf\3\2"+ - "\2\2\u0089\u01c5\3\2\2\2\u008b\u01c7\3\2\2\2\u008d\u02a7\3\2\2\2\u008f"+ - "\u02a9\3\2\2\2\u0091\u02ca\3\2\2\2\u0093\u02cc\3\2\2\2\u0095\u02d7\3\2"+ - "\2\2\u0097\u02e8\3\2\2\2\u0099\u02ec\3\2\2\2\u009b\u02f1\3\2\2\2\u009d"+ - "\u02f8\3\2\2\2\u009f\u0309\3\2\2\2\u00a1\u0317\3\2\2\2\u00a3\u0328\3\2"+ - "\2\2\u00a5\u0337\3\2\2\2\u00a7\u033a\3\2\2\2\u00a9\u0343\3\2\2\2\u00ab"+ - "\u034a\3\2\2\2\u00ad\u034c\3\2\2\2\u00af\u034e\3\2\2\2\u00b1\u0350\3\2"+ - "\2\2\u00b3\u0357\3\2\2\2\u00b5\u0359\3\2\2\2\u00b7\u035b\3\2\2\2\u00b9"+ - "\u0368\3\2\2\2\u00bb\u036e\3\2\2\2\u00bd\u0379\3\2\2\2\u00bf\u00c0\7k"+ - "\2\2\u00c0\u00c1\7o\2\2\u00c1\u00c2\7r\2\2\u00c2\u00c3\7q\2\2\u00c3\u00c4"+ - "\7t\2\2\u00c4\u00c5\7v\2\2\u00c5\4\3\2\2\2\u00c6\u00c7\7?\2\2\u00c7\6"+ - "\3\2\2\2\u00c8\u00c9\7=\2\2\u00c9\b\3\2\2\2\u00ca\u00cb\7*\2\2\u00cb\n"+ - "\3\2\2\2\u00cc\u00cd\7+\2\2\u00cd\f\3\2\2\2\u00ce\u00cf\7}\2\2\u00cf\16"+ - "\3\2\2\2\u00d0\u00d1\7\177\2\2\u00d1\20\3\2\2\2\u00d2\u00d3\7.\2\2\u00d3"+ - "\22\3\2\2\2\u00d4\u00d5\7e\2\2\u00d5\u00d6\7q\2\2\u00d6\u00d7\7p\2\2\u00d7"+ - "\u00d8\7u\2\2\u00d8\u00d9\7v\2\2\u00d9\24\3\2\2\2\u00da\u00db\7g\2\2\u00db"+ - "\u00dc\7z\2\2\u00dc\u00dd\7v\2\2\u00dd\u00de\7g\2\2\u00de\u00df\7t\2\2"+ - "\u00df\u00e0\7p\2\2\u00e0\26\3\2\2\2\u00e1\u00e2\7c\2\2\u00e2\u00e3\7"+ - "n\2\2\u00e3\u00e4\7k\2\2\u00e4\u00e5\7i\2\2\u00e5\u00e6\7p\2\2\u00e6\30"+ - "\3\2\2\2\u00e7\u00e8\7t\2\2\u00e8\u00e9\7g\2\2\u00e9\u00ea\7i\2\2\u00ea"+ - "\u00eb\7k\2\2\u00eb\u00ec\7u\2\2\u00ec\u00ed\7v\2\2\u00ed\u00ee\7g\2\2"+ - "\u00ee\u00ef\7t\2\2\u00ef\32\3\2\2\2\u00f0\u00f1\7k\2\2\u00f1\u00f2\7"+ - "p\2\2\u00f2\u00f3\7n\2\2\u00f3\u00f4\7k\2\2\u00f4\u00f5\7p\2\2\u00f5\u00f6"+ - "\7g\2\2\u00f6\34\3\2\2\2\u00f7\u00f8\7x\2\2\u00f8\u00f9\7q\2\2\u00f9\u00fa"+ - "\7n\2\2\u00fa\u00fb\7c\2\2\u00fb\u00fc\7v\2\2\u00fc\u00fd\7k\2\2\u00fd"+ - "\u00fe\7n\2\2\u00fe\u00ff\7g\2\2\u00ff\36\3\2\2\2\u0100\u0101\7k\2\2\u0101"+ - "\u0102\7p\2\2\u0102\u0103\7v\2\2\u0103\u0104\7g\2\2\u0104\u0105\7t\2\2"+ - "\u0105\u0106\7t\2\2\u0106\u0107\7w\2\2\u0107\u0108\7r\2\2\u0108\u0109"+ - "\7v\2\2\u0109 \3\2\2\2\u010a\u010b\7k\2\2\u010b\u010c\7h\2\2\u010c\"\3"+ - "\2\2\2\u010d\u010e\7g\2\2\u010e\u010f\7n\2\2\u010f\u0110\7u\2\2\u0110"+ - "\u0111\7g\2\2\u0111$\3\2\2\2\u0112\u0113\7y\2\2\u0113\u0114\7j\2\2\u0114"+ - "\u0115\7k\2\2\u0115\u0116\7n\2\2\u0116\u0117\7g\2\2\u0117&\3\2\2\2\u0118"+ - "\u0119\7f\2\2\u0119\u011a\7q\2\2\u011a(\3\2\2\2\u011b\u011c\7h\2\2\u011c"+ - "\u011d\7q\2\2\u011d\u011e\7t\2\2\u011e*\3\2\2\2\u011f\u0120\7t\2\2\u0120"+ - "\u0121\7g\2\2\u0121\u0122\7v\2\2\u0122\u0123\7w\2\2\u0123\u0124\7t\2\2"+ - "\u0124\u0125\7p\2\2\u0125,\3\2\2\2\u0126\u0127\7c\2\2\u0127\u0128\7u\2"+ - "\2\u0128\u0129\7o\2\2\u0129.\3\2\2\2\u012a\u012b\7<\2\2\u012b\60\3\2\2"+ - "\2\u012c\u012d\7\60\2\2\u012d\u012e\7\60\2\2\u012e\62\3\2\2\2\u012f\u0130"+ - "\7u\2\2\u0130\u0131\7k\2\2\u0131\u0132\7i\2\2\u0132\u0133\7p\2\2\u0133"+ - "\u0134\7g\2\2\u0134\u0135\7f\2\2\u0135\64\3\2\2\2\u0136\u0137\7,\2\2\u0137"+ - "\66\3\2\2\2\u0138\u0139\7]\2\2\u01398\3\2\2\2\u013a\u013b\7_\2\2\u013b"+ - ":\3\2\2\2\u013c\u013d\7/\2\2\u013d\u013e\7/\2\2\u013e<\3\2\2\2\u013f\u0140"+ - "\7-\2\2\u0140\u0141\7-\2\2\u0141>\3\2\2\2\u0142\u0143\7-\2\2\u0143@\3"+ - "\2\2\2\u0144\u0145\7/\2\2\u0145B\3\2\2\2\u0146\u0147\7#\2\2\u0147D\3\2"+ - "\2\2\u0148\u0149\7(\2\2\u0149F\3\2\2\2\u014a\u014b\7\u0080\2\2\u014bH"+ - "\3\2\2\2\u014c\u014d\7@\2\2\u014d\u014e\7@\2\2\u014eJ\3\2\2\2\u014f\u0150"+ - "\7>\2\2\u0150\u0151\7>\2\2\u0151L\3\2\2\2\u0152\u0153\7\61\2\2\u0153N"+ - "\3\2\2\2\u0154\u0155\7\'\2\2\u0155P\3\2\2\2\u0156\u0157\7>\2\2\u0157R"+ - "\3\2\2\2\u0158\u0159\7@\2\2\u0159T\3\2\2\2\u015a\u015b\7?\2\2\u015b\u015c"+ - "\7?\2\2\u015cV\3\2\2\2\u015d\u015e\7#\2\2\u015e\u015f\7?\2\2\u015fX\3"+ - "\2\2\2\u0160\u0161\7>\2\2\u0161\u0162\7?\2\2\u0162Z\3\2\2\2\u0163\u0164"+ - "\7@\2\2\u0164\u0165\7?\2\2\u0165\\\3\2\2\2\u0166\u0167\7`\2\2\u0167^\3"+ - "\2\2\2\u0168\u0169\7~\2\2\u0169`\3\2\2\2\u016a\u016b\7(\2\2\u016b\u016c"+ - "\7(\2\2\u016cb\3\2\2\2\u016d\u016e\7~\2\2\u016e\u016f\7~\2\2\u016fd\3"+ - "\2\2\2\u0170\u0171\7-\2\2\u0171\u0172\7?\2\2\u0172f\3\2\2\2\u0173\u0174"+ - "\7/\2\2\u0174\u0175\7?\2\2\u0175h\3\2\2\2\u0176\u0177\7,\2\2\u0177\u0178"+ - "\7?\2\2\u0178j\3\2\2\2\u0179\u017a\7\61\2\2\u017a\u017b\7?\2\2\u017bl"+ - "\3\2\2\2\u017c\u017d\7\'\2\2\u017d\u017e\7?\2\2\u017en\3\2\2\2\u017f\u0180"+ - "\7>\2\2\u0180\u0181\7>\2\2\u0181\u0182\7?\2\2\u0182p\3\2\2\2\u0183\u0184"+ - "\7@\2\2\u0184\u0185\7@\2\2\u0185\u0186\7?\2\2\u0186r\3\2\2\2\u0187\u0188"+ - "\7(\2\2\u0188\u0189\7?\2\2\u0189t\3\2\2\2\u018a\u018b\7~\2\2\u018b\u018c"+ - "\7?\2\2\u018cv\3\2\2\2\u018d\u018e\7`\2\2\u018e\u018f\7?\2\2\u018fx\3"+ - "\2\2\2\u0190\u0191\7m\2\2\u0191\u0192\7k\2\2\u0192\u0193\7e\2\2\u0193"+ - "\u0194\7m\2\2\u0194\u0195\7c\2\2\u0195\u0196\7u\2\2\u0196\u0197\7o\2\2"+ - "\u0197z\3\2\2\2\u0198\u0199\7t\2\2\u0199\u019a\7g\2\2\u019a\u019b\7u\2"+ - "\2\u019b\u019c\7q\2\2\u019c\u019d\7w\2\2\u019d\u019e\7t\2\2\u019e\u019f"+ - "\7e\2\2\u019f\u01a0\7g\2\2\u01a0|\3\2\2\2\u01a1\u01a2\7w\2\2\u01a2\u01a3"+ - "\7u\2\2\u01a3\u01a4\7g\2\2\u01a4\u01a5\7u\2\2\u01a5~\3\2\2\2\u01a6\u01a7"+ - "\7e\2\2\u01a7\u01a8\7n\2\2\u01a8\u01a9\7q\2\2\u01a9\u01aa\7d\2\2\u01aa"+ - "\u01ab\7d\2\2\u01ab\u01ac\7g\2\2\u01ac\u01ad\7t\2\2\u01ad\u01ae\7u\2\2"+ - "\u01ae\u0080\3\2\2\2\u01af\u01b0\7d\2\2\u01b0\u01b1\7{\2\2\u01b1\u01b2"+ - "\7v\2\2\u01b2\u01b3\7g\2\2\u01b3\u01b4\7u\2\2\u01b4\u0082\3\2\2\2\u01b5"+ - "\u01b6\7e\2\2\u01b6\u01b7\7{\2\2\u01b7\u01b8\7e\2\2\u01b8\u01b9\7n\2\2"+ - "\u01b9\u01ba\7g\2\2\u01ba\u01bb\7u\2\2\u01bb\u0084\3\2\2\2\u01bc\u01bd"+ - "\7r\2\2\u01bd\u01be\7e\2\2\u01be\u0086\3\2\2\2\u01bf\u01c0\7\60\2\2\u01c0"+ - "\u01c1\7d\2\2\u01c1\u01c2\7{\2\2\u01c2\u01c3\7v\2\2\u01c3\u01c4\7g\2\2"+ - "\u01c4\u0088\3\2\2\2\u01c5\u01c6\7%\2\2\u01c6\u008a\3\2\2\2\u01c7\u01c8"+ - "\7\60\2\2\u01c8\u008c\3\2\2\2\u01c9\u01ca\7d\2\2\u01ca\u01cb\7t\2\2\u01cb"+ - "\u02a8\7m\2\2\u01cc\u01cd\7q\2\2\u01cd\u01ce\7t\2\2\u01ce\u02a8\7c\2\2"+ - "\u01cf\u01d0\7m\2\2\u01d0\u01d1\7k\2\2\u01d1\u02a8\7n\2\2\u01d2\u01d3"+ - "\7u\2\2\u01d3\u01d4\7n\2\2\u01d4\u02a8\7q\2\2\u01d5\u01d6\7p\2\2\u01d6"+ - "\u01d7\7q\2\2\u01d7\u02a8\7r\2\2\u01d8\u01d9\7c\2\2\u01d9\u01da\7u\2\2"+ - "\u01da\u02a8\7n\2\2\u01db\u01dc\7r\2\2\u01dc\u01dd\7j\2\2\u01dd\u02a8"+ - "\7r\2\2\u01de\u01df\7c\2\2\u01df\u01e0\7p\2\2\u01e0\u02a8\7e\2\2\u01e1"+ - "\u01e2\7d\2\2\u01e2\u01e3\7r\2\2\u01e3\u02a8\7n\2\2\u01e4\u01e5\7e\2\2"+ - "\u01e5\u01e6\7n\2\2\u01e6\u02a8\7e\2\2\u01e7\u01e8\7l\2\2\u01e8\u01e9"+ - "\7u\2\2\u01e9\u02a8\7t\2\2\u01ea\u01eb\7c\2\2\u01eb\u01ec\7p\2\2\u01ec"+ - "\u02a8\7f\2\2\u01ed\u01ee\7t\2\2\u01ee\u01ef\7n\2\2\u01ef\u02a8\7c\2\2"+ - "\u01f0\u01f1\7d\2\2\u01f1\u01f2\7k\2\2\u01f2\u02a8\7v\2\2\u01f3\u01f4"+ - "\7t\2\2\u01f4\u01f5\7q\2\2\u01f5\u02a8\7n\2\2\u01f6\u01f7\7r\2\2\u01f7"+ - "\u01f8\7n\2\2\u01f8\u02a8\7c\2\2\u01f9\u01fa\7r\2\2\u01fa\u01fb\7n\2\2"+ - "\u01fb\u02a8\7r\2\2\u01fc\u01fd\7d\2\2\u01fd\u01fe\7o\2\2\u01fe\u02a8"+ - "\7k\2\2\u01ff\u0200\7u\2\2\u0200\u0201\7g\2\2\u0201\u02a8\7e\2\2\u0202"+ - "\u0203\7t\2\2\u0203\u0204\7v\2\2\u0204\u02a8\7k\2\2\u0205\u0206\7g\2\2"+ - "\u0206\u0207\7q\2\2\u0207\u02a8\7t\2\2\u0208\u0209\7u\2\2\u0209\u020a"+ - "\7t\2\2\u020a\u02a8\7g\2\2\u020b\u020c\7n\2\2\u020c\u020d\7u\2\2\u020d"+ - "\u02a8\7t\2\2\u020e\u020f\7r\2\2\u020f\u0210\7j\2\2\u0210\u02a8\7c\2\2"+ - "\u0211\u0212\7c\2\2\u0212\u0213\7n\2\2\u0213\u02a8\7t\2\2\u0214\u0215"+ - "\7l\2\2\u0215\u0216\7o\2\2\u0216\u02a8\7r\2\2\u0217\u0218\7d\2\2\u0218"+ - "\u0219\7x\2\2\u0219\u02a8\7e\2\2\u021a\u021b\7e\2\2\u021b\u021c\7n\2\2"+ - "\u021c\u02a8\7k\2\2\u021d\u021e\7t\2\2\u021e\u021f\7v\2\2\u021f\u02a8"+ - "\7u\2\2\u0220\u0221\7c\2\2\u0221\u0222\7f\2\2\u0222\u02a8\7e\2\2\u0223"+ - "\u0224\7t\2\2\u0224\u0225\7t\2\2\u0225\u02a8\7c\2\2\u0226\u0227\7d\2\2"+ - "\u0227\u0228\7x\2\2\u0228\u02a8\7u\2\2\u0229\u022a\7u\2\2\u022a\u022b"+ - "\7g\2\2\u022b\u02a8\7k\2\2\u022c\u022d\7u\2\2\u022d\u022e\7c\2\2\u022e"+ - "\u02a8\7z\2\2\u022f\u0230\7u\2\2\u0230\u0231\7v\2\2\u0231\u02a8\7{\2\2"+ - "\u0232\u0233\7u\2\2\u0233\u0234\7v\2\2\u0234\u02a8\7c\2\2\u0235\u0236"+ - "\7u\2\2\u0236\u0237\7v\2\2\u0237\u02a8\7z\2\2\u0238\u0239\7f\2\2\u0239"+ - "\u023a\7g\2\2\u023a\u02a8\7{\2\2\u023b\u023c\7v\2\2\u023c\u023d\7z\2\2"+ - "\u023d\u02a8\7c\2\2\u023e\u023f\7z\2\2\u023f\u0240\7c\2\2\u0240\u02a8"+ - "\7c\2\2\u0241\u0242\7d\2\2\u0242\u0243\7e\2\2\u0243\u02a8\7e\2\2\u0244"+ - "\u0245\7c\2\2\u0245\u0246\7j\2\2\u0246\u02a8\7z\2\2\u0247\u0248\7v\2\2"+ - "\u0248\u0249\7{\2\2\u0249\u02a8\7c\2\2\u024a\u024b\7v\2\2\u024b\u024c"+ - "\7z\2\2\u024c\u02a8\7u\2\2\u024d\u024e\7v\2\2\u024e\u024f\7c\2\2\u024f"+ - "\u02a8\7u\2\2\u0250\u0251\7u\2\2\u0251\u0252\7j\2\2\u0252\u02a8\7{\2\2"+ - "\u0253\u0254\7u\2\2\u0254\u0255\7j\2\2\u0255\u02a8\7z\2\2\u0256\u0257"+ - "\7n\2\2\u0257\u0258\7f\2\2\u0258\u02a8\7{\2\2\u0259\u025a\7n\2\2\u025a"+ - "\u025b\7f\2\2\u025b\u02a8\7c\2\2\u025c\u025d\7n\2\2\u025d\u025e\7f\2\2"+ - "\u025e\u02a8\7z\2\2\u025f\u0260\7n\2\2\u0260\u0261\7c\2\2\u0261\u02a8"+ - "\7z\2\2\u0262\u0263\7v\2\2\u0263\u0264\7c\2\2\u0264\u02a8\7{\2\2\u0265"+ - "\u0266\7v\2\2\u0266\u0267\7c\2\2\u0267\u02a8\7z\2\2\u0268\u0269\7d\2\2"+ - "\u0269\u026a\7e\2\2\u026a\u02a8\7u\2\2\u026b\u026c\7e\2\2\u026c\u026d"+ - "\7n\2\2\u026d\u02a8\7x\2\2\u026e\u026f\7v\2\2\u026f\u0270\7u\2\2\u0270"+ - "\u02a8\7z\2\2\u0271\u0272\7n\2\2\u0272\u0273\7c\2\2\u0273\u02a8\7u\2\2"+ - "\u0274\u0275\7e\2\2\u0275\u0276\7r\2\2\u0276\u02a8\7{\2\2\u0277\u0278"+ - "\7e\2\2\u0278\u0279\7o\2\2\u0279\u02a8\7r\2\2\u027a\u027b\7e\2\2\u027b"+ - "\u027c\7r\2\2\u027c\u02a8\7z\2\2\u027d\u027e\7f\2\2\u027e\u027f\7e\2\2"+ - "\u027f\u02a8\7r\2\2\u0280\u0281\7f\2\2\u0281\u0282\7g\2\2\u0282\u02a8"+ - "\7e\2\2\u0283\u0284\7k\2\2\u0284\u0285\7p\2\2\u0285\u02a8\7e\2\2\u0286"+ - "\u0287\7c\2\2\u0287\u0288\7z\2\2\u0288\u02a8\7u\2\2\u0289\u028a\7d\2\2"+ - "\u028a\u028b\7p\2\2\u028b\u02a8\7g\2\2\u028c\u028d\7e\2\2\u028d\u028e"+ - "\7n\2\2\u028e\u02a8\7f\2\2\u028f\u0290\7u\2\2\u0290\u0291\7d\2\2\u0291"+ - "\u02a8\7e\2\2\u0292\u0293\7k\2\2\u0293\u0294\7u\2\2\u0294\u02a8\7e\2\2"+ - "\u0295\u0296\7k\2\2\u0296\u0297\7p\2\2\u0297\u02a8\7z\2\2\u0298\u0299"+ - "\7d\2\2\u0299\u029a\7g\2\2\u029a\u02a8\7s\2\2\u029b\u029c\7u\2\2\u029c"+ - "\u029d\7g\2\2\u029d\u02a8\7f\2\2\u029e\u029f\7f\2\2\u029f\u02a0\7g\2\2"+ - "\u02a0\u02a8\7z\2\2\u02a1\u02a2\7k\2\2\u02a2\u02a3\7p\2\2\u02a3\u02a8"+ - "\7{\2\2\u02a4\u02a5\7t\2\2\u02a5\u02a6\7q\2\2\u02a6\u02a8\7t\2\2\u02a7"+ - "\u01c9\3\2\2\2\u02a7\u01cc\3\2\2\2\u02a7\u01cf\3\2\2\2\u02a7\u01d2\3\2"+ - "\2\2\u02a7\u01d5\3\2\2\2\u02a7\u01d8\3\2\2\2\u02a7\u01db\3\2\2\2\u02a7"+ - "\u01de\3\2\2\2\u02a7\u01e1\3\2\2\2\u02a7\u01e4\3\2\2\2\u02a7\u01e7\3\2"+ - "\2\2\u02a7\u01ea\3\2\2\2\u02a7\u01ed\3\2\2\2\u02a7\u01f0\3\2\2\2\u02a7"+ - "\u01f3\3\2\2\2\u02a7\u01f6\3\2\2\2\u02a7\u01f9\3\2\2\2\u02a7\u01fc\3\2"+ - "\2\2\u02a7\u01ff\3\2\2\2\u02a7\u0202\3\2\2\2\u02a7\u0205\3\2\2\2\u02a7"+ - "\u0208\3\2\2\2\u02a7\u020b\3\2\2\2\u02a7\u020e\3\2\2\2\u02a7\u0211\3\2"+ - "\2\2\u02a7\u0214\3\2\2\2\u02a7\u0217\3\2\2\2\u02a7\u021a\3\2\2\2\u02a7"+ - "\u021d\3\2\2\2\u02a7\u0220\3\2\2\2\u02a7\u0223\3\2\2\2\u02a7\u0226\3\2"+ - "\2\2\u02a7\u0229\3\2\2\2\u02a7\u022c\3\2\2\2\u02a7\u022f\3\2\2\2\u02a7"+ - "\u0232\3\2\2\2\u02a7\u0235\3\2\2\2\u02a7\u0238\3\2\2\2\u02a7\u023b\3\2"+ - "\2\2\u02a7\u023e\3\2\2\2\u02a7\u0241\3\2\2\2\u02a7\u0244\3\2\2\2\u02a7"+ - "\u0247\3\2\2\2\u02a7\u024a\3\2\2\2\u02a7\u024d\3\2\2\2\u02a7\u0250\3\2"+ - "\2\2\u02a7\u0253\3\2\2\2\u02a7\u0256\3\2\2\2\u02a7\u0259\3\2\2\2\u02a7"+ - "\u025c\3\2\2\2\u02a7\u025f\3\2\2\2\u02a7\u0262\3\2\2\2\u02a7\u0265\3\2"+ - "\2\2\u02a7\u0268\3\2\2\2\u02a7\u026b\3\2\2\2\u02a7\u026e\3\2\2\2\u02a7"+ - "\u0271\3\2\2\2\u02a7\u0274\3\2\2\2\u02a7\u0277\3\2\2\2\u02a7\u027a\3\2"+ - "\2\2\u02a7\u027d\3\2\2\2\u02a7\u0280\3\2\2\2\u02a7\u0283\3\2\2\2\u02a7"+ - "\u0286\3\2\2\2\u02a7\u0289\3\2\2\2\u02a7\u028c\3\2\2\2\u02a7\u028f\3\2"+ - "\2\2\u02a7\u0292\3\2\2\2\u02a7\u0295\3\2\2\2\u02a7\u0298\3\2\2\2\u02a7"+ - "\u029b\3\2\2\2\u02a7\u029e\3\2\2\2\u02a7\u02a1\3\2\2\2\u02a7\u02a4\3\2"+ - "\2\2\u02a8\u008e\3\2\2\2\u02a9\u02aa\7}\2\2\u02aa\u02ab\7}\2\2\u02ab\u02af"+ - "\3\2\2\2\u02ac\u02ae\13\2\2\2\u02ad\u02ac\3\2\2\2\u02ae\u02b1\3\2\2\2"+ - "\u02af\u02b0\3\2\2\2\u02af\u02ad\3\2\2\2\u02b0\u02b2\3\2\2\2\u02b1\u02af"+ - "\3\2\2\2\u02b2\u02b3\7\177\2\2\u02b3\u02b4\7\177\2\2\u02b4\u0090\3\2\2"+ - "\2\u02b5\u02b6\7d\2\2\u02b6\u02b7\7{\2\2\u02b7\u02b8\7v\2\2\u02b8\u02cb"+ - "\7g\2\2\u02b9\u02ba\7y\2\2\u02ba\u02bb\7q\2\2\u02bb\u02bc\7t\2\2\u02bc"+ - "\u02cb\7f\2\2\u02bd\u02be\7f\2\2\u02be\u02bf\7y\2\2\u02bf\u02c0\7q\2\2"+ - "\u02c0\u02c1\7t\2\2\u02c1\u02cb\7f\2\2\u02c2\u02c3\7d\2\2\u02c3\u02c4"+ - "\7q\2\2\u02c4\u02c5\7q\2\2\u02c5\u02cb\7n\2\2\u02c6\u02c7\7x\2\2\u02c7"+ - "\u02c8\7q\2\2\u02c8\u02c9\7k\2\2\u02c9\u02cb\7f\2\2\u02ca\u02b5\3\2\2"+ - "\2\u02ca\u02b9\3\2\2\2\u02ca\u02bd\3\2\2\2\u02ca\u02c2\3\2\2\2\u02ca\u02c6"+ - "\3\2\2\2\u02cb\u0092\3\2\2\2\u02cc\u02d2\7$\2\2\u02cd\u02ce\7^\2\2\u02ce"+ - "\u02d1\7$\2\2\u02cf\u02d1\n\2\2\2\u02d0\u02cd\3\2\2\2\u02d0\u02cf\3\2"+ - "\2\2\u02d1\u02d4\3\2\2\2\u02d2\u02d0\3\2\2\2\u02d2\u02d3\3\2\2\2\u02d3"+ - "\u02d5\3\2\2\2\u02d4\u02d2\3\2\2\2\u02d5\u02d6\7$\2\2\u02d6\u0094\3\2"+ - "\2\2\u02d7\u02db\7)\2\2\u02d8\u02d9\7^\2\2\u02d9\u02dc\7)\2\2\u02da\u02dc"+ - "\n\3\2\2\u02db\u02d8\3\2\2\2\u02db\u02da\3\2\2\2\u02dc\u02dd\3\2\2\2\u02dd"+ - "\u02de\7)\2\2\u02de\u0096\3\2\2\2\u02df\u02e0\7v\2\2\u02e0\u02e1\7t\2"+ - "\2\u02e1\u02e2\7w\2\2\u02e2\u02e9\7g\2\2\u02e3\u02e4\7h\2\2\u02e4\u02e5"+ - "\7c\2\2\u02e5\u02e6\7n\2\2\u02e6\u02e7\7u\2\2\u02e7\u02e9\7g\2\2\u02e8"+ - "\u02df\3\2\2\2\u02e8\u02e3\3\2\2\2\u02e9\u0098\3\2\2\2\u02ea\u02ed\5\u009b"+ - "N\2\u02eb\u02ed\5\u00a3R\2\u02ec\u02ea\3\2\2\2\u02ec\u02eb\3\2\2\2\u02ed"+ - "\u009a\3\2\2\2\u02ee\u02f2\5\u009dO\2\u02ef\u02f2\5\u009fP\2\u02f0\u02f2"+ - "\5\u00a1Q\2\u02f1\u02ee\3\2\2\2\u02f1\u02ef\3\2\2\2\u02f1\u02f0\3\2\2"+ - "\2\u02f2\u009c\3\2\2\2\u02f3\u02f9\7\'\2\2\u02f4\u02f5\7\62\2\2\u02f5"+ - "\u02f9\7d\2\2\u02f6\u02f7\7\62\2\2\u02f7\u02f9\7D\2\2\u02f8\u02f3\3\2"+ - "\2\2\u02f8\u02f4\3\2\2\2\u02f8\u02f6\3\2\2\2\u02f9\u02fd\3\2\2\2\u02fa"+ - "\u02fc\5\u00abV\2\u02fb\u02fa\3\2\2\2\u02fc\u02ff\3\2\2\2\u02fd\u02fb"+ - "\3\2\2\2\u02fd\u02fe\3\2\2\2\u02fe\u0300\3\2\2\2\u02ff\u02fd\3\2\2\2\u0300"+ - "\u0302\7\60\2\2\u0301\u0303\5\u00abV\2\u0302\u0301\3\2\2\2\u0303\u0304"+ - "\3\2\2\2\u0304\u0302\3\2\2\2\u0304\u0305\3\2\2\2\u0305\u009e\3\2\2\2\u0306"+ - "\u0308\5\u00adW\2\u0307\u0306\3\2\2\2\u0308\u030b\3\2\2\2\u0309\u0307"+ - "\3\2\2\2\u0309\u030a\3\2\2\2\u030a\u030c\3\2\2\2\u030b\u0309\3\2\2\2\u030c"+ - "\u030e\7\60\2\2\u030d\u030f\5\u00adW\2\u030e\u030d\3\2\2\2\u030f\u0310"+ - "\3\2\2\2\u0310\u030e\3\2\2\2\u0310\u0311\3\2\2\2\u0311\u00a0\3\2\2\2\u0312"+ - "\u0318\7&\2\2\u0313\u0314\7\62\2\2\u0314\u0318\7z\2\2\u0315\u0316\7\62"+ - "\2\2\u0316\u0318\7Z\2\2\u0317\u0312\3\2\2\2\u0317\u0313\3\2\2\2\u0317"+ - "\u0315\3\2\2\2\u0318\u031c\3\2\2\2\u0319\u031b\5\u00afX\2\u031a\u0319"+ - "\3\2\2\2\u031b\u031e\3\2\2\2\u031c\u031a\3\2\2\2\u031c\u031d\3\2\2\2\u031d"+ - "\u031f\3\2\2\2\u031e\u031c\3\2\2\2\u031f\u0321\7\60\2\2\u0320\u0322\5"+ - "\u00afX\2\u0321\u0320\3\2\2\2\u0322\u0323\3\2\2\2\u0323\u0321\3\2\2\2"+ - "\u0323\u0324\3\2\2\2\u0324\u00a2\3\2\2\2\u0325\u0329\5\u00a7T\2\u0326"+ - "\u0329\5\u00a9U\2\u0327\u0329\5\u00a5S\2\u0328\u0325\3\2\2\2\u0328\u0326"+ - "\3\2\2\2\u0328\u0327\3\2\2\2\u0329\u00a4\3\2\2\2\u032a\u032b\7\62\2\2"+ - "\u032b\u032d\t\4\2\2\u032c\u032e\5\u00abV\2\u032d\u032c\3\2\2\2\u032e"+ - "\u032f\3\2\2\2\u032f\u032d\3\2\2\2\u032f\u0330\3\2\2\2\u0330\u0338\3\2"+ - "\2\2\u0331\u0333\7\'\2\2\u0332\u0334\5\u00abV\2\u0333\u0332\3\2\2\2\u0334"+ - "\u0335\3\2\2\2\u0335\u0333\3\2\2\2\u0335\u0336\3\2\2\2\u0336\u0338\3\2"+ - "\2\2\u0337\u032a\3\2\2\2\u0337\u0331\3\2\2\2\u0338\u00a6\3\2\2\2\u0339"+ - "\u033b\5\u00adW\2\u033a\u0339\3\2\2\2\u033b\u033c\3\2\2\2\u033c\u033a"+ - "\3\2\2\2\u033c\u033d\3\2\2\2\u033d\u00a8\3\2\2\2\u033e\u0344\7&\2\2\u033f"+ - "\u0340\7\62\2\2\u0340\u0344\7z\2\2\u0341\u0342\7\62\2\2\u0342\u0344\7"+ - "Z\2\2\u0343\u033e\3\2\2\2\u0343\u033f\3\2\2\2\u0343\u0341\3\2\2\2\u0344"+ - "\u0346\3\2\2\2\u0345\u0347\5\u00afX\2\u0346\u0345\3\2\2\2\u0347\u0348"+ - "\3\2\2\2\u0348\u0346\3\2\2\2\u0348\u0349\3\2\2\2\u0349\u00aa\3\2\2\2\u034a"+ - "\u034b\t\5\2\2\u034b\u00ac\3\2\2\2\u034c\u034d\t\6\2\2\u034d\u00ae\3\2"+ - "\2\2\u034e\u034f\t\7\2\2\u034f\u00b0\3\2\2\2\u0350\u0354\5\u00b3Z\2\u0351"+ - "\u0353\5\u00b5[\2\u0352\u0351\3\2\2\2\u0353\u0356\3\2\2\2\u0354\u0352"+ - "\3\2\2\2\u0354\u0355\3\2\2\2\u0355\u00b2\3\2\2\2\u0356\u0354\3\2\2\2\u0357"+ - "\u0358\t\b\2\2\u0358\u00b4\3\2\2\2\u0359\u035a\t\t\2\2\u035a\u00b6\3\2"+ - "\2\2\u035b\u035f\7#\2\2\u035c\u035e\5\u00b5[\2\u035d\u035c\3\2\2\2\u035e"+ - "\u0361\3\2\2\2\u035f\u035d\3\2\2\2\u035f\u0360\3\2\2\2\u0360\u0363\3\2"+ - "\2\2\u0361\u035f\3\2\2\2\u0362\u0364\t\n\2\2\u0363\u0362\3\2\2\2\u0364"+ - "\u0365\3\2\2\2\u0365\u0363\3\2\2\2\u0365\u0366\3\2\2\2\u0366\u00b8\3\2"+ - "\2\2\u0367\u0369\t\13\2\2\u0368\u0367\3\2\2\2\u0369\u036a\3\2\2\2\u036a"+ - "\u0368\3\2\2\2\u036a\u036b\3\2\2\2\u036b\u036c\3\2\2\2\u036c\u036d\b]"+ - "\2\2\u036d\u00ba\3\2\2\2\u036e\u036f\7\61\2\2\u036f\u0370\7\61\2\2\u0370"+ - "\u0374\3\2\2\2\u0371\u0373\n\f\2\2\u0372\u0371\3\2\2\2\u0373\u0376\3\2"+ - "\2\2\u0374\u0372\3\2\2\2\u0374\u0375\3\2\2\2\u0375\u0377\3\2\2\2\u0376"+ - "\u0374\3\2\2\2\u0377\u0378\b^\3\2\u0378\u00bc\3\2\2\2\u0379\u037a\7\61"+ - "\2\2\u037a\u037b\7,\2\2\u037b\u037f\3\2\2\2\u037c\u037e\13\2\2\2\u037d"+ - "\u037c\3\2\2\2\u037e\u0381\3\2\2\2\u037f\u0380\3\2\2\2\u037f\u037d\3\2"+ - "\2\2\u0380\u0382\3\2\2\2\u0381\u037f\3\2\2\2\u0382\u0383\7,\2\2\u0383"+ - "\u0384\7\61\2\2\u0384\u0385\3\2\2\2\u0385\u0386\b_\3\2\u0386\u00be\3\2"+ - "\2\2!\2\u02a7\u02af\u02ca\u02d0\u02d2\u02db\u02e8\u02ec\u02f1\u02f8\u02fd"+ - "\u0304\u0309\u0310\u0317\u031c\u0323\u0328\u032f\u0335\u0337\u033c\u0343"+ - "\u0348\u0354\u035f\u0365\u036a\u0374\u037f\4\2\3\2\2\4\2"; + "\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\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\3\3\3\3\4\3\4\3\5\3\5\3\6\3\6"+ + "\3\7\3\7\3\b\3\b\3\t\3\t\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\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\r\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\17\3\17\3\17\3\17\3\17\3\17"+ + "\3\17\3\17\3\17\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\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\23\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\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\30\3\30"+ + "\3\31\3\31\3\31\3\31\3\32\3\32\3\33\3\33\3\33\3\34\3\34\3\34\3\34\3\34"+ + "\3\34\3\34\3\35\3\35\3\36\3\36\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\62\3\62\3\63\3\63"+ + "\3\63\3\64\3\64\3\64\3\65\3\65\3\65\3\66\3\66\3\66\3\67\3\67\3\67\38\3"+ + "8\38\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@\3@\3@\3A\3A\3A\3A\3A\3B\3B\3"+ + "B\3B\3B\3B\3B\3B\3B\3C\3C\3C\3C\3C\3C\3D\3D\3D\3D\3D\3D\3D\3E\3E\3E\3"+ + "F\3F\3F\3F\3F\3F\3G\3G\3H\3H\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3"+ + "I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3"+ + "I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3"+ + "I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3"+ + "I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3"+ + "I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3"+ + "I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3"+ + "I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3"+ + "I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3"+ + "I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3"+ + "I\3I\5I\u02bb\nI\3J\3J\3J\3J\7J\u02c1\nJ\fJ\16J\u02c4\13J\3J\3J\3J\3K"+ + "\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\5K\u02de"+ + "\nK\3L\3L\3L\3L\7L\u02e4\nL\fL\16L\u02e7\13L\3L\3L\3M\3M\3M\3M\5M\u02ef"+ + "\nM\3M\3M\3N\3N\3N\3N\3N\3N\3N\3N\3N\5N\u02fc\nN\3O\3O\5O\u0300\nO\3P"+ + "\3P\3P\5P\u0305\nP\3Q\3Q\3Q\3Q\3Q\5Q\u030c\nQ\3Q\7Q\u030f\nQ\fQ\16Q\u0312"+ + "\13Q\3Q\3Q\6Q\u0316\nQ\rQ\16Q\u0317\3R\7R\u031b\nR\fR\16R\u031e\13R\3"+ + "R\3R\6R\u0322\nR\rR\16R\u0323\3S\3S\3S\3S\3S\5S\u032b\nS\3S\7S\u032e\n"+ + "S\fS\16S\u0331\13S\3S\3S\6S\u0335\nS\rS\16S\u0336\3T\3T\3T\5T\u033c\n"+ + "T\3U\3U\3U\6U\u0341\nU\rU\16U\u0342\3U\3U\6U\u0347\nU\rU\16U\u0348\5U"+ + "\u034b\nU\3V\6V\u034e\nV\rV\16V\u034f\3W\3W\3W\3W\3W\5W\u0357\nW\3W\6"+ + "W\u035a\nW\rW\16W\u035b\3X\3X\3Y\3Y\3Z\3Z\3[\3[\7[\u0366\n[\f[\16[\u0369"+ + "\13[\3\\\3\\\3]\3]\3^\3^\7^\u0371\n^\f^\16^\u0374\13^\3^\6^\u0377\n^\r"+ + "^\16^\u0378\3_\6_\u037c\n_\r_\16_\u037d\3_\3_\3`\3`\3`\3`\7`\u0386\n`"+ + "\f`\16`\u0389\13`\3`\3`\3a\3a\3a\3a\7a\u0391\na\fa\16a\u0394\13a\3a\3"+ + "a\3a\3a\3a\4\u02c2\u0392\2b\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\u0087"+ + "E\u0089F\u008bG\u008dH\u008fI\u0091J\u0093K\u0095L\u0097M\u0099N\u009b"+ + "O\u009dP\u009fQ\u00a1R\u00a3S\u00a5T\u00a7U\u00a9V\u00abW\u00adX\u00af"+ + "\2\u00b1\2\u00b3\2\u00b5Y\u00b7\2\u00b9\2\u00bbZ\u00bd[\u00bf\\\u00c1"+ + "]\3\2\r\3\2$$\3\2))\4\2DDdd\3\2\62\63\3\2\62;\5\2\62;CHch\5\2C\\aac|\6"+ + "\2\62;C\\aac|\4\2--//\6\2\13\f\17\17\"\"\u00a2\u00a2\4\2\f\f\17\17\2\u0402"+ + "\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\u00b5\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\3\u00c3\3\2\2\2\5\u00ca"+ + "\3\2\2\2\7\u00cc\3\2\2\2\t\u00ce\3\2\2\2\13\u00d0\3\2\2\2\r\u00d2\3\2"+ + "\2\2\17\u00d4\3\2\2\2\21\u00d6\3\2\2\2\23\u00d8\3\2\2\2\25\u00de\3\2\2"+ + "\2\27\u00e5\3\2\2\2\31\u00eb\3\2\2\2\33\u00f4\3\2\2\2\35\u00fb\3\2\2\2"+ + "\37\u0104\3\2\2\2!\u010e\3\2\2\2#\u0111\3\2\2\2%\u0116\3\2\2\2\'\u011c"+ + "\3\2\2\2)\u011f\3\2\2\2+\u0123\3\2\2\2-\u012a\3\2\2\2/\u0130\3\2\2\2\61"+ + "\u0139\3\2\2\2\63\u013d\3\2\2\2\65\u013f\3\2\2\2\67\u0142\3\2\2\29\u0149"+ + "\3\2\2\2;\u014b\3\2\2\2=\u014d\3\2\2\2?\u014f\3\2\2\2A\u0152\3\2\2\2C"+ + "\u0155\3\2\2\2E\u0157\3\2\2\2G\u0159\3\2\2\2I\u015b\3\2\2\2K\u015d\3\2"+ + "\2\2M\u015f\3\2\2\2O\u0162\3\2\2\2Q\u0165\3\2\2\2S\u0167\3\2\2\2U\u0169"+ + "\3\2\2\2W\u016b\3\2\2\2Y\u016d\3\2\2\2[\u0170\3\2\2\2]\u0173\3\2\2\2_"+ + "\u0176\3\2\2\2a\u0179\3\2\2\2c\u017b\3\2\2\2e\u017d\3\2\2\2g\u0180\3\2"+ + "\2\2i\u0183\3\2\2\2k\u0186\3\2\2\2m\u0189\3\2\2\2o\u018c\3\2\2\2q\u018f"+ + "\3\2\2\2s\u0192\3\2\2\2u\u0196\3\2\2\2w\u019a\3\2\2\2y\u019d\3\2\2\2{"+ + "\u01a0\3\2\2\2}\u01a3\3\2\2\2\177\u01ab\3\2\2\2\u0081\u01b4\3\2\2\2\u0083"+ + "\u01b9\3\2\2\2\u0085\u01c2\3\2\2\2\u0087\u01c8\3\2\2\2\u0089\u01cf\3\2"+ + "\2\2\u008b\u01d2\3\2\2\2\u008d\u01d8\3\2\2\2\u008f\u01da\3\2\2\2\u0091"+ + "\u02ba\3\2\2\2\u0093\u02bc\3\2\2\2\u0095\u02dd\3\2\2\2\u0097\u02df\3\2"+ + "\2\2\u0099\u02ea\3\2\2\2\u009b\u02fb\3\2\2\2\u009d\u02ff\3\2\2\2\u009f"+ + "\u0304\3\2\2\2\u00a1\u030b\3\2\2\2\u00a3\u031c\3\2\2\2\u00a5\u032a\3\2"+ + "\2\2\u00a7\u033b\3\2\2\2\u00a9\u034a\3\2\2\2\u00ab\u034d\3\2\2\2\u00ad"+ + "\u0356\3\2\2\2\u00af\u035d\3\2\2\2\u00b1\u035f\3\2\2\2\u00b3\u0361\3\2"+ + "\2\2\u00b5\u0363\3\2\2\2\u00b7\u036a\3\2\2\2\u00b9\u036c\3\2\2\2\u00bb"+ + "\u036e\3\2\2\2\u00bd\u037b\3\2\2\2\u00bf\u0381\3\2\2\2\u00c1\u038c\3\2"+ + "\2\2\u00c3\u00c4\7k\2\2\u00c4\u00c5\7o\2\2\u00c5\u00c6\7r\2\2\u00c6\u00c7"+ + "\7q\2\2\u00c7\u00c8\7t\2\2\u00c8\u00c9\7v\2\2\u00c9\4\3\2\2\2\u00ca\u00cb"+ + "\7?\2\2\u00cb\6\3\2\2\2\u00cc\u00cd\7=\2\2\u00cd\b\3\2\2\2\u00ce\u00cf"+ + "\7*\2\2\u00cf\n\3\2\2\2\u00d0\u00d1\7+\2\2\u00d1\f\3\2\2\2\u00d2\u00d3"+ + "\7}\2\2\u00d3\16\3\2\2\2\u00d4\u00d5\7\177\2\2\u00d5\20\3\2\2\2\u00d6"+ + "\u00d7\7.\2\2\u00d7\22\3\2\2\2\u00d8\u00d9\7e\2\2\u00d9\u00da\7q\2\2\u00da"+ + "\u00db\7p\2\2\u00db\u00dc\7u\2\2\u00dc\u00dd\7v\2\2\u00dd\24\3\2\2\2\u00de"+ + "\u00df\7g\2\2\u00df\u00e0\7z\2\2\u00e0\u00e1\7v\2\2\u00e1\u00e2\7g\2\2"+ + "\u00e2\u00e3\7t\2\2\u00e3\u00e4\7p\2\2\u00e4\26\3\2\2\2\u00e5\u00e6\7"+ + "c\2\2\u00e6\u00e7\7n\2\2\u00e7\u00e8\7k\2\2\u00e8\u00e9\7i\2\2\u00e9\u00ea"+ + "\7p\2\2\u00ea\30\3\2\2\2\u00eb\u00ec\7t\2\2\u00ec\u00ed\7g\2\2\u00ed\u00ee"+ + "\7i\2\2\u00ee\u00ef\7k\2\2\u00ef\u00f0\7u\2\2\u00f0\u00f1\7v\2\2\u00f1"+ + "\u00f2\7g\2\2\u00f2\u00f3\7t\2\2\u00f3\32\3\2\2\2\u00f4\u00f5\7k\2\2\u00f5"+ + "\u00f6\7p\2\2\u00f6\u00f7\7n\2\2\u00f7\u00f8\7k\2\2\u00f8\u00f9\7p\2\2"+ + "\u00f9\u00fa\7g\2\2\u00fa\34\3\2\2\2\u00fb\u00fc\7x\2\2\u00fc\u00fd\7"+ + "q\2\2\u00fd\u00fe\7n\2\2\u00fe\u00ff\7c\2\2\u00ff\u0100\7v\2\2\u0100\u0101"+ + "\7k\2\2\u0101\u0102\7n\2\2\u0102\u0103\7g\2\2\u0103\36\3\2\2\2\u0104\u0105"+ + "\7k\2\2\u0105\u0106\7p\2\2\u0106\u0107\7v\2\2\u0107\u0108\7g\2\2\u0108"+ + "\u0109\7t\2\2\u0109\u010a\7t\2\2\u010a\u010b\7w\2\2\u010b\u010c\7r\2\2"+ + "\u010c\u010d\7v\2\2\u010d \3\2\2\2\u010e\u010f\7k\2\2\u010f\u0110\7h\2"+ + "\2\u0110\"\3\2\2\2\u0111\u0112\7g\2\2\u0112\u0113\7n\2\2\u0113\u0114\7"+ + "u\2\2\u0114\u0115\7g\2\2\u0115$\3\2\2\2\u0116\u0117\7y\2\2\u0117\u0118"+ + "\7j\2\2\u0118\u0119\7k\2\2\u0119\u011a\7n\2\2\u011a\u011b\7g\2\2\u011b"+ + "&\3\2\2\2\u011c\u011d\7f\2\2\u011d\u011e\7q\2\2\u011e(\3\2\2\2\u011f\u0120"+ + "\7h\2\2\u0120\u0121\7q\2\2\u0121\u0122\7t\2\2\u0122*\3\2\2\2\u0123\u0124"+ + "\7t\2\2\u0124\u0125\7g\2\2\u0125\u0126\7v\2\2\u0126\u0127\7w\2\2\u0127"+ + "\u0128\7t\2\2\u0128\u0129\7p\2\2\u0129,\3\2\2\2\u012a\u012b\7d\2\2\u012b"+ + "\u012c\7t\2\2\u012c\u012d\7g\2\2\u012d\u012e\7c\2\2\u012e\u012f\7m\2\2"+ + "\u012f.\3\2\2\2\u0130\u0131\7e\2\2\u0131\u0132\7q\2\2\u0132\u0133\7p\2"+ + "\2\u0133\u0134\7v\2\2\u0134\u0135\7k\2\2\u0135\u0136\7p\2\2\u0136\u0137"+ + "\7w\2\2\u0137\u0138\7g\2\2\u0138\60\3\2\2\2\u0139\u013a\7c\2\2\u013a\u013b"+ + "\7u\2\2\u013b\u013c\7o\2\2\u013c\62\3\2\2\2\u013d\u013e\7<\2\2\u013e\64"+ + "\3\2\2\2\u013f\u0140\7\60\2\2\u0140\u0141\7\60\2\2\u0141\66\3\2\2\2\u0142"+ + "\u0143\7u\2\2\u0143\u0144\7k\2\2\u0144\u0145\7i\2\2\u0145\u0146\7p\2\2"+ + "\u0146\u0147\7g\2\2\u0147\u0148\7f\2\2\u01488\3\2\2\2\u0149\u014a\7,\2"+ + "\2\u014a:\3\2\2\2\u014b\u014c\7]\2\2\u014c<\3\2\2\2\u014d\u014e\7_\2\2"+ + "\u014e>\3\2\2\2\u014f\u0150\7/\2\2\u0150\u0151\7/\2\2\u0151@\3\2\2\2\u0152"+ + "\u0153\7-\2\2\u0153\u0154\7-\2\2\u0154B\3\2\2\2\u0155\u0156\7-\2\2\u0156"+ + "D\3\2\2\2\u0157\u0158\7/\2\2\u0158F\3\2\2\2\u0159\u015a\7#\2\2\u015aH"+ + "\3\2\2\2\u015b\u015c\7(\2\2\u015cJ\3\2\2\2\u015d\u015e\7\u0080\2\2\u015e"+ + "L\3\2\2\2\u015f\u0160\7@\2\2\u0160\u0161\7@\2\2\u0161N\3\2\2\2\u0162\u0163"+ + "\7>\2\2\u0163\u0164\7>\2\2\u0164P\3\2\2\2\u0165\u0166\7\61\2\2\u0166R"+ + "\3\2\2\2\u0167\u0168\7\'\2\2\u0168T\3\2\2\2\u0169\u016a\7>\2\2\u016aV"+ + "\3\2\2\2\u016b\u016c\7@\2\2\u016cX\3\2\2\2\u016d\u016e\7?\2\2\u016e\u016f"+ + "\7?\2\2\u016fZ\3\2\2\2\u0170\u0171\7#\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`\3\2\2\2\u0179\u017a\7`\2\2\u017ab\3"+ + "\2\2\2\u017b\u017c\7~\2\2\u017cd\3\2\2\2\u017d\u017e\7(\2\2\u017e\u017f"+ + "\7(\2\2\u017ff\3\2\2\2\u0180\u0181\7~\2\2\u0181\u0182\7~\2\2\u0182h\3"+ + "\2\2\2\u0183\u0184\7-\2\2\u0184\u0185\7?\2\2\u0185j\3\2\2\2\u0186\u0187"+ + "\7/\2\2\u0187\u0188\7?\2\2\u0188l\3\2\2\2\u0189\u018a\7,\2\2\u018a\u018b"+ + "\7?\2\2\u018bn\3\2\2\2\u018c\u018d\7\61\2\2\u018d\u018e\7?\2\2\u018ep"+ + "\3\2\2\2\u018f\u0190\7\'\2\2\u0190\u0191\7?\2\2\u0191r\3\2\2\2\u0192\u0193"+ + "\7>\2\2\u0193\u0194\7>\2\2\u0194\u0195\7?\2\2\u0195t\3\2\2\2\u0196\u0197"+ + "\7@\2\2\u0197\u0198\7@\2\2\u0198\u0199\7?\2\2\u0199v\3\2\2\2\u019a\u019b"+ + "\7(\2\2\u019b\u019c\7?\2\2\u019cx\3\2\2\2\u019d\u019e\7~\2\2\u019e\u019f"+ + "\7?\2\2\u019fz\3\2\2\2\u01a0\u01a1\7`\2\2\u01a1\u01a2\7?\2\2\u01a2|\3"+ + "\2\2\2\u01a3\u01a4\7m\2\2\u01a4\u01a5\7k\2\2\u01a5\u01a6\7e\2\2\u01a6"+ + "\u01a7\7m\2\2\u01a7\u01a8\7c\2\2\u01a8\u01a9\7u\2\2\u01a9\u01aa\7o\2\2"+ + "\u01aa~\3\2\2\2\u01ab\u01ac\7t\2\2\u01ac\u01ad\7g\2\2\u01ad\u01ae\7u\2"+ + "\2\u01ae\u01af\7q\2\2\u01af\u01b0\7w\2\2\u01b0\u01b1\7t\2\2\u01b1\u01b2"+ + "\7e\2\2\u01b2\u01b3\7g\2\2\u01b3\u0080\3\2\2\2\u01b4\u01b5\7w\2\2\u01b5"+ + "\u01b6\7u\2\2\u01b6\u01b7\7g\2\2\u01b7\u01b8\7u\2\2\u01b8\u0082\3\2\2"+ + "\2\u01b9\u01ba\7e\2\2\u01ba\u01bb\7n\2\2\u01bb\u01bc\7q\2\2\u01bc\u01bd"+ + "\7d\2\2\u01bd\u01be\7d\2\2\u01be\u01bf\7g\2\2\u01bf\u01c0\7t\2\2\u01c0"+ + "\u01c1\7u\2\2\u01c1\u0084\3\2\2\2\u01c2\u01c3\7d\2\2\u01c3\u01c4\7{\2"+ + "\2\u01c4\u01c5\7v\2\2\u01c5\u01c6\7g\2\2\u01c6\u01c7\7u\2\2\u01c7\u0086"+ + "\3\2\2\2\u01c8\u01c9\7e\2\2\u01c9\u01ca\7{\2\2\u01ca\u01cb\7e\2\2\u01cb"+ + "\u01cc\7n\2\2\u01cc\u01cd\7g\2\2\u01cd\u01ce\7u\2\2\u01ce\u0088\3\2\2"+ + "\2\u01cf\u01d0\7r\2\2\u01d0\u01d1\7e\2\2\u01d1\u008a\3\2\2\2\u01d2\u01d3"+ + "\7\60\2\2\u01d3\u01d4\7d\2\2\u01d4\u01d5\7{\2\2\u01d5\u01d6\7v\2\2\u01d6"+ + "\u01d7\7g\2\2\u01d7\u008c\3\2\2\2\u01d8\u01d9\7%\2\2\u01d9\u008e\3\2\2"+ + "\2\u01da\u01db\7\60\2\2\u01db\u0090\3\2\2\2\u01dc\u01dd\7d\2\2\u01dd\u01de"+ + "\7t\2\2\u01de\u02bb\7m\2\2\u01df\u01e0\7q\2\2\u01e0\u01e1\7t\2\2\u01e1"+ + "\u02bb\7c\2\2\u01e2\u01e3\7m\2\2\u01e3\u01e4\7k\2\2\u01e4\u02bb\7n\2\2"+ + "\u01e5\u01e6\7u\2\2\u01e6\u01e7\7n\2\2\u01e7\u02bb\7q\2\2\u01e8\u01e9"+ + "\7p\2\2\u01e9\u01ea\7q\2\2\u01ea\u02bb\7r\2\2\u01eb\u01ec\7c\2\2\u01ec"+ + "\u01ed\7u\2\2\u01ed\u02bb\7n\2\2\u01ee\u01ef\7r\2\2\u01ef\u01f0\7j\2\2"+ + "\u01f0\u02bb\7r\2\2\u01f1\u01f2\7c\2\2\u01f2\u01f3\7p\2\2\u01f3\u02bb"+ + "\7e\2\2\u01f4\u01f5\7d\2\2\u01f5\u01f6\7r\2\2\u01f6\u02bb\7n\2\2\u01f7"+ + "\u01f8\7e\2\2\u01f8\u01f9\7n\2\2\u01f9\u02bb\7e\2\2\u01fa\u01fb\7l\2\2"+ + "\u01fb\u01fc\7u\2\2\u01fc\u02bb\7t\2\2\u01fd\u01fe\7c\2\2\u01fe\u01ff"+ + "\7p\2\2\u01ff\u02bb\7f\2\2\u0200\u0201\7t\2\2\u0201\u0202\7n\2\2\u0202"+ + "\u02bb\7c\2\2\u0203\u0204\7d\2\2\u0204\u0205\7k\2\2\u0205\u02bb\7v\2\2"+ + "\u0206\u0207\7t\2\2\u0207\u0208\7q\2\2\u0208\u02bb\7n\2\2\u0209\u020a"+ + "\7r\2\2\u020a\u020b\7n\2\2\u020b\u02bb\7c\2\2\u020c\u020d\7r\2\2\u020d"+ + "\u020e\7n\2\2\u020e\u02bb\7r\2\2\u020f\u0210\7d\2\2\u0210\u0211\7o\2\2"+ + "\u0211\u02bb\7k\2\2\u0212\u0213\7u\2\2\u0213\u0214\7g\2\2\u0214\u02bb"+ + "\7e\2\2\u0215\u0216\7t\2\2\u0216\u0217\7v\2\2\u0217\u02bb\7k\2\2\u0218"+ + "\u0219\7g\2\2\u0219\u021a\7q\2\2\u021a\u02bb\7t\2\2\u021b\u021c\7u\2\2"+ + "\u021c\u021d\7t\2\2\u021d\u02bb\7g\2\2\u021e\u021f\7n\2\2\u021f\u0220"+ + "\7u\2\2\u0220\u02bb\7t\2\2\u0221\u0222\7r\2\2\u0222\u0223\7j\2\2\u0223"+ + "\u02bb\7c\2\2\u0224\u0225\7c\2\2\u0225\u0226\7n\2\2\u0226\u02bb\7t\2\2"+ + "\u0227\u0228\7l\2\2\u0228\u0229\7o\2\2\u0229\u02bb\7r\2\2\u022a\u022b"+ + "\7d\2\2\u022b\u022c\7x\2\2\u022c\u02bb\7e\2\2\u022d\u022e\7e\2\2\u022e"+ + "\u022f\7n\2\2\u022f\u02bb\7k\2\2\u0230\u0231\7t\2\2\u0231\u0232\7v\2\2"+ + "\u0232\u02bb\7u\2\2\u0233\u0234\7c\2\2\u0234\u0235\7f\2\2\u0235\u02bb"+ + "\7e\2\2\u0236\u0237\7t\2\2\u0237\u0238\7t\2\2\u0238\u02bb\7c\2\2\u0239"+ + "\u023a\7d\2\2\u023a\u023b\7x\2\2\u023b\u02bb\7u\2\2\u023c\u023d\7u\2\2"+ + "\u023d\u023e\7g\2\2\u023e\u02bb\7k\2\2\u023f\u0240\7u\2\2\u0240\u0241"+ + "\7c\2\2\u0241\u02bb\7z\2\2\u0242\u0243\7u\2\2\u0243\u0244\7v\2\2\u0244"+ + "\u02bb\7{\2\2\u0245\u0246\7u\2\2\u0246\u0247\7v\2\2\u0247\u02bb\7c\2\2"+ + "\u0248\u0249\7u\2\2\u0249\u024a\7v\2\2\u024a\u02bb\7z\2\2\u024b\u024c"+ + "\7f\2\2\u024c\u024d\7g\2\2\u024d\u02bb\7{\2\2\u024e\u024f\7v\2\2\u024f"+ + "\u0250\7z\2\2\u0250\u02bb\7c\2\2\u0251\u0252\7z\2\2\u0252\u0253\7c\2\2"+ + "\u0253\u02bb\7c\2\2\u0254\u0255\7d\2\2\u0255\u0256\7e\2\2\u0256\u02bb"+ + "\7e\2\2\u0257\u0258\7c\2\2\u0258\u0259\7j\2\2\u0259\u02bb\7z\2\2\u025a"+ + "\u025b\7v\2\2\u025b\u025c\7{\2\2\u025c\u02bb\7c\2\2\u025d\u025e\7v\2\2"+ + "\u025e\u025f\7z\2\2\u025f\u02bb\7u\2\2\u0260\u0261\7v\2\2\u0261\u0262"+ + "\7c\2\2\u0262\u02bb\7u\2\2\u0263\u0264\7u\2\2\u0264\u0265\7j\2\2\u0265"+ + "\u02bb\7{\2\2\u0266\u0267\7u\2\2\u0267\u0268\7j\2\2\u0268\u02bb\7z\2\2"+ + "\u0269\u026a\7n\2\2\u026a\u026b\7f\2\2\u026b\u02bb\7{\2\2\u026c\u026d"+ + "\7n\2\2\u026d\u026e\7f\2\2\u026e\u02bb\7c\2\2\u026f\u0270\7n\2\2\u0270"+ + "\u0271\7f\2\2\u0271\u02bb\7z\2\2\u0272\u0273\7n\2\2\u0273\u0274\7c\2\2"+ + "\u0274\u02bb\7z\2\2\u0275\u0276\7v\2\2\u0276\u0277\7c\2\2\u0277\u02bb"+ + "\7{\2\2\u0278\u0279\7v\2\2\u0279\u027a\7c\2\2\u027a\u02bb\7z\2\2\u027b"+ + "\u027c\7d\2\2\u027c\u027d\7e\2\2\u027d\u02bb\7u\2\2\u027e\u027f\7e\2\2"+ + "\u027f\u0280\7n\2\2\u0280\u02bb\7x\2\2\u0281\u0282\7v\2\2\u0282\u0283"+ + "\7u\2\2\u0283\u02bb\7z\2\2\u0284\u0285\7n\2\2\u0285\u0286\7c\2\2\u0286"+ + "\u02bb\7u\2\2\u0287\u0288\7e\2\2\u0288\u0289\7r\2\2\u0289\u02bb\7{\2\2"+ + "\u028a\u028b\7e\2\2\u028b\u028c\7o\2\2\u028c\u02bb\7r\2\2\u028d\u028e"+ + "\7e\2\2\u028e\u028f\7r\2\2\u028f\u02bb\7z\2\2\u0290\u0291\7f\2\2\u0291"+ + "\u0292\7e\2\2\u0292\u02bb\7r\2\2\u0293\u0294\7f\2\2\u0294\u0295\7g\2\2"+ + "\u0295\u02bb\7e\2\2\u0296\u0297\7k\2\2\u0297\u0298\7p\2\2\u0298\u02bb"+ + "\7e\2\2\u0299\u029a\7c\2\2\u029a\u029b\7z\2\2\u029b\u02bb\7u\2\2\u029c"+ + "\u029d\7d\2\2\u029d\u029e\7p\2\2\u029e\u02bb\7g\2\2\u029f\u02a0\7e\2\2"+ + "\u02a0\u02a1\7n\2\2\u02a1\u02bb\7f\2\2\u02a2\u02a3\7u\2\2\u02a3\u02a4"+ + "\7d\2\2\u02a4\u02bb\7e\2\2\u02a5\u02a6\7k\2\2\u02a6\u02a7\7u\2\2\u02a7"+ + "\u02bb\7e\2\2\u02a8\u02a9\7k\2\2\u02a9\u02aa\7p\2\2\u02aa\u02bb\7z\2\2"+ + "\u02ab\u02ac\7d\2\2\u02ac\u02ad\7g\2\2\u02ad\u02bb\7s\2\2\u02ae\u02af"+ + "\7u\2\2\u02af\u02b0\7g\2\2\u02b0\u02bb\7f\2\2\u02b1\u02b2\7f\2\2\u02b2"+ + "\u02b3\7g\2\2\u02b3\u02bb\7z\2\2\u02b4\u02b5\7k\2\2\u02b5\u02b6\7p\2\2"+ + "\u02b6\u02bb\7{\2\2\u02b7\u02b8\7t\2\2\u02b8\u02b9\7q\2\2\u02b9\u02bb"+ + "\7t\2\2\u02ba\u01dc\3\2\2\2\u02ba\u01df\3\2\2\2\u02ba\u01e2\3\2\2\2\u02ba"+ + "\u01e5\3\2\2\2\u02ba\u01e8\3\2\2\2\u02ba\u01eb\3\2\2\2\u02ba\u01ee\3\2"+ + "\2\2\u02ba\u01f1\3\2\2\2\u02ba\u01f4\3\2\2\2\u02ba\u01f7\3\2\2\2\u02ba"+ + "\u01fa\3\2\2\2\u02ba\u01fd\3\2\2\2\u02ba\u0200\3\2\2\2\u02ba\u0203\3\2"+ + "\2\2\u02ba\u0206\3\2\2\2\u02ba\u0209\3\2\2\2\u02ba\u020c\3\2\2\2\u02ba"+ + "\u020f\3\2\2\2\u02ba\u0212\3\2\2\2\u02ba\u0215\3\2\2\2\u02ba\u0218\3\2"+ + "\2\2\u02ba\u021b\3\2\2\2\u02ba\u021e\3\2\2\2\u02ba\u0221\3\2\2\2\u02ba"+ + "\u0224\3\2\2\2\u02ba\u0227\3\2\2\2\u02ba\u022a\3\2\2\2\u02ba\u022d\3\2"+ + "\2\2\u02ba\u0230\3\2\2\2\u02ba\u0233\3\2\2\2\u02ba\u0236\3\2\2\2\u02ba"+ + "\u0239\3\2\2\2\u02ba\u023c\3\2\2\2\u02ba\u023f\3\2\2\2\u02ba\u0242\3\2"+ + "\2\2\u02ba\u0245\3\2\2\2\u02ba\u0248\3\2\2\2\u02ba\u024b\3\2\2\2\u02ba"+ + "\u024e\3\2\2\2\u02ba\u0251\3\2\2\2\u02ba\u0254\3\2\2\2\u02ba\u0257\3\2"+ + "\2\2\u02ba\u025a\3\2\2\2\u02ba\u025d\3\2\2\2\u02ba\u0260\3\2\2\2\u02ba"+ + "\u0263\3\2\2\2\u02ba\u0266\3\2\2\2\u02ba\u0269\3\2\2\2\u02ba\u026c\3\2"+ + "\2\2\u02ba\u026f\3\2\2\2\u02ba\u0272\3\2\2\2\u02ba\u0275\3\2\2\2\u02ba"+ + "\u0278\3\2\2\2\u02ba\u027b\3\2\2\2\u02ba\u027e\3\2\2\2\u02ba\u0281\3\2"+ + "\2\2\u02ba\u0284\3\2\2\2\u02ba\u0287\3\2\2\2\u02ba\u028a\3\2\2\2\u02ba"+ + "\u028d\3\2\2\2\u02ba\u0290\3\2\2\2\u02ba\u0293\3\2\2\2\u02ba\u0296\3\2"+ + "\2\2\u02ba\u0299\3\2\2\2\u02ba\u029c\3\2\2\2\u02ba\u029f\3\2\2\2\u02ba"+ + "\u02a2\3\2\2\2\u02ba\u02a5\3\2\2\2\u02ba\u02a8\3\2\2\2\u02ba\u02ab\3\2"+ + "\2\2\u02ba\u02ae\3\2\2\2\u02ba\u02b1\3\2\2\2\u02ba\u02b4\3\2\2\2\u02ba"+ + "\u02b7\3\2\2\2\u02bb\u0092\3\2\2\2\u02bc\u02bd\7}\2\2\u02bd\u02be\7}\2"+ + "\2\u02be\u02c2\3\2\2\2\u02bf\u02c1\13\2\2\2\u02c0\u02bf\3\2\2\2\u02c1"+ + "\u02c4\3\2\2\2\u02c2\u02c3\3\2\2\2\u02c2\u02c0\3\2\2\2\u02c3\u02c5\3\2"+ + "\2\2\u02c4\u02c2\3\2\2\2\u02c5\u02c6\7\177\2\2\u02c6\u02c7\7\177\2\2\u02c7"+ + "\u0094\3\2\2\2\u02c8\u02c9\7d\2\2\u02c9\u02ca\7{\2\2\u02ca\u02cb\7v\2"+ + "\2\u02cb\u02de\7g\2\2\u02cc\u02cd\7y\2\2\u02cd\u02ce\7q\2\2\u02ce\u02cf"+ + "\7t\2\2\u02cf\u02de\7f\2\2\u02d0\u02d1\7f\2\2\u02d1\u02d2\7y\2\2\u02d2"+ + "\u02d3\7q\2\2\u02d3\u02d4\7t\2\2\u02d4\u02de\7f\2\2\u02d5\u02d6\7d\2\2"+ + "\u02d6\u02d7\7q\2\2\u02d7\u02d8\7q\2\2\u02d8\u02de\7n\2\2\u02d9\u02da"+ + "\7x\2\2\u02da\u02db\7q\2\2\u02db\u02dc\7k\2\2\u02dc\u02de\7f\2\2\u02dd"+ + "\u02c8\3\2\2\2\u02dd\u02cc\3\2\2\2\u02dd\u02d0\3\2\2\2\u02dd\u02d5\3\2"+ + "\2\2\u02dd\u02d9\3\2\2\2\u02de\u0096\3\2\2\2\u02df\u02e5\7$\2\2\u02e0"+ + "\u02e1\7^\2\2\u02e1\u02e4\7$\2\2\u02e2\u02e4\n\2\2\2\u02e3\u02e0\3\2\2"+ + "\2\u02e3\u02e2\3\2\2\2\u02e4\u02e7\3\2\2\2\u02e5\u02e3\3\2\2\2\u02e5\u02e6"+ + "\3\2\2\2\u02e6\u02e8\3\2\2\2\u02e7\u02e5\3\2\2\2\u02e8\u02e9\7$\2\2\u02e9"+ + "\u0098\3\2\2\2\u02ea\u02ee\7)\2\2\u02eb\u02ec\7^\2\2\u02ec\u02ef\7)\2"+ + "\2\u02ed\u02ef\n\3\2\2\u02ee\u02eb\3\2\2\2\u02ee\u02ed\3\2\2\2\u02ef\u02f0"+ + "\3\2\2\2\u02f0\u02f1\7)\2\2\u02f1\u009a\3\2\2\2\u02f2\u02f3\7v\2\2\u02f3"+ + "\u02f4\7t\2\2\u02f4\u02f5\7w\2\2\u02f5\u02fc\7g\2\2\u02f6\u02f7\7h\2\2"+ + "\u02f7\u02f8\7c\2\2\u02f8\u02f9\7n\2\2\u02f9\u02fa\7u\2\2\u02fa\u02fc"+ + "\7g\2\2\u02fb\u02f2\3\2\2\2\u02fb\u02f6\3\2\2\2\u02fc\u009c\3\2\2\2\u02fd"+ + "\u0300\5\u009fP\2\u02fe\u0300\5\u00a7T\2\u02ff\u02fd\3\2\2\2\u02ff\u02fe"+ + "\3\2\2\2\u0300\u009e\3\2\2\2\u0301\u0305\5\u00a1Q\2\u0302\u0305\5\u00a3"+ + "R\2\u0303\u0305\5\u00a5S\2\u0304\u0301\3\2\2\2\u0304\u0302\3\2\2\2\u0304"+ + "\u0303\3\2\2\2\u0305\u00a0\3\2\2\2\u0306\u030c\7\'\2\2\u0307\u0308\7\62"+ + "\2\2\u0308\u030c\7d\2\2\u0309\u030a\7\62\2\2\u030a\u030c\7D\2\2\u030b"+ + "\u0306\3\2\2\2\u030b\u0307\3\2\2\2\u030b\u0309\3\2\2\2\u030c\u0310\3\2"+ + "\2\2\u030d\u030f\5\u00afX\2\u030e\u030d\3\2\2\2\u030f\u0312\3\2\2\2\u0310"+ + "\u030e\3\2\2\2\u0310\u0311\3\2\2\2\u0311\u0313\3\2\2\2\u0312\u0310\3\2"+ + "\2\2\u0313\u0315\7\60\2\2\u0314\u0316\5\u00afX\2\u0315\u0314\3\2\2\2\u0316"+ + "\u0317\3\2\2\2\u0317\u0315\3\2\2\2\u0317\u0318\3\2\2\2\u0318\u00a2\3\2"+ + "\2\2\u0319\u031b\5\u00b1Y\2\u031a\u0319\3\2\2\2\u031b\u031e\3\2\2\2\u031c"+ + "\u031a\3\2\2\2\u031c\u031d\3\2\2\2\u031d\u031f\3\2\2\2\u031e\u031c\3\2"+ + "\2\2\u031f\u0321\7\60\2\2\u0320\u0322\5\u00b1Y\2\u0321\u0320\3\2\2\2\u0322"+ + "\u0323\3\2\2\2\u0323\u0321\3\2\2\2\u0323\u0324\3\2\2\2\u0324\u00a4\3\2"+ + "\2\2\u0325\u032b\7&\2\2\u0326\u0327\7\62\2\2\u0327\u032b\7z\2\2\u0328"+ + "\u0329\7\62\2\2\u0329\u032b\7Z\2\2\u032a\u0325\3\2\2\2\u032a\u0326\3\2"+ + "\2\2\u032a\u0328\3\2\2\2\u032b\u032f\3\2\2\2\u032c\u032e\5\u00b3Z\2\u032d"+ + "\u032c\3\2\2\2\u032e\u0331\3\2\2\2\u032f\u032d\3\2\2\2\u032f\u0330\3\2"+ + "\2\2\u0330\u0332\3\2\2\2\u0331\u032f\3\2\2\2\u0332\u0334\7\60\2\2\u0333"+ + "\u0335\5\u00b3Z\2\u0334\u0333\3\2\2\2\u0335\u0336\3\2\2\2\u0336\u0334"+ + "\3\2\2\2\u0336\u0337\3\2\2\2\u0337\u00a6\3\2\2\2\u0338\u033c\5\u00abV"+ + "\2\u0339\u033c\5\u00adW\2\u033a\u033c\5\u00a9U\2\u033b\u0338\3\2\2\2\u033b"+ + "\u0339\3\2\2\2\u033b\u033a\3\2\2\2\u033c\u00a8\3\2\2\2\u033d\u033e\7\62"+ + "\2\2\u033e\u0340\t\4\2\2\u033f\u0341\5\u00afX\2\u0340\u033f\3\2\2\2\u0341"+ + "\u0342\3\2\2\2\u0342\u0340\3\2\2\2\u0342\u0343\3\2\2\2\u0343\u034b\3\2"+ + "\2\2\u0344\u0346\7\'\2\2\u0345\u0347\5\u00afX\2\u0346\u0345\3\2\2\2\u0347"+ + "\u0348\3\2\2\2\u0348\u0346\3\2\2\2\u0348\u0349\3\2\2\2\u0349\u034b\3\2"+ + "\2\2\u034a\u033d\3\2\2\2\u034a\u0344\3\2\2\2\u034b\u00aa\3\2\2\2\u034c"+ + "\u034e\5\u00b1Y\2\u034d\u034c\3\2\2\2\u034e\u034f\3\2\2\2\u034f\u034d"+ + "\3\2\2\2\u034f\u0350\3\2\2\2\u0350\u00ac\3\2\2\2\u0351\u0357\7&\2\2\u0352"+ + "\u0353\7\62\2\2\u0353\u0357\7z\2\2\u0354\u0355\7\62\2\2\u0355\u0357\7"+ + "Z\2\2\u0356\u0351\3\2\2\2\u0356\u0352\3\2\2\2\u0356\u0354\3\2\2\2\u0357"+ + "\u0359\3\2\2\2\u0358\u035a\5\u00b3Z\2\u0359\u0358\3\2\2\2\u035a\u035b"+ + "\3\2\2\2\u035b\u0359\3\2\2\2\u035b\u035c\3\2\2\2\u035c\u00ae\3\2\2\2\u035d"+ + "\u035e\t\5\2\2\u035e\u00b0\3\2\2\2\u035f\u0360\t\6\2\2\u0360\u00b2\3\2"+ + "\2\2\u0361\u0362\t\7\2\2\u0362\u00b4\3\2\2\2\u0363\u0367\5\u00b7\\\2\u0364"+ + "\u0366\5\u00b9]\2\u0365\u0364\3\2\2\2\u0366\u0369\3\2\2\2\u0367\u0365"+ + "\3\2\2\2\u0367\u0368\3\2\2\2\u0368\u00b6\3\2\2\2\u0369\u0367\3\2\2\2\u036a"+ + "\u036b\t\b\2\2\u036b\u00b8\3\2\2\2\u036c\u036d\t\t\2\2\u036d\u00ba\3\2"+ + "\2\2\u036e\u0372\7#\2\2\u036f\u0371\5\u00b9]\2\u0370\u036f\3\2\2\2\u0371"+ + "\u0374\3\2\2\2\u0372\u0370\3\2\2\2\u0372\u0373\3\2\2\2\u0373\u0376\3\2"+ + "\2\2\u0374\u0372\3\2\2\2\u0375\u0377\t\n\2\2\u0376\u0375\3\2\2\2\u0377"+ + "\u0378\3\2\2\2\u0378\u0376\3\2\2\2\u0378\u0379\3\2\2\2\u0379\u00bc\3\2"+ + "\2\2\u037a\u037c\t\13\2\2\u037b\u037a\3\2\2\2\u037c\u037d\3\2\2\2\u037d"+ + "\u037b\3\2\2\2\u037d\u037e\3\2\2\2\u037e\u037f\3\2\2\2\u037f\u0380\b_"+ + "\2\2\u0380\u00be\3\2\2\2\u0381\u0382\7\61\2\2\u0382\u0383\7\61\2\2\u0383"+ + "\u0387\3\2\2\2\u0384\u0386\n\f\2\2\u0385\u0384\3\2\2\2\u0386\u0389\3\2"+ + "\2\2\u0387\u0385\3\2\2\2\u0387\u0388\3\2\2\2\u0388\u038a\3\2\2\2\u0389"+ + "\u0387\3\2\2\2\u038a\u038b\b`\3\2\u038b\u00c0\3\2\2\2\u038c\u038d\7\61"+ + "\2\2\u038d\u038e\7,\2\2\u038e\u0392\3\2\2\2\u038f\u0391\13\2\2\2\u0390"+ + "\u038f\3\2\2\2\u0391\u0394\3\2\2\2\u0392\u0393\3\2\2\2\u0392\u0390\3\2"+ + "\2\2\u0393\u0395\3\2\2\2\u0394\u0392\3\2\2\2\u0395\u0396\7,\2\2\u0396"+ + "\u0397\7\61\2\2\u0397\u0398\3\2\2\2\u0398\u0399\ba\3\2\u0399\u00c2\3\2"+ + "\2\2!\2\u02ba\u02c2\u02dd\u02e3\u02e5\u02ee\u02fb\u02ff\u0304\u030b\u0310"+ + "\u0317\u031c\u0323\u032a\u032f\u0336\u033b\u0342\u0348\u034a\u034f\u0356"+ + "\u035b\u0367\u0372\u0378\u037d\u0387\u0392\4\2\3\2\2\4\2"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCLexer.tokens b/src/main/java/dk/camelot64/kickc/parser/KickCLexer.tokens index 41fc84431..0deb0119e 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCLexer.tokens +++ b/src/main/java/dk/camelot64/kickc/parser/KickCLexer.tokens @@ -67,26 +67,28 @@ T__65=66 T__66=67 T__67=68 T__68=69 -MNEMONIC=70 -KICKASM=71 -SIMPLETYPE=72 -STRING=73 -CHAR=74 -BOOLEAN=75 -NUMBER=76 -NUMFLOAT=77 -BINFLOAT=78 -DECFLOAT=79 -HEXFLOAT=80 -NUMINT=81 -BININTEGER=82 -DECINTEGER=83 -HEXINTEGER=84 -NAME=85 -ASMREL=86 -WS=87 -COMMENT_LINE=88 -COMMENT_BLOCK=89 +T__69=70 +T__70=71 +MNEMONIC=72 +KICKASM=73 +SIMPLETYPE=74 +STRING=75 +CHAR=76 +BOOLEAN=77 +NUMBER=78 +NUMFLOAT=79 +BINFLOAT=80 +DECFLOAT=81 +HEXFLOAT=82 +NUMINT=83 +BININTEGER=84 +DECINTEGER=85 +HEXINTEGER=86 +NAME=87 +ASMREL=88 +WS=89 +COMMENT_LINE=90 +COMMENT_BLOCK=91 'import'=1 '='=2 ';'=3 @@ -108,51 +110,53 @@ COMMENT_BLOCK=89 'do'=19 'for'=20 'return'=21 -'asm'=22 -':'=23 -'..'=24 -'signed'=25 -'*'=26 -'['=27 -']'=28 -'--'=29 -'++'=30 -'+'=31 -'-'=32 -'!'=33 -'&'=34 -'~'=35 -'>>'=36 -'<<'=37 -'/'=38 -'%'=39 -'<'=40 -'>'=41 -'=='=42 -'!='=43 -'<='=44 -'>='=45 -'^'=46 -'|'=47 -'&&'=48 -'||'=49 -'+='=50 -'-='=51 -'*='=52 -'/='=53 -'%='=54 -'<<='=55 -'>>='=56 -'&='=57 -'|='=58 -'^='=59 -'kickasm'=60 -'resource'=61 -'uses'=62 -'clobbers'=63 -'bytes'=64 -'cycles'=65 -'pc'=66 -'.byte'=67 -'#'=68 -'.'=69 +'break'=22 +'continue'=23 +'asm'=24 +':'=25 +'..'=26 +'signed'=27 +'*'=28 +'['=29 +']'=30 +'--'=31 +'++'=32 +'+'=33 +'-'=34 +'!'=35 +'&'=36 +'~'=37 +'>>'=38 +'<<'=39 +'/'=40 +'%'=41 +'<'=42 +'>'=43 +'=='=44 +'!='=45 +'<='=46 +'>='=47 +'^'=48 +'|'=49 +'&&'=50 +'||'=51 +'+='=52 +'-='=53 +'*='=54 +'/='=55 +'%='=56 +'<<='=57 +'>>='=58 +'&='=59 +'|='=60 +'^='=61 +'kickasm'=62 +'resource'=63 +'uses'=64 +'clobbers'=65 +'bytes'=66 +'cycles'=67 +'pc'=68 +'.byte'=69 +'#'=70 +'.'=71 diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCListener.java b/src/main/java/dk/camelot64/kickc/parser/KickCListener.java index 7c84f57be..d4cccfeaf 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCListener.java +++ b/src/main/java/dk/camelot64/kickc/parser/KickCListener.java @@ -1,4 +1,4 @@ -// Generated from /Users/jespergravgaard/c64/kickc/src/main/java/dk/camelot64/kickc/parser/KickC.g4 by ANTLR 4.7 +// Generated from C:/c64/kickc/src/main/java/dk/camelot64/kickc/parser\KickC.g4 by ANTLR 4.7 package dk.camelot64.kickc.parser; import org.antlr.v4.runtime.tree.ParseTreeListener; @@ -297,6 +297,30 @@ public interface KickCListener extends ParseTreeListener { * @param ctx the parse tree */ void exitStmtReturn(KickCParser.StmtReturnContext ctx); + /** + * Enter a parse tree produced by the {@code stmtBreak} + * labeled alternative in {@link KickCParser#stmt}. + * @param ctx the parse tree + */ + void enterStmtBreak(KickCParser.StmtBreakContext ctx); + /** + * Exit a parse tree produced by the {@code stmtBreak} + * labeled alternative in {@link KickCParser#stmt}. + * @param ctx the parse tree + */ + void exitStmtBreak(KickCParser.StmtBreakContext ctx); + /** + * Enter a parse tree produced by the {@code stmtContinue} + * labeled alternative in {@link KickCParser#stmt}. + * @param ctx the parse tree + */ + void enterStmtContinue(KickCParser.StmtContinueContext ctx); + /** + * Exit a parse tree produced by the {@code stmtContinue} + * labeled alternative in {@link KickCParser#stmt}. + * @param ctx the parse tree + */ + void exitStmtContinue(KickCParser.StmtContinueContext ctx); /** * Enter a parse tree produced by the {@code stmtAsm} * labeled alternative in {@link KickCParser#stmt}. diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParser.java b/src/main/java/dk/camelot64/kickc/parser/KickCParser.java index e7b1e544c..3712cf3d7 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCParser.java +++ b/src/main/java/dk/camelot64/kickc/parser/KickCParser.java @@ -1,4 +1,4 @@ -// Generated from /Users/jespergravgaard/c64/kickc/src/main/java/dk/camelot64/kickc/parser/KickC.g4 by ANTLR 4.7 +// Generated from C:/c64/kickc/src/main/java/dk/camelot64/kickc/parser\KickC.g4 by ANTLR 4.7 package dk.camelot64.kickc.parser; import org.antlr.v4.runtime.atn.*; import org.antlr.v4.runtime.dfa.DFA; @@ -26,10 +26,10 @@ public class KickCParser extends Parser { T__45=46, T__46=47, T__47=48, T__48=49, T__49=50, T__50=51, T__51=52, T__52=53, T__53=54, T__54=55, T__55=56, T__56=57, T__57=58, T__58=59, T__59=60, T__60=61, T__61=62, T__62=63, T__63=64, T__64=65, T__65=66, - T__66=67, T__67=68, T__68=69, MNEMONIC=70, KICKASM=71, SIMPLETYPE=72, - STRING=73, CHAR=74, BOOLEAN=75, NUMBER=76, NUMFLOAT=77, BINFLOAT=78, DECFLOAT=79, - HEXFLOAT=80, NUMINT=81, BININTEGER=82, DECINTEGER=83, HEXINTEGER=84, NAME=85, - ASMREL=86, WS=87, COMMENT_LINE=88, COMMENT_BLOCK=89; + T__66=67, T__67=68, T__68=69, T__69=70, T__70=71, MNEMONIC=72, KICKASM=73, + SIMPLETYPE=74, STRING=75, CHAR=76, BOOLEAN=77, NUMBER=78, NUMFLOAT=79, + BINFLOAT=80, DECFLOAT=81, HEXFLOAT=82, NUMINT=83, BININTEGER=84, DECINTEGER=85, + HEXINTEGER=86, NAME=87, ASMREL=88, WS=89, COMMENT_LINE=90, COMMENT_BLOCK=91; public static final int RULE_file = 0, RULE_asmFile = 1, RULE_importSeq = 2, RULE_importDecl = 3, RULE_declSeq = 4, RULE_decl = 5, RULE_declVariable = 6, RULE_declFunction = 7, @@ -50,13 +50,13 @@ public class KickCParser extends Parser { private static final String[] _LITERAL_NAMES = { null, "'import'", "'='", "';'", "'('", "')'", "'{'", "'}'", "','", "'const'", "'extern'", "'align'", "'register'", "'inline'", "'volatile'", "'interrupt'", - "'if'", "'else'", "'while'", "'do'", "'for'", "'return'", "'asm'", "':'", - "'..'", "'signed'", "'*'", "'['", "']'", "'--'", "'++'", "'+'", "'-'", - "'!'", "'&'", "'~'", "'>>'", "'<<'", "'/'", "'%'", "'<'", "'>'", "'=='", - "'!='", "'<='", "'>='", "'^'", "'|'", "'&&'", "'||'", "'+='", "'-='", - "'*='", "'/='", "'%='", "'<<='", "'>>='", "'&='", "'|='", "'^='", "'kickasm'", - "'resource'", "'uses'", "'clobbers'", "'bytes'", "'cycles'", "'pc'", "'.byte'", - "'#'", "'.'" + "'if'", "'else'", "'while'", "'do'", "'for'", "'return'", "'break'", "'continue'", + "'asm'", "':'", "'..'", "'signed'", "'*'", "'['", "']'", "'--'", "'++'", + "'+'", "'-'", "'!'", "'&'", "'~'", "'>>'", "'<<'", "'/'", "'%'", "'<'", + "'>'", "'=='", "'!='", "'<='", "'>='", "'^'", "'|'", "'&&'", "'||'", "'+='", + "'-='", "'*='", "'/='", "'%='", "'<<='", "'>>='", "'&='", "'|='", "'^='", + "'kickasm'", "'resource'", "'uses'", "'clobbers'", "'bytes'", "'cycles'", + "'pc'", "'.byte'", "'#'", "'.'" }; private static final String[] _SYMBOLIC_NAMES = { null, null, null, null, null, null, null, null, null, null, null, null, @@ -64,10 +64,10 @@ public class KickCParser 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, null, null, null, null, null, "MNEMONIC", - "KICKASM", "SIMPLETYPE", "STRING", "CHAR", "BOOLEAN", "NUMBER", "NUMFLOAT", - "BINFLOAT", "DECFLOAT", "HEXFLOAT", "NUMINT", "BININTEGER", "DECINTEGER", - "HEXINTEGER", "NAME", "ASMREL", "WS", "COMMENT_LINE", "COMMENT_BLOCK" + null, null, null, null, null, null, null, null, null, null, null, null, + "MNEMONIC", "KICKASM", "SIMPLETYPE", "STRING", "CHAR", "BOOLEAN", "NUMBER", + "NUMFLOAT", "BINFLOAT", "DECFLOAT", "HEXFLOAT", "NUMINT", "BININTEGER", + "DECINTEGER", "HEXINTEGER", "NAME", "ASMREL", "WS", "COMMENT_LINE", "COMMENT_BLOCK" }; public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); @@ -367,7 +367,7 @@ public class KickCParser extends Parser { setState(75); _errHandler.sync(this); _la = _input.LA(1); - } while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14) | (1L << T__24) | (1L << T__59))) != 0) || _la==SIMPLETYPE ); + } while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14) | (1L << T__26) | (1L << T__61))) != 0) || _la==SIMPLETYPE ); } } catch (RecognitionException re) { @@ -630,7 +630,7 @@ public class KickCParser extends Parser { setState(118); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14) | (1L << T__24))) != 0) || _la==SIMPLETYPE) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14) | (1L << T__26))) != 0) || _la==SIMPLETYPE) { { setState(117); parameterListDecl(); @@ -644,7 +644,7 @@ public class KickCParser extends Parser { setState(123); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__5) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14) | (1L << T__15) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__24) | (1L << T__25) | (1L << T__28) | (1L << T__29) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__39) | (1L << T__40) | (1L << T__59))) != 0) || ((((_la - 72)) & ~0x3f) == 0 && ((1L << (_la - 72)) & ((1L << (SIMPLETYPE - 72)) | (1L << (STRING - 72)) | (1L << (CHAR - 72)) | (1L << (BOOLEAN - 72)) | (1L << (NUMBER - 72)) | (1L << (NAME - 72)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__5) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14) | (1L << T__15) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__26) | (1L << T__27) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__41) | (1L << T__42) | (1L << T__61))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (SIMPLETYPE - 74)) | (1L << (STRING - 74)) | (1L << (CHAR - 74)) | (1L << (BOOLEAN - 74)) | (1L << (NUMBER - 74)) | (1L << (NAME - 74)))) != 0)) { { setState(122); stmtSeq(); @@ -1089,7 +1089,7 @@ public class KickCParser extends Parser { setState(173); _errHandler.sync(this); _la = _input.LA(1); - } while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__5) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14) | (1L << T__15) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__24) | (1L << T__25) | (1L << T__28) | (1L << T__29) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__39) | (1L << T__40) | (1L << T__59))) != 0) || ((((_la - 72)) & ~0x3f) == 0 && ((1L << (_la - 72)) & ((1L << (SIMPLETYPE - 72)) | (1L << (STRING - 72)) | (1L << (CHAR - 72)) | (1L << (BOOLEAN - 72)) | (1L << (NUMBER - 72)) | (1L << (NAME - 72)))) != 0) ); + } while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__5) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14) | (1L << T__15) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__26) | (1L << T__27) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__41) | (1L << T__42) | (1L << T__61))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (SIMPLETYPE - 74)) | (1L << (STRING - 74)) | (1L << (CHAR - 74)) | (1L << (BOOLEAN - 74)) | (1L << (NUMBER - 74)) | (1L << (NAME - 74)))) != 0) ); } } catch (RecognitionException re) { @@ -1152,6 +1152,22 @@ public class KickCParser extends Parser { else return visitor.visitChildren(this); } } + public static class StmtBreakContext extends StmtContext { + public StmtBreakContext(StmtContext ctx) { copyFrom(ctx); } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof KickCListener ) ((KickCListener)listener).enterStmtBreak(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof KickCListener ) ((KickCListener)listener).exitStmtBreak(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof KickCVisitor ) return ((KickCVisitor)visitor).visitStmtBreak(this); + else return visitor.visitChildren(this); + } + } public static class StmtDeclKasmContext extends StmtContext { public DeclKasmContext declKasm() { return getRuleContext(DeclKasmContext.class,0); @@ -1343,13 +1359,29 @@ public class KickCParser extends Parser { else return visitor.visitChildren(this); } } + public static class StmtContinueContext extends StmtContext { + public StmtContinueContext(StmtContext ctx) { copyFrom(ctx); } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof KickCListener ) ((KickCListener)listener).enterStmtContinue(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof KickCListener ) ((KickCListener)listener).exitStmtContinue(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof KickCVisitor ) return ((KickCVisitor)visitor).visitStmtContinue(this); + else return visitor.visitChildren(this); + } + } public final StmtContext stmt() throws RecognitionException { StmtContext _localctx = new StmtContext(_ctx, getState()); enterRule(_localctx, 24, RULE_stmt); int _la; try { - setState(248); + setState(252); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,24,_ctx) ) { case 1: @@ -1369,7 +1401,7 @@ public class KickCParser extends Parser { setState(178); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__5) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14) | (1L << T__15) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__24) | (1L << T__25) | (1L << T__28) | (1L << T__29) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__39) | (1L << T__40) | (1L << T__59))) != 0) || ((((_la - 72)) & ~0x3f) == 0 && ((1L << (_la - 72)) & ((1L << (SIMPLETYPE - 72)) | (1L << (STRING - 72)) | (1L << (CHAR - 72)) | (1L << (BOOLEAN - 72)) | (1L << (NUMBER - 72)) | (1L << (NAME - 72)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__5) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14) | (1L << T__15) | (1L << T__17) | (1L << T__18) | (1L << T__19) | (1L << T__20) | (1L << T__21) | (1L << T__22) | (1L << T__23) | (1L << T__26) | (1L << T__27) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__41) | (1L << T__42) | (1L << T__61))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (SIMPLETYPE - 74)) | (1L << (STRING - 74)) | (1L << (CHAR - 74)) | (1L << (BOOLEAN - 74)) | (1L << (NUMBER - 74)) | (1L << (NAME - 74)))) != 0)) { { setState(177); stmtSeq(); @@ -1507,7 +1539,7 @@ public class KickCParser extends Parser { setState(228); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14) | (1L << T__24))) != 0) || _la==SIMPLETYPE || _la==NAME) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14) | (1L << T__26))) != 0) || _la==SIMPLETYPE || _la==NAME) { { setState(227); forDeclaration(); @@ -1531,7 +1563,7 @@ public class KickCParser extends Parser { setState(236); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__5) | (1L << T__25) | (1L << T__28) | (1L << T__29) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__39) | (1L << T__40))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (STRING - 73)) | (1L << (CHAR - 73)) | (1L << (BOOLEAN - 73)) | (1L << (NUMBER - 73)) | (1L << (NAME - 73)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__5) | (1L << T__27) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__41) | (1L << T__42))) != 0) || ((((_la - 75)) & ~0x3f) == 0 && ((1L << (_la - 75)) & ((1L << (STRING - 75)) | (1L << (CHAR - 75)) | (1L << (BOOLEAN - 75)) | (1L << (NUMBER - 75)) | (1L << (NAME - 75)))) != 0)) { { setState(235); expr(0); @@ -1543,34 +1575,54 @@ public class KickCParser extends Parser { } break; case 9: - _localctx = new StmtAsmContext(_localctx); + _localctx = new StmtBreakContext(_localctx); enterOuterAlt(_localctx, 9); { setState(239); match(T__21); + setState(240); + match(T__2); + } + break; + case 10: + _localctx = new StmtContinueContext(_localctx); + enterOuterAlt(_localctx, 10); + { setState(241); + match(T__22); + setState(242); + match(T__2); + } + break; + case 11: + _localctx = new StmtAsmContext(_localctx); + enterOuterAlt(_localctx, 11); + { + setState(243); + match(T__23); + setState(245); _errHandler.sync(this); _la = _input.LA(1); if (_la==T__3) { { - setState(240); + setState(244); asmDirectives(); } } - setState(243); + setState(247); match(T__5); - setState(244); + setState(248); asmLines(); - setState(245); + setState(249); match(T__6); } break; - case 10: + case 12: _localctx = new StmtDeclKasmContext(_localctx); - enterOuterAlt(_localctx, 10); + enterOuterAlt(_localctx, 12); { - setState(247); + setState(251); declKasm(); } break; @@ -1637,56 +1689,56 @@ public class KickCParser extends Parser { _localctx = new ForDeclContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(253); + setState(257); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,25,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(250); + setState(254); directive(); } } } - setState(255); + setState(259); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,25,_ctx); } - setState(257); + setState(261); _errHandler.sync(this); _la = _input.LA(1); - if (_la==T__3 || _la==T__24 || _la==SIMPLETYPE) { + if (_la==T__3 || _la==T__26 || _la==SIMPLETYPE) { { - setState(256); + setState(260); typeDecl(0); } } - setState(262); + setState(266); _errHandler.sync(this); _la = _input.LA(1); while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__8) | (1L << T__9) | (1L << T__10) | (1L << T__11) | (1L << T__12) | (1L << T__13) | (1L << T__14))) != 0)) { { { - setState(259); + setState(263); directive(); } } - setState(264); + setState(268); _errHandler.sync(this); _la = _input.LA(1); } - setState(265); + setState(269); match(NAME); - setState(268); + setState(272); _errHandler.sync(this); _la = _input.LA(1); if (_la==T__1) { { - setState(266); + setState(270); match(T__1); - setState(267); + setState(271); expr(0); } } @@ -1764,36 +1816,36 @@ public class KickCParser extends Parser { ForIterationContext _localctx = new ForIterationContext(_ctx, getState()); enterRule(_localctx, 28, RULE_forIteration); try { - setState(280); + setState(284); _errHandler.sync(this); switch (_input.LA(1)) { case T__2: _localctx = new ForClassicContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(270); + setState(274); match(T__2); - setState(271); + setState(275); expr(0); - setState(272); + setState(276); match(T__2); - setState(273); + setState(277); expr(0); } break; - case T__22: + case T__24: _localctx = new ForRangeContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(275); - match(T__22); - setState(276); + setState(279); + match(T__24); + setState(280); expr(0); { - setState(277); - match(T__23); + setState(281); + match(T__25); } - setState(278); + setState(282); expr(0); } break; @@ -1953,7 +2005,7 @@ public class KickCParser extends Parser { int _alt; enterOuterAlt(_localctx, 1); { - setState(290); + setState(294); _errHandler.sync(this); switch (_input.LA(1)) { case T__3: @@ -1962,11 +2014,11 @@ public class KickCParser extends Parser { _ctx = _localctx; _prevctx = _localctx; - setState(283); + setState(287); match(T__3); - setState(284); + setState(288); typeDecl(0); - setState(285); + setState(289); match(T__4); } break; @@ -1975,18 +2027,18 @@ public class KickCParser extends Parser { _localctx = new TypeSimpleContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(287); + setState(291); match(SIMPLETYPE); } break; - case T__24: + case T__26: { _localctx = new TypeSignedSimpleContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(288); - match(T__24); - setState(289); + setState(292); + match(T__26); + setState(293); match(SIMPLETYPE); } break; @@ -1994,7 +2046,7 @@ public class KickCParser extends Parser { throw new NoViableAltException(this); } _ctx.stop = _input.LT(-1); - setState(305); + setState(309); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,33,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { @@ -2002,57 +2054,57 @@ public class KickCParser extends Parser { if ( _parseListeners!=null ) triggerExitRuleEvent(); _prevctx = _localctx; { - setState(303); + setState(307); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,32,_ctx) ) { case 1: { _localctx = new TypePtrContext(new TypeDeclContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_typeDecl); - setState(292); + setState(296); if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)"); - setState(293); - match(T__25); + setState(297); + match(T__27); } break; case 2: { _localctx = new TypeArrayContext(new TypeDeclContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_typeDecl); - setState(294); + setState(298); if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)"); - setState(295); - match(T__26); - setState(297); + setState(299); + match(T__28); + setState(301); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__5) | (1L << T__25) | (1L << T__28) | (1L << T__29) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__39) | (1L << T__40))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (STRING - 73)) | (1L << (CHAR - 73)) | (1L << (BOOLEAN - 73)) | (1L << (NUMBER - 73)) | (1L << (NAME - 73)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__5) | (1L << T__27) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__41) | (1L << T__42))) != 0) || ((((_la - 75)) & ~0x3f) == 0 && ((1L << (_la - 75)) & ((1L << (STRING - 75)) | (1L << (CHAR - 75)) | (1L << (BOOLEAN - 75)) | (1L << (NUMBER - 75)) | (1L << (NAME - 75)))) != 0)) { { - setState(296); + setState(300); expr(0); } } - setState(299); - match(T__27); + setState(303); + match(T__29); } break; case 3: { _localctx = new TypeProcedureContext(new TypeDeclContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_typeDecl); - setState(300); + setState(304); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(301); + setState(305); match(T__3); - setState(302); + setState(306); match(T__4); } break; } } } - setState(307); + setState(311); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,33,_ctx); } @@ -2429,7 +2481,7 @@ public class KickCParser extends Parser { int _alt; enterOuterAlt(_localctx, 1); { - setState(348); + setState(352); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,36,_ctx) ) { case 1: @@ -2438,11 +2490,11 @@ public class KickCParser extends Parser { _ctx = _localctx; _prevctx = _localctx; - setState(309); + setState(313); match(T__3); - setState(310); + setState(314); expr(0); - setState(311); + setState(315); match(T__4); } break; @@ -2451,21 +2503,21 @@ public class KickCParser extends Parser { _localctx = new ExprCallContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(313); + setState(317); match(NAME); - setState(314); + setState(318); match(T__3); - setState(316); + setState(320); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__5) | (1L << T__25) | (1L << T__28) | (1L << T__29) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__39) | (1L << T__40))) != 0) || ((((_la - 73)) & ~0x3f) == 0 && ((1L << (_la - 73)) & ((1L << (STRING - 73)) | (1L << (CHAR - 73)) | (1L << (BOOLEAN - 73)) | (1L << (NUMBER - 73)) | (1L << (NAME - 73)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__3) | (1L << T__5) | (1L << T__27) | (1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36) | (1L << T__41) | (1L << T__42))) != 0) || ((((_la - 75)) & ~0x3f) == 0 && ((1L << (_la - 75)) & ((1L << (STRING - 75)) | (1L << (CHAR - 75)) | (1L << (BOOLEAN - 75)) | (1L << (NUMBER - 75)) | (1L << (NAME - 75)))) != 0)) { { - setState(315); + setState(319); parameterList(); } } - setState(318); + setState(322); match(T__4); } break; @@ -2474,13 +2526,13 @@ public class KickCParser extends Parser { _localctx = new ExprCastContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(319); + setState(323); match(T__3); - setState(320); + setState(324); typeDecl(0); - setState(321); + setState(325); match(T__4); - setState(322); + setState(326); expr(23); } break; @@ -2489,39 +2541,9 @@ public class KickCParser extends Parser { _localctx = new ExprPreModContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(324); - _la = _input.LA(1); - if ( !(_la==T__28 || _la==T__29) ) { - _errHandler.recoverInline(this); - } - else { - if ( _input.LA(1)==Token.EOF ) matchedEOF = true; - _errHandler.reportMatch(this); - consume(); - } - setState(325); - expr(22); - } - break; - case 5: - { - _localctx = new ExprPtrContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; - setState(326); - match(T__25); - setState(327); - expr(20); - } - break; - case 6: - { - _localctx = new ExprUnaryContext(_localctx); - _ctx = _localctx; - _prevctx = _localctx; setState(328); _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__30) | (1L << T__31) | (1L << T__32) | (1L << T__33) | (1L << T__34))) != 0)) ) { + if ( !(_la==T__30 || _la==T__31) ) { _errHandler.recoverInline(this); } else { @@ -2530,6 +2552,36 @@ public class KickCParser extends Parser { consume(); } setState(329); + expr(22); + } + break; + case 5: + { + _localctx = new ExprPtrContext(_localctx); + _ctx = _localctx; + _prevctx = _localctx; + setState(330); + match(T__27); + setState(331); + expr(20); + } + break; + case 6: + { + _localctx = new ExprUnaryContext(_localctx); + _ctx = _localctx; + _prevctx = _localctx; + setState(332); + _la = _input.LA(1); + if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__32) | (1L << T__33) | (1L << T__34) | (1L << T__35) | (1L << T__36))) != 0)) ) { + _errHandler.recoverInline(this); + } + else { + if ( _input.LA(1)==Token.EOF ) matchedEOF = true; + _errHandler.reportMatch(this); + consume(); + } + setState(333); expr(19); } break; @@ -2538,9 +2590,9 @@ public class KickCParser extends Parser { _localctx = new ExprUnaryContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(330); + setState(334); _la = _input.LA(1); - if ( !(_la==T__39 || _la==T__40) ) { + if ( !(_la==T__41 || _la==T__42) ) { _errHandler.recoverInline(this); } else { @@ -2548,7 +2600,7 @@ public class KickCParser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(331); + setState(335); expr(15); } break; @@ -2557,27 +2609,27 @@ public class KickCParser extends Parser { _localctx = new InitListContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(332); + setState(336); match(T__5); - setState(333); + setState(337); expr(0); - setState(338); + setState(342); _errHandler.sync(this); _la = _input.LA(1); while (_la==T__7) { { { - setState(334); + setState(338); match(T__7); - setState(335); + setState(339); expr(0); } } - setState(340); + setState(344); _errHandler.sync(this); _la = _input.LA(1); } - setState(341); + setState(345); match(T__6); } break; @@ -2586,7 +2638,7 @@ public class KickCParser extends Parser { _localctx = new ExprIdContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(343); + setState(347); match(NAME); } break; @@ -2595,7 +2647,7 @@ public class KickCParser extends Parser { _localctx = new ExprNumberContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(344); + setState(348); match(NUMBER); } break; @@ -2604,7 +2656,7 @@ public class KickCParser extends Parser { _localctx = new ExprStringContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(345); + setState(349); match(STRING); } break; @@ -2613,7 +2665,7 @@ public class KickCParser extends Parser { _localctx = new ExprCharContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(346); + setState(350); match(CHAR); } break; @@ -2622,13 +2674,13 @@ public class KickCParser extends Parser { _localctx = new ExprBoolContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(347); + setState(351); match(BOOLEAN); } break; } _ctx.stop = _input.LT(-1); - setState(392); + setState(396); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,38,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { @@ -2636,18 +2688,18 @@ public class KickCParser extends Parser { if ( _parseListeners!=null ) triggerExitRuleEvent(); _prevctx = _localctx; { - setState(390); + setState(394); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,37,_ctx) ) { case 1: { _localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(350); + setState(354); if (!(precpred(_ctx, 18))) throw new FailedPredicateException(this, "precpred(_ctx, 18)"); - setState(351); + setState(355); _la = _input.LA(1); - if ( !(_la==T__35 || _la==T__36) ) { + if ( !(_la==T__37 || _la==T__38) ) { _errHandler.recoverInline(this); } else { @@ -2655,7 +2707,7 @@ public class KickCParser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(352); + setState(356); expr(19); } break; @@ -2663,11 +2715,11 @@ public class KickCParser extends Parser { { _localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(353); + setState(357); if (!(precpred(_ctx, 17))) throw new FailedPredicateException(this, "precpred(_ctx, 17)"); - setState(354); + setState(358); _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__25) | (1L << T__37) | (1L << T__38))) != 0)) ) { + if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__27) | (1L << T__39) | (1L << T__40))) != 0)) ) { _errHandler.recoverInline(this); } else { @@ -2675,7 +2727,7 @@ public class KickCParser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(355); + setState(359); expr(18); } break; @@ -2683,11 +2735,11 @@ public class KickCParser extends Parser { { _localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(356); + setState(360); if (!(precpred(_ctx, 16))) throw new FailedPredicateException(this, "precpred(_ctx, 16)"); - setState(357); + setState(361); _la = _input.LA(1); - if ( !(_la==T__30 || _la==T__31) ) { + if ( !(_la==T__32 || _la==T__33) ) { _errHandler.recoverInline(this); } else { @@ -2695,7 +2747,7 @@ public class KickCParser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(358); + setState(362); expr(17); } break; @@ -2703,11 +2755,11 @@ public class KickCParser extends Parser { { _localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(359); + setState(363); if (!(precpred(_ctx, 14))) throw new FailedPredicateException(this, "precpred(_ctx, 14)"); - setState(360); + setState(364); _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__39) | (1L << T__40) | (1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44))) != 0)) ) { + if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__41) | (1L << T__42) | (1L << T__43) | (1L << T__44) | (1L << T__45) | (1L << T__46))) != 0)) ) { _errHandler.recoverInline(this); } else { @@ -2715,7 +2767,7 @@ public class KickCParser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(361); + setState(365); expr(15); } break; @@ -2723,13 +2775,13 @@ public class KickCParser extends Parser { { _localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(362); + setState(366); if (!(precpred(_ctx, 13))) throw new FailedPredicateException(this, "precpred(_ctx, 13)"); { - setState(363); - match(T__33); + setState(367); + match(T__35); } - setState(364); + setState(368); expr(14); } break; @@ -2737,13 +2789,13 @@ public class KickCParser extends Parser { { _localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(365); + setState(369); if (!(precpred(_ctx, 12))) throw new FailedPredicateException(this, "precpred(_ctx, 12)"); { - setState(366); - match(T__45); + setState(370); + match(T__47); } - setState(367); + setState(371); expr(13); } break; @@ -2751,13 +2803,13 @@ public class KickCParser extends Parser { { _localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(368); + setState(372); if (!(precpred(_ctx, 11))) throw new FailedPredicateException(this, "precpred(_ctx, 11)"); { - setState(369); - match(T__46); + setState(373); + match(T__48); } - setState(370); + setState(374); expr(12); } break; @@ -2765,13 +2817,13 @@ public class KickCParser extends Parser { { _localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(371); + setState(375); if (!(precpred(_ctx, 10))) throw new FailedPredicateException(this, "precpred(_ctx, 10)"); { - setState(372); - match(T__47); + setState(376); + match(T__49); } - setState(373); + setState(377); expr(11); } break; @@ -2779,13 +2831,13 @@ public class KickCParser extends Parser { { _localctx = new ExprBinaryContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(374); + setState(378); if (!(precpred(_ctx, 9))) throw new FailedPredicateException(this, "precpred(_ctx, 9)"); { - setState(375); - match(T__48); + setState(379); + match(T__50); } - setState(376); + setState(380); expr(10); } break; @@ -2793,11 +2845,11 @@ public class KickCParser extends Parser { { _localctx = new ExprAssignmentContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(377); + setState(381); if (!(precpred(_ctx, 8))) throw new FailedPredicateException(this, "precpred(_ctx, 8)"); - setState(378); + setState(382); match(T__1); - setState(379); + setState(383); expr(8); } break; @@ -2805,11 +2857,11 @@ public class KickCParser extends Parser { { _localctx = new ExprAssignmentCompoundContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(380); + setState(384); if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)"); - setState(381); + setState(385); _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__49) | (1L << T__50) | (1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__56) | (1L << T__57) | (1L << T__58))) != 0)) ) { + if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__51) | (1L << T__52) | (1L << T__53) | (1L << T__54) | (1L << T__55) | (1L << T__56) | (1L << T__57) | (1L << T__58) | (1L << T__59) | (1L << T__60))) != 0)) ) { _errHandler.recoverInline(this); } else { @@ -2817,7 +2869,7 @@ public class KickCParser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(382); + setState(386); expr(7); } break; @@ -2825,25 +2877,25 @@ public class KickCParser extends Parser { { _localctx = new ExprArrayContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(383); + setState(387); if (!(precpred(_ctx, 24))) throw new FailedPredicateException(this, "precpred(_ctx, 24)"); - setState(384); - match(T__26); - setState(385); + setState(388); + match(T__28); + setState(389); expr(0); - setState(386); - match(T__27); + setState(390); + match(T__29); } break; case 13: { _localctx = new ExprPostModContext(new ExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_expr); - setState(388); + setState(392); if (!(precpred(_ctx, 21))) throw new FailedPredicateException(this, "precpred(_ctx, 21)"); - setState(389); + setState(393); _la = _input.LA(1); - if ( !(_la==T__28 || _la==T__29) ) { + if ( !(_la==T__30 || _la==T__31) ) { _errHandler.recoverInline(this); } else { @@ -2856,7 +2908,7 @@ public class KickCParser extends Parser { } } } - setState(394); + setState(398); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,38,_ctx); } @@ -2906,21 +2958,21 @@ public class KickCParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(395); + setState(399); expr(0); - setState(400); + setState(404); _errHandler.sync(this); _la = _input.LA(1); while (_la==T__7) { { { - setState(396); + setState(400); match(T__7); - setState(397); + setState(401); expr(0); } } - setState(402); + setState(406); _errHandler.sync(this); _la = _input.LA(1); } @@ -2968,19 +3020,19 @@ public class KickCParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(403); - match(T__59); - setState(405); + setState(407); + match(T__61); + setState(409); _errHandler.sync(this); _la = _input.LA(1); if (_la==T__3) { { - setState(404); + setState(408); asmDirectives(); } } - setState(407); + setState(411); match(KICKASM); } } @@ -3028,27 +3080,27 @@ public class KickCParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(409); + setState(413); match(T__3); - setState(410); + setState(414); asmDirective(); - setState(415); + setState(419); _errHandler.sync(this); _la = _input.LA(1); while (_la==T__7) { { { - setState(411); + setState(415); match(T__7); - setState(412); + setState(416); asmDirective(); } } - setState(417); + setState(421); _errHandler.sync(this); _la = _input.LA(1); } - setState(418); + setState(422); match(T__4); } } @@ -3187,33 +3239,13 @@ public class KickCParser extends Parser { AsmDirectiveContext _localctx = new AsmDirectiveContext(_ctx, getState()); enterRule(_localctx, 40, RULE_asmDirective); try { - setState(435); + setState(439); _errHandler.sync(this); switch (_input.LA(1)) { - case T__60: + case T__62: _localctx = new AsmDirectiveResourceContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(420); - match(T__60); - setState(421); - match(STRING); - } - break; - case T__61: - _localctx = new AsmDirectiveUsesContext(_localctx); - enterOuterAlt(_localctx, 2); - { - setState(422); - match(T__61); - setState(423); - match(NAME); - } - break; - case T__62: - _localctx = new AsmDirectiveClobberContext(_localctx); - enterOuterAlt(_localctx, 3); - { setState(424); match(T__62); setState(425); @@ -3221,59 +3253,79 @@ public class KickCParser extends Parser { } break; case T__63: - _localctx = new AsmDirectiveBytesContext(_localctx); - enterOuterAlt(_localctx, 4); + _localctx = new AsmDirectiveUsesContext(_localctx); + enterOuterAlt(_localctx, 2); { setState(426); match(T__63); setState(427); - expr(0); + match(NAME); } break; case T__64: - _localctx = new AsmDirectiveCyclesContext(_localctx); - enterOuterAlt(_localctx, 5); + _localctx = new AsmDirectiveClobberContext(_localctx); + enterOuterAlt(_localctx, 3); { setState(428); match(T__64); setState(429); - expr(0); + match(STRING); } break; case T__65: - _localctx = new AsmDirectiveAddressContext(_localctx); - enterOuterAlt(_localctx, 6); + _localctx = new AsmDirectiveBytesContext(_localctx); + enterOuterAlt(_localctx, 4); { setState(430); match(T__65); + setState(431); + expr(0); + } + break; + case T__66: + _localctx = new AsmDirectiveCyclesContext(_localctx); + enterOuterAlt(_localctx, 5); + { + setState(432); + match(T__66); setState(433); + expr(0); + } + break; + case T__67: + _localctx = new AsmDirectiveAddressContext(_localctx); + enterOuterAlt(_localctx, 6); + { + setState(434); + match(T__67); + setState(437); _errHandler.sync(this); switch (_input.LA(1)) { case T__12: { - setState(431); + setState(435); match(T__12); } break; case T__3: case T__5: - case T__25: - case T__28: - case T__29: + case T__27: case T__30: case T__31: case T__32: case T__33: case T__34: - case T__39: - case T__40: + case T__35: + case T__36: + case T__41: + case T__42: case STRING: case CHAR: case BOOLEAN: case NUMBER: case NAME: { - setState(432); + setState(436); expr(0); } break; @@ -3330,17 +3382,17 @@ public class KickCParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(440); + setState(444); _errHandler.sync(this); _la = _input.LA(1); - while (((((_la - 33)) & ~0x3f) == 0 && ((1L << (_la - 33)) & ((1L << (T__32 - 33)) | (1L << (T__66 - 33)) | (1L << (MNEMONIC - 33)) | (1L << (NAME - 33)))) != 0)) { + while (((((_la - 35)) & ~0x3f) == 0 && ((1L << (_la - 35)) & ((1L << (T__34 - 35)) | (1L << (T__68 - 35)) | (1L << (MNEMONIC - 35)) | (1L << (NAME - 35)))) != 0)) { { { - setState(437); + setState(441); asmLine(); } } - setState(442); + setState(446); _errHandler.sync(this); _la = _input.LA(1); } @@ -3390,28 +3442,28 @@ public class KickCParser extends Parser { AsmLineContext _localctx = new AsmLineContext(_ctx, getState()); enterRule(_localctx, 44, RULE_asmLine); try { - setState(446); + setState(450); _errHandler.sync(this); switch (_input.LA(1)) { - case T__32: + case T__34: case NAME: enterOuterAlt(_localctx, 1); { - setState(443); + setState(447); asmLabel(); } break; case MNEMONIC: enterOuterAlt(_localctx, 2); { - setState(444); + setState(448); asmInstruction(); } break; - case T__66: + case T__68: enterOuterAlt(_localctx, 3); { - setState(445); + setState(449); asmBytes(); } break; @@ -3481,37 +3533,37 @@ public class KickCParser extends Parser { enterRule(_localctx, 46, RULE_asmLabel); int _la; try { - setState(455); + setState(459); _errHandler.sync(this); switch (_input.LA(1)) { case NAME: _localctx = new AsmLabelNameContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(448); + setState(452); match(NAME); - setState(449); - match(T__22); + setState(453); + match(T__24); } break; - case T__32: + case T__34: _localctx = new AsmLabelMultiContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(450); - match(T__32); - setState(452); + setState(454); + match(T__34); + setState(456); _errHandler.sync(this); _la = _input.LA(1); if (_la==NAME) { { - setState(451); + setState(455); match(NAME); } } - setState(454); - match(T__22); + setState(458); + match(T__24); } break; default: @@ -3559,14 +3611,14 @@ public class KickCParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(457); + setState(461); match(MNEMONIC); - setState(459); + setState(463); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,48,_ctx) ) { case 1: { - setState(458); + setState(462); asmParamMode(); } break; @@ -3617,23 +3669,23 @@ public class KickCParser extends Parser { try { enterOuterAlt(_localctx, 1); { - setState(461); - match(T__66); - setState(462); + setState(465); + match(T__68); + setState(466); asmExpr(0); - setState(467); + setState(471); _errHandler.sync(this); _la = _input.LA(1); while (_la==T__7) { { { - setState(463); + setState(467); match(T__7); - setState(464); + setState(468); asmExpr(0); } } - setState(469); + setState(473); _errHandler.sync(this); _la = _input.LA(1); } @@ -3783,14 +3835,14 @@ public class KickCParser extends Parser { AsmParamModeContext _localctx = new AsmParamModeContext(_ctx, getState()); enterRule(_localctx, 52, RULE_asmParamMode); try { - setState(493); + setState(497); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,50,_ctx) ) { case 1: _localctx = new AsmModeAbsContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(470); + setState(474); asmExpr(0); } break; @@ -3798,9 +3850,9 @@ public class KickCParser extends Parser { _localctx = new AsmModeImmContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(471); - match(T__67); - setState(472); + setState(475); + match(T__69); + setState(476); asmExpr(0); } break; @@ -3808,11 +3860,11 @@ public class KickCParser extends Parser { _localctx = new AsmModeAbsXYContext(_localctx); enterOuterAlt(_localctx, 3); { - setState(473); + setState(477); asmExpr(0); - setState(474); + setState(478); match(T__7); - setState(475); + setState(479); match(NAME); } break; @@ -3820,15 +3872,15 @@ public class KickCParser extends Parser { _localctx = new AsmModeIndIdxXYContext(_localctx); enterOuterAlt(_localctx, 4); { - setState(477); - match(T__3); - setState(478); - asmExpr(0); - setState(479); - match(T__4); - setState(480); - match(T__7); setState(481); + match(T__3); + setState(482); + asmExpr(0); + setState(483); + match(T__4); + setState(484); + match(T__7); + setState(485); match(NAME); } break; @@ -3836,15 +3888,15 @@ public class KickCParser extends Parser { _localctx = new AsmModeIdxIndXYContext(_localctx); enterOuterAlt(_localctx, 5); { - setState(483); - match(T__3); - setState(484); - asmExpr(0); - setState(485); - match(T__7); - setState(486); - match(NAME); setState(487); + match(T__3); + setState(488); + asmExpr(0); + setState(489); + match(T__7); + setState(490); + match(NAME); + setState(491); match(T__4); } break; @@ -3852,11 +3904,11 @@ public class KickCParser extends Parser { _localctx = new AsmModeIndContext(_localctx); enterOuterAlt(_localctx, 6); { - setState(489); + setState(493); match(T__3); - setState(490); + setState(494); asmExpr(0); - setState(491); + setState(495); match(T__4); } break; @@ -4046,34 +4098,34 @@ public class KickCParser extends Parser { int _alt; enterOuterAlt(_localctx, 1); { - setState(509); + setState(513); _errHandler.sync(this); switch (_input.LA(1)) { - case T__26: + case T__28: { _localctx = new AsmExprParContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(496); - match(T__26); - setState(497); + setState(500); + match(T__28); + setState(501); asmExpr(0); - setState(498); - match(T__27); + setState(502); + match(T__29); } break; - case T__30: - case T__31: - case T__39: - case T__40: + case T__32: + case T__33: + case T__41: + case T__42: { _localctx = new AsmExprUnaryContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(500); + setState(504); _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__30) | (1L << T__31) | (1L << T__39) | (1L << T__40))) != 0)) ) { + if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__32) | (1L << T__33) | (1L << T__41) | (1L << T__42))) != 0)) ) { _errHandler.recoverInline(this); } else { @@ -4081,7 +4133,7 @@ public class KickCParser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(501); + setState(505); asmExpr(8); } break; @@ -4090,7 +4142,7 @@ public class KickCParser extends Parser { _localctx = new AsmExprLabelContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(502); + setState(506); match(NAME); } break; @@ -4099,7 +4151,7 @@ public class KickCParser extends Parser { _localctx = new AsmExprLabelRelContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(503); + setState(507); match(ASMREL); } break; @@ -4108,11 +4160,11 @@ public class KickCParser extends Parser { _localctx = new AsmExprReplaceContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(504); + setState(508); match(T__5); - setState(505); + setState(509); match(NAME); - setState(506); + setState(510); match(T__6); } break; @@ -4121,7 +4173,7 @@ public class KickCParser extends Parser { _localctx = new AsmExprIntContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(507); + setState(511); match(NUMBER); } break; @@ -4130,7 +4182,7 @@ public class KickCParser extends Parser { _localctx = new AsmExprCharContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(508); + setState(512); match(CHAR); } break; @@ -4138,7 +4190,7 @@ public class KickCParser extends Parser { throw new NoViableAltException(this); } _ctx.stop = _input.LT(-1); - setState(525); + setState(529); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,53,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { @@ -4146,20 +4198,20 @@ public class KickCParser extends Parser { if ( _parseListeners!=null ) triggerExitRuleEvent(); _prevctx = _localctx; { - setState(523); + setState(527); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,52,_ctx) ) { case 1: { _localctx = new AsmExprBinaryContext(new AsmExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_asmExpr); - setState(511); + setState(515); if (!(precpred(_ctx, 10))) throw new FailedPredicateException(this, "precpred(_ctx, 10)"); { - setState(512); - match(T__68); + setState(516); + match(T__70); } - setState(513); + setState(517); asmExpr(11); } break; @@ -4167,11 +4219,11 @@ public class KickCParser extends Parser { { _localctx = new AsmExprBinaryContext(new AsmExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_asmExpr); - setState(514); + setState(518); if (!(precpred(_ctx, 9))) throw new FailedPredicateException(this, "precpred(_ctx, 9)"); - setState(515); + setState(519); _la = _input.LA(1); - if ( !(_la==T__35 || _la==T__36) ) { + if ( !(_la==T__37 || _la==T__38) ) { _errHandler.recoverInline(this); } else { @@ -4179,7 +4231,7 @@ public class KickCParser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(516); + setState(520); asmExpr(10); } break; @@ -4187,11 +4239,11 @@ public class KickCParser extends Parser { { _localctx = new AsmExprBinaryContext(new AsmExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_asmExpr); - setState(517); + setState(521); if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)"); - setState(518); + setState(522); _la = _input.LA(1); - if ( !(_la==T__25 || _la==T__37) ) { + if ( !(_la==T__27 || _la==T__39) ) { _errHandler.recoverInline(this); } else { @@ -4199,7 +4251,7 @@ public class KickCParser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(519); + setState(523); asmExpr(8); } break; @@ -4207,11 +4259,11 @@ public class KickCParser extends Parser { { _localctx = new AsmExprBinaryContext(new AsmExprContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_asmExpr); - setState(520); + setState(524); if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)"); - setState(521); + setState(525); _la = _input.LA(1); - if ( !(_la==T__30 || _la==T__31) ) { + if ( !(_la==T__32 || _la==T__33) ) { _errHandler.recoverInline(this); } else { @@ -4219,14 +4271,14 @@ public class KickCParser extends Parser { _errHandler.reportMatch(this); consume(); } - setState(522); + setState(526); asmExpr(7); } break; } } } - setState(527); + setState(531); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,53,_ctx); } @@ -4311,7 +4363,7 @@ public class KickCParser extends Parser { } public static final String _serializedATN = - "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3[\u0213\4\2\t\2\4"+ + "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3]\u0217\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"+ @@ -4329,197 +4381,198 @@ public class KickCParser extends Parser { "\13\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\7\16\u00d1\n\16\f\16\16\16\u00d4"+ "\13\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\7\16\u00df\n\16\f"+ "\16\16\16\u00e2\13\16\3\16\3\16\3\16\5\16\u00e7\n\16\3\16\3\16\3\16\3"+ - "\16\3\16\3\16\5\16\u00ef\n\16\3\16\3\16\3\16\5\16\u00f4\n\16\3\16\3\16"+ - "\3\16\3\16\3\16\5\16\u00fb\n\16\3\17\7\17\u00fe\n\17\f\17\16\17\u0101"+ - "\13\17\3\17\5\17\u0104\n\17\3\17\7\17\u0107\n\17\f\17\16\17\u010a\13\17"+ - "\3\17\3\17\3\17\5\17\u010f\n\17\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20"+ - "\3\20\3\20\5\20\u011b\n\20\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\5\21"+ - "\u0125\n\21\3\21\3\21\3\21\3\21\3\21\5\21\u012c\n\21\3\21\3\21\3\21\3"+ - "\21\7\21\u0132\n\21\f\21\16\21\u0135\13\21\3\22\3\22\3\22\3\22\3\22\3"+ - "\22\3\22\3\22\5\22\u013f\n\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22"+ - "\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\7\22\u0153\n\22\f\22"+ - "\16\22\u0156\13\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\5\22\u015f\n\22"+ + "\16\3\16\3\16\5\16\u00ef\n\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\5\16"+ + "\u00f8\n\16\3\16\3\16\3\16\3\16\3\16\5\16\u00ff\n\16\3\17\7\17\u0102\n"+ + "\17\f\17\16\17\u0105\13\17\3\17\5\17\u0108\n\17\3\17\7\17\u010b\n\17\f"+ + "\17\16\17\u010e\13\17\3\17\3\17\3\17\5\17\u0113\n\17\3\20\3\20\3\20\3"+ + "\20\3\20\3\20\3\20\3\20\3\20\3\20\5\20\u011f\n\20\3\21\3\21\3\21\3\21"+ + "\3\21\3\21\3\21\3\21\5\21\u0129\n\21\3\21\3\21\3\21\3\21\3\21\5\21\u0130"+ + "\n\21\3\21\3\21\3\21\3\21\7\21\u0136\n\21\f\21\16\21\u0139\13\21\3\22"+ + "\3\22\3\22\3\22\3\22\3\22\3\22\3\22\5\22\u0143\n\22\3\22\3\22\3\22\3\22"+ + "\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22"+ + "\7\22\u0157\n\22\f\22\16\22\u015a\13\22\3\22\3\22\3\22\3\22\3\22\3\22"+ + "\3\22\5\22\u0163\n\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22"+ "\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22"+ "\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22"+ - "\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\7\22\u0189"+ - "\n\22\f\22\16\22\u018c\13\22\3\23\3\23\3\23\7\23\u0191\n\23\f\23\16\23"+ - "\u0194\13\23\3\24\3\24\5\24\u0198\n\24\3\24\3\24\3\25\3\25\3\25\3\25\7"+ - "\25\u01a0\n\25\f\25\16\25\u01a3\13\25\3\25\3\25\3\26\3\26\3\26\3\26\3"+ - "\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\5\26\u01b4\n\26\5\26\u01b6"+ - "\n\26\3\27\7\27\u01b9\n\27\f\27\16\27\u01bc\13\27\3\30\3\30\3\30\5\30"+ - "\u01c1\n\30\3\31\3\31\3\31\3\31\5\31\u01c7\n\31\3\31\5\31\u01ca\n\31\3"+ - "\32\3\32\5\32\u01ce\n\32\3\33\3\33\3\33\3\33\7\33\u01d4\n\33\f\33\16\33"+ - "\u01d7\13\33\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+ - "\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\5\34\u01f0"+ - "\n\34\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35"+ - "\3\35\5\35\u0200\n\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35"+ - "\3\35\3\35\7\35\u020e\n\35\f\35\16\35\u0211\13\35\3\35\2\5 \"8\36\2\4"+ - "\6\b\n\f\16\20\22\24\26\30\32\34\36 \"$&(*,.\60\62\64\668\2\f\3\2\37 "+ - "\3\2!%\3\2*+\3\2&\'\4\2\34\34()\3\2!\"\3\2*/\3\2\64=\4\2!\"*+\4\2\34\34"+ - "((\2\u0262\2:\3\2\2\2\4>\3\2\2\2\6D\3\2\2\2\bG\3\2\2\2\nK\3\2\2\2\fR\3"+ - "\2\2\2\16W\3\2\2\2\20k\3\2\2\2\22\u0081\3\2\2\2\24\u008c\3\2\2\2\26\u00aa"+ - "\3\2\2\2\30\u00ad\3\2\2\2\32\u00fa\3\2\2\2\34\u00ff\3\2\2\2\36\u011a\3"+ - "\2\2\2 \u0124\3\2\2\2\"\u015e\3\2\2\2$\u018d\3\2\2\2&\u0195\3\2\2\2(\u019b"+ - "\3\2\2\2*\u01b5\3\2\2\2,\u01ba\3\2\2\2.\u01c0\3\2\2\2\60\u01c9\3\2\2\2"+ - "\62\u01cb\3\2\2\2\64\u01cf\3\2\2\2\66\u01ef\3\2\2\28\u01ff\3\2\2\2:;\5"+ - "\6\4\2;<\5\n\6\2<=\7\2\2\3=\3\3\2\2\2>?\5,\27\2?@\7\2\2\3@\5\3\2\2\2A"+ - "C\5\b\5\2BA\3\2\2\2CF\3\2\2\2DB\3\2\2\2DE\3\2\2\2E\7\3\2\2\2FD\3\2\2\2"+ - "GH\7\3\2\2HI\7K\2\2I\t\3\2\2\2JL\5\f\7\2KJ\3\2\2\2LM\3\2\2\2MK\3\2\2\2"+ - "MN\3\2\2\2N\13\3\2\2\2OS\5\16\b\2PS\5\20\t\2QS\5&\24\2RO\3\2\2\2RP\3\2"+ - "\2\2RQ\3\2\2\2S\r\3\2\2\2TV\5\26\f\2UT\3\2\2\2VY\3\2\2\2WU\3\2\2\2WX\3"+ - "\2\2\2XZ\3\2\2\2YW\3\2\2\2Z^\5 \21\2[]\5\26\f\2\\[\3\2\2\2]`\3\2\2\2^"+ - "\\\3\2\2\2^_\3\2\2\2_a\3\2\2\2`^\3\2\2\2ad\7W\2\2bc\7\4\2\2ce\5\"\22\2"+ - "db\3\2\2\2de\3\2\2\2ef\3\2\2\2fg\7\5\2\2g\17\3\2\2\2hj\5\26\f\2ih\3\2"+ - "\2\2jm\3\2\2\2ki\3\2\2\2kl\3\2\2\2ln\3\2\2\2mk\3\2\2\2nr\5 \21\2oq\5\26"+ - "\f\2po\3\2\2\2qt\3\2\2\2rp\3\2\2\2rs\3\2\2\2su\3\2\2\2tr\3\2\2\2uv\7W"+ - "\2\2vx\7\6\2\2wy\5\22\n\2xw\3\2\2\2xy\3\2\2\2yz\3\2\2\2z{\7\7\2\2{}\7"+ - "\b\2\2|~\5\30\r\2}|\3\2\2\2}~\3\2\2\2~\177\3\2\2\2\177\u0080\7\t\2\2\u0080"+ - "\21\3\2\2\2\u0081\u0086\5\24\13\2\u0082\u0083\7\n\2\2\u0083\u0085\5\24"+ - "\13\2\u0084\u0082\3\2\2\2\u0085\u0088\3\2\2\2\u0086\u0084\3\2\2\2\u0086"+ - "\u0087\3\2\2\2\u0087\23\3\2\2\2\u0088\u0086\3\2\2\2\u0089\u008b\5\26\f"+ - "\2\u008a\u0089\3\2\2\2\u008b\u008e\3\2\2\2\u008c\u008a\3\2\2\2\u008c\u008d"+ - "\3\2\2\2\u008d\u008f\3\2\2\2\u008e\u008c\3\2\2\2\u008f\u0093\5 \21\2\u0090"+ - "\u0092\5\26\f\2\u0091\u0090\3\2\2\2\u0092\u0095\3\2\2\2\u0093\u0091\3"+ - "\2\2\2\u0093\u0094\3\2\2\2\u0094\u0096\3\2\2\2\u0095\u0093\3\2\2\2\u0096"+ - "\u0097\7W\2\2\u0097\25\3\2\2\2\u0098\u00ab\7\13\2\2\u0099\u00ab\7\f\2"+ - "\2\u009a\u009b\7\r\2\2\u009b\u009c\7\6\2\2\u009c\u009d\7N\2\2\u009d\u00ab"+ - "\7\7\2\2\u009e\u009f\7\16\2\2\u009f\u00a0\7\6\2\2\u00a0\u00a1\7W\2\2\u00a1"+ - "\u00ab\7\7\2\2\u00a2\u00ab\7\17\2\2\u00a3\u00ab\7\20\2\2\u00a4\u00a8\7"+ - "\21\2\2\u00a5\u00a6\7\6\2\2\u00a6\u00a7\7W\2\2\u00a7\u00a9\7\7\2\2\u00a8"+ - "\u00a5\3\2\2\2\u00a8\u00a9\3\2\2\2\u00a9\u00ab\3\2\2\2\u00aa\u0098\3\2"+ - "\2\2\u00aa\u0099\3\2\2\2\u00aa\u009a\3\2\2\2\u00aa\u009e\3\2\2\2\u00aa"+ - "\u00a2\3\2\2\2\u00aa\u00a3\3\2\2\2\u00aa\u00a4\3\2\2\2\u00ab\27\3\2\2"+ - "\2\u00ac\u00ae\5\32\16\2\u00ad\u00ac\3\2\2\2\u00ae\u00af\3\2\2\2\u00af"+ - "\u00ad\3\2\2\2\u00af\u00b0\3\2\2\2\u00b0\31\3\2\2\2\u00b1\u00fb\5\16\b"+ - "\2\u00b2\u00b4\7\b\2\2\u00b3\u00b5\5\30\r\2\u00b4\u00b3\3\2\2\2\u00b4"+ - "\u00b5\3\2\2\2\u00b5\u00b6\3\2\2\2\u00b6\u00fb\7\t\2\2\u00b7\u00b8\5\""+ - "\22\2\u00b8\u00b9\7\5\2\2\u00b9\u00fb\3\2\2\2\u00ba\u00bb\7\22\2\2\u00bb"+ - "\u00bc\7\6\2\2\u00bc\u00bd\5\"\22\2\u00bd\u00be\7\7\2\2\u00be\u00c1\5"+ - "\32\16\2\u00bf\u00c0\7\23\2\2\u00c0\u00c2\5\32\16\2\u00c1\u00bf\3\2\2"+ - "\2\u00c1\u00c2\3\2\2\2\u00c2\u00fb\3\2\2\2\u00c3\u00c5\5\26\f\2\u00c4"+ - "\u00c3\3\2\2\2\u00c5\u00c8\3\2\2\2\u00c6\u00c4\3\2\2\2\u00c6\u00c7\3\2"+ - "\2\2\u00c7\u00c9\3\2\2\2\u00c8\u00c6\3\2\2\2\u00c9\u00ca\7\24\2\2\u00ca"+ - "\u00cb\7\6\2\2\u00cb\u00cc\5\"\22\2\u00cc\u00cd\7\7\2\2\u00cd\u00ce\5"+ - "\32\16\2\u00ce\u00fb\3\2\2\2\u00cf\u00d1\5\26\f\2\u00d0\u00cf\3\2\2\2"+ - "\u00d1\u00d4\3\2\2\2\u00d2\u00d0\3\2\2\2\u00d2\u00d3\3\2\2\2\u00d3\u00d5"+ - "\3\2\2\2\u00d4\u00d2\3\2\2\2\u00d5\u00d6\7\25\2\2\u00d6\u00d7\5\32\16"+ - "\2\u00d7\u00d8\7\24\2\2\u00d8\u00d9\7\6\2\2\u00d9\u00da\5\"\22\2\u00da"+ - "\u00db\7\7\2\2\u00db\u00dc\7\5\2\2\u00dc\u00fb\3\2\2\2\u00dd\u00df\5\26"+ - "\f\2\u00de\u00dd\3\2\2\2\u00df\u00e2\3\2\2\2\u00e0\u00de\3\2\2\2\u00e0"+ - "\u00e1\3\2\2\2\u00e1\u00e3\3\2\2\2\u00e2\u00e0\3\2\2\2\u00e3\u00e4\7\26"+ - "\2\2\u00e4\u00e6\7\6\2\2\u00e5\u00e7\5\34\17\2\u00e6\u00e5\3\2\2\2\u00e6"+ - "\u00e7\3\2\2\2\u00e7\u00e8\3\2\2\2\u00e8\u00e9\5\36\20\2\u00e9\u00ea\7"+ - "\7\2\2\u00ea\u00eb\5\32\16\2\u00eb\u00fb\3\2\2\2\u00ec\u00ee\7\27\2\2"+ - "\u00ed\u00ef\5\"\22\2\u00ee\u00ed\3\2\2\2\u00ee\u00ef\3\2\2\2\u00ef\u00f0"+ - "\3\2\2\2\u00f0\u00fb\7\5\2\2\u00f1\u00f3\7\30\2\2\u00f2\u00f4\5(\25\2"+ - "\u00f3\u00f2\3\2\2\2\u00f3\u00f4\3\2\2\2\u00f4\u00f5\3\2\2\2\u00f5\u00f6"+ - "\7\b\2\2\u00f6\u00f7\5,\27\2\u00f7\u00f8\7\t\2\2\u00f8\u00fb\3\2\2\2\u00f9"+ - "\u00fb\5&\24\2\u00fa\u00b1\3\2\2\2\u00fa\u00b2\3\2\2\2\u00fa\u00b7\3\2"+ - "\2\2\u00fa\u00ba\3\2\2\2\u00fa\u00c6\3\2\2\2\u00fa\u00d2\3\2\2\2\u00fa"+ - "\u00e0\3\2\2\2\u00fa\u00ec\3\2\2\2\u00fa\u00f1\3\2\2\2\u00fa\u00f9\3\2"+ - "\2\2\u00fb\33\3\2\2\2\u00fc\u00fe\5\26\f\2\u00fd\u00fc\3\2\2\2\u00fe\u0101"+ - "\3\2\2\2\u00ff\u00fd\3\2\2\2\u00ff\u0100\3\2\2\2\u0100\u0103\3\2\2\2\u0101"+ - "\u00ff\3\2\2\2\u0102\u0104\5 \21\2\u0103\u0102\3\2\2\2\u0103\u0104\3\2"+ - "\2\2\u0104\u0108\3\2\2\2\u0105\u0107\5\26\f\2\u0106\u0105\3\2\2\2\u0107"+ - "\u010a\3\2\2\2\u0108\u0106\3\2\2\2\u0108\u0109\3\2\2\2\u0109\u010b\3\2"+ - "\2\2\u010a\u0108\3\2\2\2\u010b\u010e\7W\2\2\u010c\u010d\7\4\2\2\u010d"+ - "\u010f\5\"\22\2\u010e\u010c\3\2\2\2\u010e\u010f\3\2\2\2\u010f\35\3\2\2"+ - "\2\u0110\u0111\7\5\2\2\u0111\u0112\5\"\22\2\u0112\u0113\7\5\2\2\u0113"+ - "\u0114\5\"\22\2\u0114\u011b\3\2\2\2\u0115\u0116\7\31\2\2\u0116\u0117\5"+ - "\"\22\2\u0117\u0118\7\32\2\2\u0118\u0119\5\"\22\2\u0119\u011b\3\2\2\2"+ - "\u011a\u0110\3\2\2\2\u011a\u0115\3\2\2\2\u011b\37\3\2\2\2\u011c\u011d"+ - "\b\21\1\2\u011d\u011e\7\6\2\2\u011e\u011f\5 \21\2\u011f\u0120\7\7\2\2"+ - "\u0120\u0125\3\2\2\2\u0121\u0125\7J\2\2\u0122\u0123\7\33\2\2\u0123\u0125"+ - "\7J\2\2\u0124\u011c\3\2\2\2\u0124\u0121\3\2\2\2\u0124\u0122\3\2\2\2\u0125"+ - "\u0133\3\2\2\2\u0126\u0127\f\5\2\2\u0127\u0132\7\34\2\2\u0128\u0129\f"+ - "\4\2\2\u0129\u012b\7\35\2\2\u012a\u012c\5\"\22\2\u012b\u012a\3\2\2\2\u012b"+ - "\u012c\3\2\2\2\u012c\u012d\3\2\2\2\u012d\u0132\7\36\2\2\u012e\u012f\f"+ - "\3\2\2\u012f\u0130\7\6\2\2\u0130\u0132\7\7\2\2\u0131\u0126\3\2\2\2\u0131"+ - "\u0128\3\2\2\2\u0131\u012e\3\2\2\2\u0132\u0135\3\2\2\2\u0133\u0131\3\2"+ - "\2\2\u0133\u0134\3\2\2\2\u0134!\3\2\2\2\u0135\u0133\3\2\2\2\u0136\u0137"+ - "\b\22\1\2\u0137\u0138\7\6\2\2\u0138\u0139\5\"\22\2\u0139\u013a\7\7\2\2"+ - "\u013a\u015f\3\2\2\2\u013b\u013c\7W\2\2\u013c\u013e\7\6\2\2\u013d\u013f"+ - "\5$\23\2\u013e\u013d\3\2\2\2\u013e\u013f\3\2\2\2\u013f\u0140\3\2\2\2\u0140"+ - "\u015f\7\7\2\2\u0141\u0142\7\6\2\2\u0142\u0143\5 \21\2\u0143\u0144\7\7"+ - "\2\2\u0144\u0145\5\"\22\31\u0145\u015f\3\2\2\2\u0146\u0147\t\2\2\2\u0147"+ - "\u015f\5\"\22\30\u0148\u0149\7\34\2\2\u0149\u015f\5\"\22\26\u014a\u014b"+ - "\t\3\2\2\u014b\u015f\5\"\22\25\u014c\u014d\t\4\2\2\u014d\u015f\5\"\22"+ - "\21\u014e\u014f\7\b\2\2\u014f\u0154\5\"\22\2\u0150\u0151\7\n\2\2\u0151"+ - "\u0153\5\"\22\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\t\2\2\u0158\u015f\3\2\2\2\u0159\u015f\7W\2\2\u015a\u015f\7N\2"+ - "\2\u015b\u015f\7K\2\2\u015c\u015f\7L\2\2\u015d\u015f\7M\2\2\u015e\u0136"+ - "\3\2\2\2\u015e\u013b\3\2\2\2\u015e\u0141\3\2\2\2\u015e\u0146\3\2\2\2\u015e"+ - "\u0148\3\2\2\2\u015e\u014a\3\2\2\2\u015e\u014c\3\2\2\2\u015e\u014e\3\2"+ - "\2\2\u015e\u0159\3\2\2\2\u015e\u015a\3\2\2\2\u015e\u015b\3\2\2\2\u015e"+ - "\u015c\3\2\2\2\u015e\u015d\3\2\2\2\u015f\u018a\3\2\2\2\u0160\u0161\f\24"+ - "\2\2\u0161\u0162\t\5\2\2\u0162\u0189\5\"\22\25\u0163\u0164\f\23\2\2\u0164"+ - "\u0165\t\6\2\2\u0165\u0189\5\"\22\24\u0166\u0167\f\22\2\2\u0167\u0168"+ - "\t\7\2\2\u0168\u0189\5\"\22\23\u0169\u016a\f\20\2\2\u016a\u016b\t\b\2"+ - "\2\u016b\u0189\5\"\22\21\u016c\u016d\f\17\2\2\u016d\u016e\7$\2\2\u016e"+ - "\u0189\5\"\22\20\u016f\u0170\f\16\2\2\u0170\u0171\7\60\2\2\u0171\u0189"+ - "\5\"\22\17\u0172\u0173\f\r\2\2\u0173\u0174\7\61\2\2\u0174\u0189\5\"\22"+ - "\16\u0175\u0176\f\f\2\2\u0176\u0177\7\62\2\2\u0177\u0189\5\"\22\r\u0178"+ - "\u0179\f\13\2\2\u0179\u017a\7\63\2\2\u017a\u0189\5\"\22\f\u017b\u017c"+ - "\f\n\2\2\u017c\u017d\7\4\2\2\u017d\u0189\5\"\22\n\u017e\u017f\f\t\2\2"+ - "\u017f\u0180\t\t\2\2\u0180\u0189\5\"\22\t\u0181\u0182\f\32\2\2\u0182\u0183"+ - "\7\35\2\2\u0183\u0184\5\"\22\2\u0184\u0185\7\36\2\2\u0185\u0189\3\2\2"+ - "\2\u0186\u0187\f\27\2\2\u0187\u0189\t\2\2\2\u0188\u0160\3\2\2\2\u0188"+ - "\u0163\3\2\2\2\u0188\u0166\3\2\2\2\u0188\u0169\3\2\2\2\u0188\u016c\3\2"+ - "\2\2\u0188\u016f\3\2\2\2\u0188\u0172\3\2\2\2\u0188\u0175\3\2\2\2\u0188"+ - "\u0178\3\2\2\2\u0188\u017b\3\2\2\2\u0188\u017e\3\2\2\2\u0188\u0181\3\2"+ - "\2\2\u0188\u0186\3\2\2\2\u0189\u018c\3\2\2\2\u018a\u0188\3\2\2\2\u018a"+ - "\u018b\3\2\2\2\u018b#\3\2\2\2\u018c\u018a\3\2\2\2\u018d\u0192\5\"\22\2"+ - "\u018e\u018f\7\n\2\2\u018f\u0191\5\"\22\2\u0190\u018e\3\2\2\2\u0191\u0194"+ - "\3\2\2\2\u0192\u0190\3\2\2\2\u0192\u0193\3\2\2\2\u0193%\3\2\2\2\u0194"+ - "\u0192\3\2\2\2\u0195\u0197\7>\2\2\u0196\u0198\5(\25\2\u0197\u0196\3\2"+ - "\2\2\u0197\u0198\3\2\2\2\u0198\u0199\3\2\2\2\u0199\u019a\7I\2\2\u019a"+ - "\'\3\2\2\2\u019b\u019c\7\6\2\2\u019c\u01a1\5*\26\2\u019d\u019e\7\n\2\2"+ - "\u019e\u01a0\5*\26\2\u019f\u019d\3\2\2\2\u01a0\u01a3\3\2\2\2\u01a1\u019f"+ - "\3\2\2\2\u01a1\u01a2\3\2\2\2\u01a2\u01a4\3\2\2\2\u01a3\u01a1\3\2\2\2\u01a4"+ - "\u01a5\7\7\2\2\u01a5)\3\2\2\2\u01a6\u01a7\7?\2\2\u01a7\u01b6\7K\2\2\u01a8"+ - "\u01a9\7@\2\2\u01a9\u01b6\7W\2\2\u01aa\u01ab\7A\2\2\u01ab\u01b6\7K\2\2"+ - "\u01ac\u01ad\7B\2\2\u01ad\u01b6\5\"\22\2\u01ae\u01af\7C\2\2\u01af\u01b6"+ - "\5\"\22\2\u01b0\u01b3\7D\2\2\u01b1\u01b4\7\17\2\2\u01b2\u01b4\5\"\22\2"+ - "\u01b3\u01b1\3\2\2\2\u01b3\u01b2\3\2\2\2\u01b4\u01b6\3\2\2\2\u01b5\u01a6"+ - "\3\2\2\2\u01b5\u01a8\3\2\2\2\u01b5\u01aa\3\2\2\2\u01b5\u01ac\3\2\2\2\u01b5"+ - "\u01ae\3\2\2\2\u01b5\u01b0\3\2\2\2\u01b6+\3\2\2\2\u01b7\u01b9\5.\30\2"+ - "\u01b8\u01b7\3\2\2\2\u01b9\u01bc\3\2\2\2\u01ba\u01b8\3\2\2\2\u01ba\u01bb"+ - "\3\2\2\2\u01bb-\3\2\2\2\u01bc\u01ba\3\2\2\2\u01bd\u01c1\5\60\31\2\u01be"+ - "\u01c1\5\62\32\2\u01bf\u01c1\5\64\33\2\u01c0\u01bd\3\2\2\2\u01c0\u01be"+ - "\3\2\2\2\u01c0\u01bf\3\2\2\2\u01c1/\3\2\2\2\u01c2\u01c3\7W\2\2\u01c3\u01ca"+ - "\7\31\2\2\u01c4\u01c6\7#\2\2\u01c5\u01c7\7W\2\2\u01c6\u01c5\3\2\2\2\u01c6"+ - "\u01c7\3\2\2\2\u01c7\u01c8\3\2\2\2\u01c8\u01ca\7\31\2\2\u01c9\u01c2\3"+ - "\2\2\2\u01c9\u01c4\3\2\2\2\u01ca\61\3\2\2\2\u01cb\u01cd\7H\2\2\u01cc\u01ce"+ - "\5\66\34\2\u01cd\u01cc\3\2\2\2\u01cd\u01ce\3\2\2\2\u01ce\63\3\2\2\2\u01cf"+ - "\u01d0\7E\2\2\u01d0\u01d5\58\35\2\u01d1\u01d2\7\n\2\2\u01d2\u01d4\58\35"+ - "\2\u01d3\u01d1\3\2\2\2\u01d4\u01d7\3\2\2\2\u01d5\u01d3\3\2\2\2\u01d5\u01d6"+ - "\3\2\2\2\u01d6\65\3\2\2\2\u01d7\u01d5\3\2\2\2\u01d8\u01f0\58\35\2\u01d9"+ - "\u01da\7F\2\2\u01da\u01f0\58\35\2\u01db\u01dc\58\35\2\u01dc\u01dd\7\n"+ - "\2\2\u01dd\u01de\7W\2\2\u01de\u01f0\3\2\2\2\u01df\u01e0\7\6\2\2\u01e0"+ - "\u01e1\58\35\2\u01e1\u01e2\7\7\2\2\u01e2\u01e3\7\n\2\2\u01e3\u01e4\7W"+ - "\2\2\u01e4\u01f0\3\2\2\2\u01e5\u01e6\7\6\2\2\u01e6\u01e7\58\35\2\u01e7"+ - "\u01e8\7\n\2\2\u01e8\u01e9\7W\2\2\u01e9\u01ea\7\7\2\2\u01ea\u01f0\3\2"+ - "\2\2\u01eb\u01ec\7\6\2\2\u01ec\u01ed\58\35\2\u01ed\u01ee\7\7\2\2\u01ee"+ - "\u01f0\3\2\2\2\u01ef\u01d8\3\2\2\2\u01ef\u01d9\3\2\2\2\u01ef\u01db\3\2"+ - "\2\2\u01ef\u01df\3\2\2\2\u01ef\u01e5\3\2\2\2\u01ef\u01eb\3\2\2\2\u01f0"+ - "\67\3\2\2\2\u01f1\u01f2\b\35\1\2\u01f2\u01f3\7\35\2\2\u01f3\u01f4\58\35"+ - "\2\u01f4\u01f5\7\36\2\2\u01f5\u0200\3\2\2\2\u01f6\u01f7\t\n\2\2\u01f7"+ - "\u0200\58\35\n\u01f8\u0200\7W\2\2\u01f9\u0200\7X\2\2\u01fa\u01fb\7\b\2"+ - "\2\u01fb\u01fc\7W\2\2\u01fc\u0200\7\t\2\2\u01fd\u0200\7N\2\2\u01fe\u0200"+ - "\7L\2\2\u01ff\u01f1\3\2\2\2\u01ff\u01f6\3\2\2\2\u01ff\u01f8\3\2\2\2\u01ff"+ - "\u01f9\3\2\2\2\u01ff\u01fa\3\2\2\2\u01ff\u01fd\3\2\2\2\u01ff\u01fe\3\2"+ - "\2\2\u0200\u020f\3\2\2\2\u0201\u0202\f\f\2\2\u0202\u0203\7G\2\2\u0203"+ - "\u020e\58\35\r\u0204\u0205\f\13\2\2\u0205\u0206\t\5\2\2\u0206\u020e\5"+ - "8\35\f\u0207\u0208\f\t\2\2\u0208\u0209\t\13\2\2\u0209\u020e\58\35\n\u020a"+ - "\u020b\f\b\2\2\u020b\u020c\t\7\2\2\u020c\u020e\58\35\t\u020d\u0201\3\2"+ - "\2\2\u020d\u0204\3\2\2\2\u020d\u0207\3\2\2\2\u020d\u020a\3\2\2\2\u020e"+ - "\u0211\3\2\2\2\u020f\u020d\3\2\2\2\u020f\u0210\3\2\2\2\u02109\3\2\2\2"+ - "\u0211\u020f\3\2\2\28DMRW^dkrx}\u0086\u008c\u0093\u00a8\u00aa\u00af\u00b4"+ - "\u00c1\u00c6\u00d2\u00e0\u00e6\u00ee\u00f3\u00fa\u00ff\u0103\u0108\u010e"+ - "\u011a\u0124\u012b\u0131\u0133\u013e\u0154\u015e\u0188\u018a\u0192\u0197"+ - "\u01a1\u01b3\u01b5\u01ba\u01c0\u01c6\u01c9\u01cd\u01d5\u01ef\u01ff\u020d"+ - "\u020f"; + "\3\22\3\22\7\22\u018d\n\22\f\22\16\22\u0190\13\22\3\23\3\23\3\23\7\23"+ + "\u0195\n\23\f\23\16\23\u0198\13\23\3\24\3\24\5\24\u019c\n\24\3\24\3\24"+ + "\3\25\3\25\3\25\3\25\7\25\u01a4\n\25\f\25\16\25\u01a7\13\25\3\25\3\25"+ + "\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\5\26"+ + "\u01b8\n\26\5\26\u01ba\n\26\3\27\7\27\u01bd\n\27\f\27\16\27\u01c0\13\27"+ + "\3\30\3\30\3\30\5\30\u01c5\n\30\3\31\3\31\3\31\3\31\5\31\u01cb\n\31\3"+ + "\31\5\31\u01ce\n\31\3\32\3\32\5\32\u01d2\n\32\3\33\3\33\3\33\3\33\7\33"+ + "\u01d8\n\33\f\33\16\33\u01db\13\33\3\34\3\34\3\34\3\34\3\34\3\34\3\34"+ + "\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34"+ + "\3\34\3\34\5\34\u01f4\n\34\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35"+ + "\3\35\3\35\3\35\3\35\3\35\5\35\u0204\n\35\3\35\3\35\3\35\3\35\3\35\3\35"+ + "\3\35\3\35\3\35\3\35\3\35\3\35\7\35\u0212\n\35\f\35\16\35\u0215\13\35"+ + "\3\35\2\5 \"8\36\2\4\6\b\n\f\16\20\22\24\26\30\32\34\36 \"$&(*,.\60\62"+ + "\64\668\2\f\3\2!\"\3\2#\'\3\2,-\3\2()\4\2\36\36*+\3\2#$\3\2,\61\3\2\66"+ + "?\4\2#$,-\4\2\36\36**\2\u0268\2:\3\2\2\2\4>\3\2\2\2\6D\3\2\2\2\bG\3\2"+ + "\2\2\nK\3\2\2\2\fR\3\2\2\2\16W\3\2\2\2\20k\3\2\2\2\22\u0081\3\2\2\2\24"+ + "\u008c\3\2\2\2\26\u00aa\3\2\2\2\30\u00ad\3\2\2\2\32\u00fe\3\2\2\2\34\u0103"+ + "\3\2\2\2\36\u011e\3\2\2\2 \u0128\3\2\2\2\"\u0162\3\2\2\2$\u0191\3\2\2"+ + "\2&\u0199\3\2\2\2(\u019f\3\2\2\2*\u01b9\3\2\2\2,\u01be\3\2\2\2.\u01c4"+ + "\3\2\2\2\60\u01cd\3\2\2\2\62\u01cf\3\2\2\2\64\u01d3\3\2\2\2\66\u01f3\3"+ + "\2\2\28\u0203\3\2\2\2:;\5\6\4\2;<\5\n\6\2<=\7\2\2\3=\3\3\2\2\2>?\5,\27"+ + "\2?@\7\2\2\3@\5\3\2\2\2AC\5\b\5\2BA\3\2\2\2CF\3\2\2\2DB\3\2\2\2DE\3\2"+ + "\2\2E\7\3\2\2\2FD\3\2\2\2GH\7\3\2\2HI\7M\2\2I\t\3\2\2\2JL\5\f\7\2KJ\3"+ + "\2\2\2LM\3\2\2\2MK\3\2\2\2MN\3\2\2\2N\13\3\2\2\2OS\5\16\b\2PS\5\20\t\2"+ + "QS\5&\24\2RO\3\2\2\2RP\3\2\2\2RQ\3\2\2\2S\r\3\2\2\2TV\5\26\f\2UT\3\2\2"+ + "\2VY\3\2\2\2WU\3\2\2\2WX\3\2\2\2XZ\3\2\2\2YW\3\2\2\2Z^\5 \21\2[]\5\26"+ + "\f\2\\[\3\2\2\2]`\3\2\2\2^\\\3\2\2\2^_\3\2\2\2_a\3\2\2\2`^\3\2\2\2ad\7"+ + "Y\2\2bc\7\4\2\2ce\5\"\22\2db\3\2\2\2de\3\2\2\2ef\3\2\2\2fg\7\5\2\2g\17"+ + "\3\2\2\2hj\5\26\f\2ih\3\2\2\2jm\3\2\2\2ki\3\2\2\2kl\3\2\2\2ln\3\2\2\2"+ + "mk\3\2\2\2nr\5 \21\2oq\5\26\f\2po\3\2\2\2qt\3\2\2\2rp\3\2\2\2rs\3\2\2"+ + "\2su\3\2\2\2tr\3\2\2\2uv\7Y\2\2vx\7\6\2\2wy\5\22\n\2xw\3\2\2\2xy\3\2\2"+ + "\2yz\3\2\2\2z{\7\7\2\2{}\7\b\2\2|~\5\30\r\2}|\3\2\2\2}~\3\2\2\2~\177\3"+ + "\2\2\2\177\u0080\7\t\2\2\u0080\21\3\2\2\2\u0081\u0086\5\24\13\2\u0082"+ + "\u0083\7\n\2\2\u0083\u0085\5\24\13\2\u0084\u0082\3\2\2\2\u0085\u0088\3"+ + "\2\2\2\u0086\u0084\3\2\2\2\u0086\u0087\3\2\2\2\u0087\23\3\2\2\2\u0088"+ + "\u0086\3\2\2\2\u0089\u008b\5\26\f\2\u008a\u0089\3\2\2\2\u008b\u008e\3"+ + "\2\2\2\u008c\u008a\3\2\2\2\u008c\u008d\3\2\2\2\u008d\u008f\3\2\2\2\u008e"+ + "\u008c\3\2\2\2\u008f\u0093\5 \21\2\u0090\u0092\5\26\f\2\u0091\u0090\3"+ + "\2\2\2\u0092\u0095\3\2\2\2\u0093\u0091\3\2\2\2\u0093\u0094\3\2\2\2\u0094"+ + "\u0096\3\2\2\2\u0095\u0093\3\2\2\2\u0096\u0097\7Y\2\2\u0097\25\3\2\2\2"+ + "\u0098\u00ab\7\13\2\2\u0099\u00ab\7\f\2\2\u009a\u009b\7\r\2\2\u009b\u009c"+ + "\7\6\2\2\u009c\u009d\7P\2\2\u009d\u00ab\7\7\2\2\u009e\u009f\7\16\2\2\u009f"+ + "\u00a0\7\6\2\2\u00a0\u00a1\7Y\2\2\u00a1\u00ab\7\7\2\2\u00a2\u00ab\7\17"+ + "\2\2\u00a3\u00ab\7\20\2\2\u00a4\u00a8\7\21\2\2\u00a5\u00a6\7\6\2\2\u00a6"+ + "\u00a7\7Y\2\2\u00a7\u00a9\7\7\2\2\u00a8\u00a5\3\2\2\2\u00a8\u00a9\3\2"+ + "\2\2\u00a9\u00ab\3\2\2\2\u00aa\u0098\3\2\2\2\u00aa\u0099\3\2\2\2\u00aa"+ + "\u009a\3\2\2\2\u00aa\u009e\3\2\2\2\u00aa\u00a2\3\2\2\2\u00aa\u00a3\3\2"+ + "\2\2\u00aa\u00a4\3\2\2\2\u00ab\27\3\2\2\2\u00ac\u00ae\5\32\16\2\u00ad"+ + "\u00ac\3\2\2\2\u00ae\u00af\3\2\2\2\u00af\u00ad\3\2\2\2\u00af\u00b0\3\2"+ + "\2\2\u00b0\31\3\2\2\2\u00b1\u00ff\5\16\b\2\u00b2\u00b4\7\b\2\2\u00b3\u00b5"+ + "\5\30\r\2\u00b4\u00b3\3\2\2\2\u00b4\u00b5\3\2\2\2\u00b5\u00b6\3\2\2\2"+ + "\u00b6\u00ff\7\t\2\2\u00b7\u00b8\5\"\22\2\u00b8\u00b9\7\5\2\2\u00b9\u00ff"+ + "\3\2\2\2\u00ba\u00bb\7\22\2\2\u00bb\u00bc\7\6\2\2\u00bc\u00bd\5\"\22\2"+ + "\u00bd\u00be\7\7\2\2\u00be\u00c1\5\32\16\2\u00bf\u00c0\7\23\2\2\u00c0"+ + "\u00c2\5\32\16\2\u00c1\u00bf\3\2\2\2\u00c1\u00c2\3\2\2\2\u00c2\u00ff\3"+ + "\2\2\2\u00c3\u00c5\5\26\f\2\u00c4\u00c3\3\2\2\2\u00c5\u00c8\3\2\2\2\u00c6"+ + "\u00c4\3\2\2\2\u00c6\u00c7\3\2\2\2\u00c7\u00c9\3\2\2\2\u00c8\u00c6\3\2"+ + "\2\2\u00c9\u00ca\7\24\2\2\u00ca\u00cb\7\6\2\2\u00cb\u00cc\5\"\22\2\u00cc"+ + "\u00cd\7\7\2\2\u00cd\u00ce\5\32\16\2\u00ce\u00ff\3\2\2\2\u00cf\u00d1\5"+ + "\26\f\2\u00d0\u00cf\3\2\2\2\u00d1\u00d4\3\2\2\2\u00d2\u00d0\3\2\2\2\u00d2"+ + "\u00d3\3\2\2\2\u00d3\u00d5\3\2\2\2\u00d4\u00d2\3\2\2\2\u00d5\u00d6\7\25"+ + "\2\2\u00d6\u00d7\5\32\16\2\u00d7\u00d8\7\24\2\2\u00d8\u00d9\7\6\2\2\u00d9"+ + "\u00da\5\"\22\2\u00da\u00db\7\7\2\2\u00db\u00dc\7\5\2\2\u00dc\u00ff\3"+ + "\2\2\2\u00dd\u00df\5\26\f\2\u00de\u00dd\3\2\2\2\u00df\u00e2\3\2\2\2\u00e0"+ + "\u00de\3\2\2\2\u00e0\u00e1\3\2\2\2\u00e1\u00e3\3\2\2\2\u00e2\u00e0\3\2"+ + "\2\2\u00e3\u00e4\7\26\2\2\u00e4\u00e6\7\6\2\2\u00e5\u00e7\5\34\17\2\u00e6"+ + "\u00e5\3\2\2\2\u00e6\u00e7\3\2\2\2\u00e7\u00e8\3\2\2\2\u00e8\u00e9\5\36"+ + "\20\2\u00e9\u00ea\7\7\2\2\u00ea\u00eb\5\32\16\2\u00eb\u00ff\3\2\2\2\u00ec"+ + "\u00ee\7\27\2\2\u00ed\u00ef\5\"\22\2\u00ee\u00ed\3\2\2\2\u00ee\u00ef\3"+ + "\2\2\2\u00ef\u00f0\3\2\2\2\u00f0\u00ff\7\5\2\2\u00f1\u00f2\7\30\2\2\u00f2"+ + "\u00ff\7\5\2\2\u00f3\u00f4\7\31\2\2\u00f4\u00ff\7\5\2\2\u00f5\u00f7\7"+ + "\32\2\2\u00f6\u00f8\5(\25\2\u00f7\u00f6\3\2\2\2\u00f7\u00f8\3\2\2\2\u00f8"+ + "\u00f9\3\2\2\2\u00f9\u00fa\7\b\2\2\u00fa\u00fb\5,\27\2\u00fb\u00fc\7\t"+ + "\2\2\u00fc\u00ff\3\2\2\2\u00fd\u00ff\5&\24\2\u00fe\u00b1\3\2\2\2\u00fe"+ + "\u00b2\3\2\2\2\u00fe\u00b7\3\2\2\2\u00fe\u00ba\3\2\2\2\u00fe\u00c6\3\2"+ + "\2\2\u00fe\u00d2\3\2\2\2\u00fe\u00e0\3\2\2\2\u00fe\u00ec\3\2\2\2\u00fe"+ + "\u00f1\3\2\2\2\u00fe\u00f3\3\2\2\2\u00fe\u00f5\3\2\2\2\u00fe\u00fd\3\2"+ + "\2\2\u00ff\33\3\2\2\2\u0100\u0102\5\26\f\2\u0101\u0100\3\2\2\2\u0102\u0105"+ + "\3\2\2\2\u0103\u0101\3\2\2\2\u0103\u0104\3\2\2\2\u0104\u0107\3\2\2\2\u0105"+ + "\u0103\3\2\2\2\u0106\u0108\5 \21\2\u0107\u0106\3\2\2\2\u0107\u0108\3\2"+ + "\2\2\u0108\u010c\3\2\2\2\u0109\u010b\5\26\f\2\u010a\u0109\3\2\2\2\u010b"+ + "\u010e\3\2\2\2\u010c\u010a\3\2\2\2\u010c\u010d\3\2\2\2\u010d\u010f\3\2"+ + "\2\2\u010e\u010c\3\2\2\2\u010f\u0112\7Y\2\2\u0110\u0111\7\4\2\2\u0111"+ + "\u0113\5\"\22\2\u0112\u0110\3\2\2\2\u0112\u0113\3\2\2\2\u0113\35\3\2\2"+ + "\2\u0114\u0115\7\5\2\2\u0115\u0116\5\"\22\2\u0116\u0117\7\5\2\2\u0117"+ + "\u0118\5\"\22\2\u0118\u011f\3\2\2\2\u0119\u011a\7\33\2\2\u011a\u011b\5"+ + "\"\22\2\u011b\u011c\7\34\2\2\u011c\u011d\5\"\22\2\u011d\u011f\3\2\2\2"+ + "\u011e\u0114\3\2\2\2\u011e\u0119\3\2\2\2\u011f\37\3\2\2\2\u0120\u0121"+ + "\b\21\1\2\u0121\u0122\7\6\2\2\u0122\u0123\5 \21\2\u0123\u0124\7\7\2\2"+ + "\u0124\u0129\3\2\2\2\u0125\u0129\7L\2\2\u0126\u0127\7\35\2\2\u0127\u0129"+ + "\7L\2\2\u0128\u0120\3\2\2\2\u0128\u0125\3\2\2\2\u0128\u0126\3\2\2\2\u0129"+ + "\u0137\3\2\2\2\u012a\u012b\f\5\2\2\u012b\u0136\7\36\2\2\u012c\u012d\f"+ + "\4\2\2\u012d\u012f\7\37\2\2\u012e\u0130\5\"\22\2\u012f\u012e\3\2\2\2\u012f"+ + "\u0130\3\2\2\2\u0130\u0131\3\2\2\2\u0131\u0136\7 \2\2\u0132\u0133\f\3"+ + "\2\2\u0133\u0134\7\6\2\2\u0134\u0136\7\7\2\2\u0135\u012a\3\2\2\2\u0135"+ + "\u012c\3\2\2\2\u0135\u0132\3\2\2\2\u0136\u0139\3\2\2\2\u0137\u0135\3\2"+ + "\2\2\u0137\u0138\3\2\2\2\u0138!\3\2\2\2\u0139\u0137\3\2\2\2\u013a\u013b"+ + "\b\22\1\2\u013b\u013c\7\6\2\2\u013c\u013d\5\"\22\2\u013d\u013e\7\7\2\2"+ + "\u013e\u0163\3\2\2\2\u013f\u0140\7Y\2\2\u0140\u0142\7\6\2\2\u0141\u0143"+ + "\5$\23\2\u0142\u0141\3\2\2\2\u0142\u0143\3\2\2\2\u0143\u0144\3\2\2\2\u0144"+ + "\u0163\7\7\2\2\u0145\u0146\7\6\2\2\u0146\u0147\5 \21\2\u0147\u0148\7\7"+ + "\2\2\u0148\u0149\5\"\22\31\u0149\u0163\3\2\2\2\u014a\u014b\t\2\2\2\u014b"+ + "\u0163\5\"\22\30\u014c\u014d\7\36\2\2\u014d\u0163\5\"\22\26\u014e\u014f"+ + "\t\3\2\2\u014f\u0163\5\"\22\25\u0150\u0151\t\4\2\2\u0151\u0163\5\"\22"+ + "\21\u0152\u0153\7\b\2\2\u0153\u0158\5\"\22\2\u0154\u0155\7\n\2\2\u0155"+ + "\u0157\5\"\22\2\u0156\u0154\3\2\2\2\u0157\u015a\3\2\2\2\u0158\u0156\3"+ + "\2\2\2\u0158\u0159\3\2\2\2\u0159\u015b\3\2\2\2\u015a\u0158\3\2\2\2\u015b"+ + "\u015c\7\t\2\2\u015c\u0163\3\2\2\2\u015d\u0163\7Y\2\2\u015e\u0163\7P\2"+ + "\2\u015f\u0163\7M\2\2\u0160\u0163\7N\2\2\u0161\u0163\7O\2\2\u0162\u013a"+ + "\3\2\2\2\u0162\u013f\3\2\2\2\u0162\u0145\3\2\2\2\u0162\u014a\3\2\2\2\u0162"+ + "\u014c\3\2\2\2\u0162\u014e\3\2\2\2\u0162\u0150\3\2\2\2\u0162\u0152\3\2"+ + "\2\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\u0163\u018e\3\2\2\2\u0164\u0165\f\24"+ + "\2\2\u0165\u0166\t\5\2\2\u0166\u018d\5\"\22\25\u0167\u0168\f\23\2\2\u0168"+ + "\u0169\t\6\2\2\u0169\u018d\5\"\22\24\u016a\u016b\f\22\2\2\u016b\u016c"+ + "\t\7\2\2\u016c\u018d\5\"\22\23\u016d\u016e\f\20\2\2\u016e\u016f\t\b\2"+ + "\2\u016f\u018d\5\"\22\21\u0170\u0171\f\17\2\2\u0171\u0172\7&\2\2\u0172"+ + "\u018d\5\"\22\20\u0173\u0174\f\16\2\2\u0174\u0175\7\62\2\2\u0175\u018d"+ + "\5\"\22\17\u0176\u0177\f\r\2\2\u0177\u0178\7\63\2\2\u0178\u018d\5\"\22"+ + "\16\u0179\u017a\f\f\2\2\u017a\u017b\7\64\2\2\u017b\u018d\5\"\22\r\u017c"+ + "\u017d\f\13\2\2\u017d\u017e\7\65\2\2\u017e\u018d\5\"\22\f\u017f\u0180"+ + "\f\n\2\2\u0180\u0181\7\4\2\2\u0181\u018d\5\"\22\n\u0182\u0183\f\t\2\2"+ + "\u0183\u0184\t\t\2\2\u0184\u018d\5\"\22\t\u0185\u0186\f\32\2\2\u0186\u0187"+ + "\7\37\2\2\u0187\u0188\5\"\22\2\u0188\u0189\7 \2\2\u0189\u018d\3\2\2\2"+ + "\u018a\u018b\f\27\2\2\u018b\u018d\t\2\2\2\u018c\u0164\3\2\2\2\u018c\u0167"+ + "\3\2\2\2\u018c\u016a\3\2\2\2\u018c\u016d\3\2\2\2\u018c\u0170\3\2\2\2\u018c"+ + "\u0173\3\2\2\2\u018c\u0176\3\2\2\2\u018c\u0179\3\2\2\2\u018c\u017c\3\2"+ + "\2\2\u018c\u017f\3\2\2\2\u018c\u0182\3\2\2\2\u018c\u0185\3\2\2\2\u018c"+ + "\u018a\3\2\2\2\u018d\u0190\3\2\2\2\u018e\u018c\3\2\2\2\u018e\u018f\3\2"+ + "\2\2\u018f#\3\2\2\2\u0190\u018e\3\2\2\2\u0191\u0196\5\"\22\2\u0192\u0193"+ + "\7\n\2\2\u0193\u0195\5\"\22\2\u0194\u0192\3\2\2\2\u0195\u0198\3\2\2\2"+ + "\u0196\u0194\3\2\2\2\u0196\u0197\3\2\2\2\u0197%\3\2\2\2\u0198\u0196\3"+ + "\2\2\2\u0199\u019b\7@\2\2\u019a\u019c\5(\25\2\u019b\u019a\3\2\2\2\u019b"+ + "\u019c\3\2\2\2\u019c\u019d\3\2\2\2\u019d\u019e\7K\2\2\u019e\'\3\2\2\2"+ + "\u019f\u01a0\7\6\2\2\u01a0\u01a5\5*\26\2\u01a1\u01a2\7\n\2\2\u01a2\u01a4"+ + "\5*\26\2\u01a3\u01a1\3\2\2\2\u01a4\u01a7\3\2\2\2\u01a5\u01a3\3\2\2\2\u01a5"+ + "\u01a6\3\2\2\2\u01a6\u01a8\3\2\2\2\u01a7\u01a5\3\2\2\2\u01a8\u01a9\7\7"+ + "\2\2\u01a9)\3\2\2\2\u01aa\u01ab\7A\2\2\u01ab\u01ba\7M\2\2\u01ac\u01ad"+ + "\7B\2\2\u01ad\u01ba\7Y\2\2\u01ae\u01af\7C\2\2\u01af\u01ba\7M\2\2\u01b0"+ + "\u01b1\7D\2\2\u01b1\u01ba\5\"\22\2\u01b2\u01b3\7E\2\2\u01b3\u01ba\5\""+ + "\22\2\u01b4\u01b7\7F\2\2\u01b5\u01b8\7\17\2\2\u01b6\u01b8\5\"\22\2\u01b7"+ + "\u01b5\3\2\2\2\u01b7\u01b6\3\2\2\2\u01b8\u01ba\3\2\2\2\u01b9\u01aa\3\2"+ + "\2\2\u01b9\u01ac\3\2\2\2\u01b9\u01ae\3\2\2\2\u01b9\u01b0\3\2\2\2\u01b9"+ + "\u01b2\3\2\2\2\u01b9\u01b4\3\2\2\2\u01ba+\3\2\2\2\u01bb\u01bd\5.\30\2"+ + "\u01bc\u01bb\3\2\2\2\u01bd\u01c0\3\2\2\2\u01be\u01bc\3\2\2\2\u01be\u01bf"+ + "\3\2\2\2\u01bf-\3\2\2\2\u01c0\u01be\3\2\2\2\u01c1\u01c5\5\60\31\2\u01c2"+ + "\u01c5\5\62\32\2\u01c3\u01c5\5\64\33\2\u01c4\u01c1\3\2\2\2\u01c4\u01c2"+ + "\3\2\2\2\u01c4\u01c3\3\2\2\2\u01c5/\3\2\2\2\u01c6\u01c7\7Y\2\2\u01c7\u01ce"+ + "\7\33\2\2\u01c8\u01ca\7%\2\2\u01c9\u01cb\7Y\2\2\u01ca\u01c9\3\2\2\2\u01ca"+ + "\u01cb\3\2\2\2\u01cb\u01cc\3\2\2\2\u01cc\u01ce\7\33\2\2\u01cd\u01c6\3"+ + "\2\2\2\u01cd\u01c8\3\2\2\2\u01ce\61\3\2\2\2\u01cf\u01d1\7J\2\2\u01d0\u01d2"+ + "\5\66\34\2\u01d1\u01d0\3\2\2\2\u01d1\u01d2\3\2\2\2\u01d2\63\3\2\2\2\u01d3"+ + "\u01d4\7G\2\2\u01d4\u01d9\58\35\2\u01d5\u01d6\7\n\2\2\u01d6\u01d8\58\35"+ + "\2\u01d7\u01d5\3\2\2\2\u01d8\u01db\3\2\2\2\u01d9\u01d7\3\2\2\2\u01d9\u01da"+ + "\3\2\2\2\u01da\65\3\2\2\2\u01db\u01d9\3\2\2\2\u01dc\u01f4\58\35\2\u01dd"+ + "\u01de\7H\2\2\u01de\u01f4\58\35\2\u01df\u01e0\58\35\2\u01e0\u01e1\7\n"+ + "\2\2\u01e1\u01e2\7Y\2\2\u01e2\u01f4\3\2\2\2\u01e3\u01e4\7\6\2\2\u01e4"+ + "\u01e5\58\35\2\u01e5\u01e6\7\7\2\2\u01e6\u01e7\7\n\2\2\u01e7\u01e8\7Y"+ + "\2\2\u01e8\u01f4\3\2\2\2\u01e9\u01ea\7\6\2\2\u01ea\u01eb\58\35\2\u01eb"+ + "\u01ec\7\n\2\2\u01ec\u01ed\7Y\2\2\u01ed\u01ee\7\7\2\2\u01ee\u01f4\3\2"+ + "\2\2\u01ef\u01f0\7\6\2\2\u01f0\u01f1\58\35\2\u01f1\u01f2\7\7\2\2\u01f2"+ + "\u01f4\3\2\2\2\u01f3\u01dc\3\2\2\2\u01f3\u01dd\3\2\2\2\u01f3\u01df\3\2"+ + "\2\2\u01f3\u01e3\3\2\2\2\u01f3\u01e9\3\2\2\2\u01f3\u01ef\3\2\2\2\u01f4"+ + "\67\3\2\2\2\u01f5\u01f6\b\35\1\2\u01f6\u01f7\7\37\2\2\u01f7\u01f8\58\35"+ + "\2\u01f8\u01f9\7 \2\2\u01f9\u0204\3\2\2\2\u01fa\u01fb\t\n\2\2\u01fb\u0204"+ + "\58\35\n\u01fc\u0204\7Y\2\2\u01fd\u0204\7Z\2\2\u01fe\u01ff\7\b\2\2\u01ff"+ + "\u0200\7Y\2\2\u0200\u0204\7\t\2\2\u0201\u0204\7P\2\2\u0202\u0204\7N\2"+ + "\2\u0203\u01f5\3\2\2\2\u0203\u01fa\3\2\2\2\u0203\u01fc\3\2\2\2\u0203\u01fd"+ + "\3\2\2\2\u0203\u01fe\3\2\2\2\u0203\u0201\3\2\2\2\u0203\u0202\3\2\2\2\u0204"+ + "\u0213\3\2\2\2\u0205\u0206\f\f\2\2\u0206\u0207\7I\2\2\u0207\u0212\58\35"+ + "\r\u0208\u0209\f\13\2\2\u0209\u020a\t\5\2\2\u020a\u0212\58\35\f\u020b"+ + "\u020c\f\t\2\2\u020c\u020d\t\13\2\2\u020d\u0212\58\35\n\u020e\u020f\f"+ + "\b\2\2\u020f\u0210\t\7\2\2\u0210\u0212\58\35\t\u0211\u0205\3\2\2\2\u0211"+ + "\u0208\3\2\2\2\u0211\u020b\3\2\2\2\u0211\u020e\3\2\2\2\u0212\u0215\3\2"+ + "\2\2\u0213\u0211\3\2\2\2\u0213\u0214\3\2\2\2\u02149\3\2\2\2\u0215\u0213"+ + "\3\2\2\28DMRW^dkrx}\u0086\u008c\u0093\u00a8\u00aa\u00af\u00b4\u00c1\u00c6"+ + "\u00d2\u00e0\u00e6\u00ee\u00f7\u00fe\u0103\u0107\u010c\u0112\u011e\u0128"+ + "\u012f\u0135\u0137\u0142\u0158\u0162\u018c\u018e\u0196\u019b\u01a5\u01b7"+ + "\u01b9\u01be\u01c4\u01ca\u01cd\u01d1\u01d9\u01f3\u0203\u0211\u0213"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCVisitor.java b/src/main/java/dk/camelot64/kickc/parser/KickCVisitor.java index 4474fed61..0faa5687f 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCVisitor.java +++ b/src/main/java/dk/camelot64/kickc/parser/KickCVisitor.java @@ -1,4 +1,4 @@ -// Generated from /Users/jespergravgaard/c64/kickc/src/main/java/dk/camelot64/kickc/parser/KickC.g4 by ANTLR 4.7 +// Generated from C:/c64/kickc/src/main/java/dk/camelot64/kickc/parser\KickC.g4 by ANTLR 4.7 package dk.camelot64.kickc.parser; import org.antlr.v4.runtime.tree.ParseTreeVisitor; @@ -181,6 +181,20 @@ public interface KickCVisitor extends ParseTreeVisitor { * @return the visitor result */ T visitStmtReturn(KickCParser.StmtReturnContext ctx); + /** + * Visit a parse tree produced by the {@code stmtBreak} + * labeled alternative in {@link KickCParser#stmt}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitStmtBreak(KickCParser.StmtBreakContext ctx); + /** + * Visit a parse tree produced by the {@code stmtContinue} + * labeled alternative in {@link KickCParser#stmt}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitStmtContinue(KickCParser.StmtContinueContext ctx); /** * Visit a parse tree produced by the {@code stmtAsm} * labeled alternative in {@link KickCParser#stmt}. diff --git a/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java b/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java index e0ac9c8c6..8bac64383 100644 --- a/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java +++ b/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java @@ -53,7 +53,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { scopeStack.push(program.getScope()); } - private Scope getCurrentSymbols() { + private Scope getCurrentScope() { return scopeStack.peek(); } @@ -113,7 +113,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { public Object visitDeclFunction(KickCParser.DeclFunctionContext ctx) { SymbolType type = (SymbolType) visit(ctx.typeDecl()); String name = ctx.NAME().getText(); - Procedure procedure = getCurrentSymbols().addProcedure(name, type); + Procedure procedure = getCurrentScope().addProcedure(name, type); addDirectives(procedure, ctx.directive()); procedure.setComments(ensureUnusedComments(getCommentsSymbol(ctx))); scopeStack.push(procedure); @@ -159,7 +159,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { @Override public Variable visitParameterDecl(KickCParser.ParameterDeclContext ctx) { SymbolType type = (SymbolType) this.visit(ctx.typeDecl()); - VariableUnversioned param = new VariableUnversioned(ctx.NAME().getText(), getCurrentSymbols(), type); + VariableUnversioned param = new VariableUnversioned(ctx.NAME().getText(), getCurrentScope(), type); // Add directives addDirectives(type, param, ctx.directive()); return param; @@ -187,7 +187,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { } else if(asmDirective instanceof AsmDirectiveClobber) { statementKickAsm.setDeclaredClobber(((AsmDirectiveClobber) asmDirective).getClobber()); } else { - throw new CompileError("kickasm does not support directive "+asmDirective, statementKickAsm); + throw new CompileError("kickasm does not support directive " + asmDirective, statementKickAsm); } } } @@ -299,7 +299,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { public Object visitAsmDirectiveUses(KickCParser.AsmDirectiveUsesContext ctx) { String varName = ctx.NAME().getText(); SymbolVariableRef variableRef; - Symbol symbol = getCurrentSymbols().getSymbol(varName); + Symbol symbol = getCurrentScope().getSymbol(varName); if(symbol instanceof Variable) { //Found an existing variable Variable variable = (Variable) symbol; @@ -377,7 +377,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { @Override public AsmDirectiveClobber visitAsmDirectiveClobber(KickCParser.AsmDirectiveClobberContext ctx) { String clobberString = ctx.STRING().getText().toUpperCase(); - clobberString = clobberString.substring(1, clobberString.length()-1); + clobberString = clobberString.substring(1, clobberString.length() - 1); if(!clobberString.matches("[AXY]*")) { throw new CompileError("Error! Illegal clobber value " + clobberString, new StatementSource(ctx)); } @@ -388,15 +388,13 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { return new AsmDirectiveClobber(clobber); } - - @Override public Object visitDeclVariable(KickCParser.DeclVariableContext ctx) { SymbolType type = (SymbolType) visit(ctx.typeDecl()); String varName = ctx.NAME().getText(); VariableUnversioned lValue; try { - lValue = getCurrentSymbols().addVariable(varName, type); + lValue = getCurrentScope().addVariable(varName, type); } catch(CompileError e) { throw new CompileError(e.getMessage(), new StatementSource(ctx)); } @@ -576,7 +574,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { @Override public Void visitStmtBlock(KickCParser.StmtBlockContext ctx) { if(ctx.stmtSeq() != null) { - BlockScope blockScope = getCurrentSymbols().addBlockScope(); + BlockScope blockScope = getCurrentScope().addBlockScope(); scopeStack.push(blockScope); this.visit(ctx.stmtSeq()); scopeStack.pop(); @@ -604,10 +602,10 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { if(elseStmt == null) { // If without else - skip the entire section if condition not met - VariableRef notExprVar = getCurrentSymbols().addVariableIntermediate().getRef(); + VariableRef notExprVar = getCurrentScope().addVariableIntermediate().getRef(); sequence.addStatement(new StatementAssignment(notExprVar, null, Operators.LOGIC_NOT, rValue, new StatementSource(ctx), comments)); PrePostModifierHandler.addPostModifiers(this, ctx.expr()); - Label endJumpLabel = getCurrentSymbols().addLabelIntermediate(); + Label endJumpLabel = getCurrentScope().addLabelIntermediate(); sequence.addStatement(new StatementConditionalJump(notExprVar, endJumpLabel.getRef(), new StatementSource(ctx), Comment.NO_COMMENTS)); this.visit(ifStmt); // No else statement - just add the label @@ -615,12 +613,12 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { } else { // If with else - jump to if section if condition met - fall into else otherwise. PrePostModifierHandler.addPostModifiers(this, ctx.expr()); - Label ifJumpLabel = getCurrentSymbols().addLabelIntermediate(); + Label ifJumpLabel = getCurrentScope().addLabelIntermediate(); sequence.addStatement(new StatementConditionalJump(rValue, ifJumpLabel.getRef(), new StatementSource(ctx), comments)); // Add else body this.visit(elseStmt); // There is an else statement - add the if part and any needed labels/jumps - Label endJumpLabel = getCurrentSymbols().addLabelIntermediate(); + Label endJumpLabel = getCurrentScope().addLabelIntermediate(); sequence.addStatement(new StatementJump(endJumpLabel.getRef(), new StatementSource(ctx), Comment.NO_COMMENTS)); sequence.addStatement(new StatementLabel(ifJumpLabel.getRef(), new StatementSource(ctx), Comment.NO_COMMENTS)); this.visit(ifStmt); @@ -630,11 +628,43 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { return null; } + /** A loop being generated. */ + static class Loop { + + /** The scope of the loop. */ + Scope loopScope; + + /** The label after the loop that a break will jump to. Null if no break has been encountered. */ + Label breakLabel; + + public Loop(Scope loopScope) { + this.loopScope = loopScope; + } + + public Label getBreakLabel() { + return breakLabel; + } + + public Label getOrCreateBreakLabel() { + if(breakLabel==null) { + breakLabel = loopScope.addLabelIntermediate(); + } + return breakLabel; + } + } + + /** The loops being generated. */ + private Stack loopStack = new Stack<>(); + @Override public Void visitStmtWhile(KickCParser.StmtWhileContext ctx) { - Label beginJumpLabel = getCurrentSymbols().addLabelIntermediate(); - Label doJumpLabel = getCurrentSymbols().addLabelIntermediate(); - Label endJumpLabel = getCurrentSymbols().addLabelIntermediate(); + // Create the block scope early - to keep all statements of the loop inside it + BlockScope blockScope = getCurrentScope().addBlockScope(); + scopeStack.push(blockScope); + loopStack.push(new Loop(blockScope)); + Label beginJumpLabel = getCurrentScope().addLabelIntermediate(); + Label doJumpLabel = getCurrentScope().addLabelIntermediate(); + Label endJumpLabel = getCurrentScope().addLabelIntermediate(); List comments = ensureUnusedComments(getCommentsSymbol(ctx)); StatementLabel beginJumpTarget = new StatementLabel(beginJumpLabel.getRef(), new StatementSource(ctx), comments); sequence.addStatement(beginJumpTarget); @@ -647,47 +677,36 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { sequence.addStatement(endJmpStmt); StatementLabel doJumpTarget = new StatementLabel(doJumpLabel.getRef(), new StatementSource(ctx), Comment.NO_COMMENTS); sequence.addStatement(doJumpTarget); - this.visit(ctx.stmt()); + addLoopBody(ctx.stmt()); Statement beginJmpStmt = new StatementJump(beginJumpLabel.getRef(), new StatementSource(ctx), Comment.NO_COMMENTS); sequence.addStatement(beginJmpStmt); StatementLabel endJumpTarget = new StatementLabel(endJumpLabel.getRef(), new StatementSource(ctx), Comment.NO_COMMENTS); sequence.addStatement(endJumpTarget); - // Add directives addDirectives(doJmpStmt, ctx.directive()); + addLoopBreakLabel(loopStack.pop(), ctx); + scopeStack.pop(); return null; } @Override public Void visitStmtDoWhile(KickCParser.StmtDoWhileContext ctx) { - // Create the block scope early - to keep all statements of the loop inside it - if(ctx.stmt() != null && ctx.stmt() instanceof KickCParser.StmtBlockContext) { - BlockScope blockScope = getCurrentSymbols().addBlockScope(); - scopeStack.push(blockScope); - } - + BlockScope blockScope = getCurrentScope().addBlockScope(); + scopeStack.push(blockScope); + loopStack.push(new Loop(blockScope)); List comments = ensureUnusedComments(getCommentsSymbol(ctx)); - Label beginJumpLabel = getCurrentSymbols().addLabelIntermediate(); + Label beginJumpLabel = getCurrentScope().addLabelIntermediate(); StatementLabel beginJumpTarget = new StatementLabel(beginJumpLabel.getRef(), new StatementSource(ctx), comments); sequence.addStatement(beginJumpTarget); - if(ctx.stmt() != null) { - if(ctx.stmt() instanceof KickCParser.StmtBlockContext) { - // Skip the block creation by going straight to the sequence - KickCParser.StmtBlockContext stmtBlockContext = (KickCParser.StmtBlockContext) ctx.stmt(); - if(stmtBlockContext.stmtSeq()!=null) { - this.visit(stmtBlockContext.stmtSeq()); - } - } else { - this.visit(ctx.stmt()); - } - } + addLoopBody(ctx.stmt()); PrePostModifierHandler.addPreModifiers(this, ctx.expr()); RValue rValue = (RValue) this.visit(ctx.expr()); PrePostModifierHandler.addPostModifiers(this, ctx.expr()); StatementConditionalJump doJmpStmt = new StatementConditionalJump(rValue, beginJumpLabel.getRef(), new StatementSource(ctx), Comment.NO_COMMENTS); sequence.addStatement(doJmpStmt); addDirectives(doJmpStmt, ctx.directive()); + addLoopBreakLabel(loopStack.pop(), ctx); scopeStack.pop(); return null; } @@ -705,9 +724,9 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { @Override public Object visitForClassic(KickCParser.ForClassicContext ctx) { - BlockScope blockScope = getCurrentSymbols().addBlockScope(); + BlockScope blockScope = getCurrentScope().addBlockScope(); scopeStack.push(blockScope); - + loopStack.push(new Loop(blockScope)); KickCParser.StmtForContext stmtForCtx = (KickCParser.StmtForContext) ctx.getParent(); KickCParser.ForDeclContext forDeclCtx = (KickCParser.ForDeclContext) stmtForCtx.forDeclaration(); // Create and assign declared loop variable @@ -717,22 +736,12 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { addInitialAssignment(initializer, lValue, Comment.NO_COMMENTS); } // Add label - Label repeatLabel = getCurrentSymbols().addLabelIntermediate(); + Label repeatLabel = getCurrentScope().addLabelIntermediate(); List comments = getCommentsSymbol(stmtForCtx); StatementLabel repeatTarget = new StatementLabel(repeatLabel.getRef(), new StatementSource(ctx), comments); sequence.addStatement(repeatTarget); // Add body - if(stmtForCtx.stmt() != null) { - if(stmtForCtx.stmt() instanceof KickCParser.StmtBlockContext) { - // Skip the block context and reuse the one created by the for() itself - KickCParser.StmtBlockContext stmtBlockContext = (KickCParser.StmtBlockContext) stmtForCtx.stmt(); - if(stmtBlockContext.stmtSeq()!=null) { - this.visit(stmtBlockContext.stmtSeq()); - } - } else { - this.visit(stmtForCtx.stmt()); - } - } + addLoopBody(stmtForCtx.stmt()); // Add increment if(ctx.expr(1) != null) { PrePostModifierHandler.addPreModifiers(this, ctx.expr(1)); @@ -747,15 +756,16 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { StatementConditionalJump doJmpStmt = new StatementConditionalJump(rValue, repeatLabel.getRef(), new StatementSource(ctx), Comment.NO_COMMENTS); sequence.addStatement(doJmpStmt); addDirectives(doJmpStmt, stmtForCtx.directive()); + addLoopBreakLabel(loopStack.pop(), ctx); scopeStack.pop(); return null; } @Override public Object visitForRange(KickCParser.ForRangeContext ctx) { - BlockScope blockScope = getCurrentSymbols().addBlockScope(); + BlockScope blockScope = getCurrentScope().addBlockScope(); scopeStack.push(blockScope); - + loopStack.push(new Loop(blockScope)); KickCParser.StmtForContext stmtForCtx = (KickCParser.StmtForContext) ctx.getParent(); KickCParser.ForDeclContext forDeclCtx = (KickCParser.ForDeclContext) stmtForCtx.forDeclaration(); // Create declared loop variable @@ -769,27 +779,17 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { sequence.addStatement(stmtInit); // Add label List comments = ensureUnusedComments(getCommentsSymbol(stmtForCtx)); - Label repeatLabel = getCurrentSymbols().addLabelIntermediate(); + Label repeatLabel = getCurrentScope().addLabelIntermediate(); StatementLabel repeatTarget = new StatementLabel(repeatLabel.getRef(), new StatementSource(ctx), comments); sequence.addStatement(repeatTarget); // Add body - if(stmtForCtx.stmt() != null) { - if(stmtForCtx.stmt() instanceof KickCParser.StmtBlockContext) { - // Skip the block context and reuse the one created by the for() itself - KickCParser.StmtBlockContext stmtBlockContext = (KickCParser.StmtBlockContext) stmtForCtx.stmt(); - if(stmtBlockContext.stmtSeq()!=null) { - this.visit(stmtBlockContext.stmtSeq()); - } - } else { - this.visit(stmtForCtx.stmt()); - } - } + addLoopBody(stmtForCtx.stmt()); // Add increment Statement stmtNxt = new StatementAssignment(lValue.getRef(), lValue.getRef(), Operators.PLUS, new RangeNext(rangeFirstValue, rangeLastValue), new StatementSource(ctx), Comment.NO_COMMENTS); sequence.addStatement(stmtNxt); // Add condition i!=last+1 or i!=last-1 RValue beyondLastVal = new RangeComparison(rangeFirstValue, rangeLastValue, lValue.getType()); - VariableIntermediate tmpVar = getCurrentSymbols().addVariableIntermediate(); + VariableIntermediate tmpVar = getCurrentScope().addVariableIntermediate(); VariableRef tmpVarRef = tmpVar.getRef(); Statement stmtTmpVar = new StatementAssignment(tmpVarRef, lValue.getRef(), Operators.NEQ, beyondLastVal, new StatementSource(ctx), Comment.NO_COMMENTS); sequence.addStatement(stmtTmpVar); @@ -797,10 +797,32 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { StatementConditionalJump doJmpStmt = new StatementConditionalJump(tmpVarRef, repeatLabel.getRef(), new StatementSource(ctx), Comment.NO_COMMENTS); sequence.addStatement(doJmpStmt); addDirectives(doJmpStmt, stmtForCtx.directive()); + addLoopBreakLabel(loopStack.pop(), ctx); scopeStack.pop(); return null; } + private void addLoopBreakLabel(Loop loop, ParserRuleContext ctx) { + if(loop.getBreakLabel()!=null) { + StatementLabel breakTarget = new StatementLabel(loop.getBreakLabel().getRef(), new StatementSource(ctx), Comment.NO_COMMENTS); + sequence.addStatement(breakTarget); + } + } + + private void addLoopBody(KickCParser.StmtContext stmt) { + if(stmt != null) { + if(stmt instanceof KickCParser.StmtBlockContext) { + // Skip the block context and reuse the one created by the for() itself + KickCParser.StmtBlockContext stmtBlockContext = (KickCParser.StmtBlockContext) stmt; + if(stmtBlockContext.stmtSeq() != null) { + this.visit(stmtBlockContext.stmtSeq()); + } + } else { + this.visit(stmt); + } + } + } + /** * Get the variable of a for-loop. * @@ -813,14 +835,14 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { if(forDeclCtx.typeDecl() != null) { SymbolType type = (SymbolType) visit(forDeclCtx.typeDecl()); try { - lValue = getCurrentSymbols().addVariable(varName, type); + lValue = getCurrentScope().addVariable(varName, type); } catch(CompileError e) { throw new CompileError(e.getMessage(), new StatementSource(forDeclCtx)); } // Add directives addDirectives(type, lValue, forDeclCtx.directive()); } else { - lValue = getCurrentSymbols().getVariable(varName); + lValue = getCurrentScope().getVariable(varName); } if(lValue == null) { throw new CompileError("Unknown variable! " + varName, new StatementSource(forDeclCtx)); @@ -828,6 +850,22 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { return lValue; } + @Override + public Object visitStmtBreak(KickCParser.StmtBreakContext ctx) { + if(loopStack.isEmpty()) { + throw new CompileError("Break not inside a loop! ", new StatementSource(ctx)); + } + Loop currentLoop = loopStack.peek(); + Label breakLabel = currentLoop.getOrCreateBreakLabel(); + Statement breakJmpStmt = new StatementJump(breakLabel.getRef(), new StatementSource(ctx), Comment.NO_COMMENTS); + sequence.addStatement(breakJmpStmt); + return null; + } + + @Override + public Object visitStmtContinue(KickCParser.StmtContinueContext ctx) { + return super.visitStmtContinue(ctx); + } @Override public Object visitStmtAsm(KickCParser.StmtAsmContext ctx) { @@ -844,7 +882,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { if(asmDirective instanceof AsmDirectiveClobber) { declaredClobber = ((AsmDirectiveClobber) asmDirective).getClobber(); } else { - throw new CompileError("inline ASM does not support directive "+asmDirective, new StatementSource(ctx)); + throw new CompileError("inline ASM does not support directive " + asmDirective, new StatementSource(ctx)); } } } @@ -855,6 +893,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { /** * Find all referenced symbol variables + * * @param ctx An ASM statement * @param definedLabels All labels defined in the ASM * @return All variables/constants referenced in the ASM. Some may be ForwardVariableRefs to be resolved later. @@ -880,7 +919,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { String label = ctxLabel.NAME().toString(); if(!definedLabels.contains(label)) { // Look for the symbol - Symbol symbol = getCurrentSymbols().getSymbol(ctxLabel.NAME().getText()); + Symbol symbol = getCurrentScope().getSymbol(ctxLabel.NAME().getText()); if(symbol instanceof Variable) { Variable variable = (Variable) symbol; referenced.put(label, variable.getRef()); @@ -898,6 +937,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { /** * Find all labels defined in the ASM (not multilabels). + * * @param ctx An ASM statement * @return All labels defined in the ASM. */ @@ -1032,7 +1072,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { RValue child = (RValue) this.visit(ctx.expr()); SymbolType castType = (SymbolType) this.visit(ctx.typeDecl()); Operator operator = Operators.getCastUnary(castType); - VariableIntermediate tmpVar = getCurrentSymbols().addVariableIntermediate(); + VariableIntermediate tmpVar = getCurrentScope().addVariableIntermediate(); VariableRef tmpVarRef = tmpVar.getRef(); Statement stmt = new StatementAssignment(tmpVarRef, operator, child, new StatementSource(ctx), ensureUnusedComments(getCommentsSymbol(ctx))); sequence.addStatement(stmt); @@ -1048,7 +1088,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { } else { parameters = new ArrayList<>(); } - VariableIntermediate tmpVar = getCurrentSymbols().addVariableIntermediate(); + VariableIntermediate tmpVar = getCurrentScope().addVariableIntermediate(); VariableRef tmpVarRef = tmpVar.getRef(); sequence.addStatement(new StatementCall(tmpVarRef, ctx.NAME().getText(), parameters, new StatementSource(ctx), ensureUnusedComments(getCommentsSymbol(ctx)))); return tmpVarRef; @@ -1104,7 +1144,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { RValue right = (RValue) this.visit(ctx.expr(1)); String op = ((TerminalNode) ctx.getChild(1)).getSymbol().getText(); Operator operator = Operators.getBinary(op); - VariableIntermediate tmpVar = getCurrentSymbols().addVariableIntermediate(); + VariableIntermediate tmpVar = getCurrentScope().addVariableIntermediate(); VariableRef tmpVarRef = tmpVar.getRef(); Statement stmt = new StatementAssignment(tmpVarRef, left, operator, right, new StatementSource(ctx), ensureUnusedComments(getCommentsSymbol(ctx))); sequence.addStatement(stmt); @@ -1122,7 +1162,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { RValue child = (RValue) this.visit(ctx.expr()); String op = ((TerminalNode) ctx.getChild(0)).getSymbol().getText(); Operator operator = Operators.getUnary(op); - VariableIntermediate tmpVar = getCurrentSymbols().addVariableIntermediate(); + VariableIntermediate tmpVar = getCurrentScope().addVariableIntermediate(); VariableRef tmpVarRef = tmpVar.getRef(); Statement stmt = new StatementAssignment(tmpVarRef, operator, child, new StatementSource(ctx), ensureUnusedComments(getCommentsSymbol(ctx))); sequence.addStatement(stmt); @@ -1148,7 +1188,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor { @Override public RValue visitExprId(KickCParser.ExprIdContext ctx) { - Symbol symbol = getCurrentSymbols().getSymbol(ctx.NAME().getText()); + Symbol symbol = getCurrentScope().getSymbol(ctx.NAME().getText()); if(symbol instanceof Variable) { Variable variable = (Variable) symbol; return variable.getRef(); diff --git a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java index cf50e484b..258cd1da7 100644 --- a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java +++ b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java @@ -32,6 +32,16 @@ public class TestPrograms { public TestPrograms() { } + @Test + public void testLoopBreakNested() throws IOException, URISyntaxException { + compileAndCompare("loop-break-nested"); + } + + @Test + public void testLoopBreak() throws IOException, URISyntaxException { + compileAndCompare("loop-break"); + } + @Test public void testNoLocalScope() throws IOException, URISyntaxException { compileAndCompare("localscope-loops"); diff --git a/src/test/kc/loop-break-nested.kc b/src/test/kc/loop-break-nested.kc new file mode 100644 index 000000000..d7e86ccea --- /dev/null +++ b/src/test/kc/loop-break-nested.kc @@ -0,0 +1,13 @@ +// Tests break statement in a simple loop + +const byte* SCREEN = $400; + +void main() { + for(byte* line = $400; line<$400+40*25;line+=40 ) { + if(*line=='a') break; + for( byte i: 0..39) { + if(line[i]=='a') break; + line[i] = 'a'; + } + } +} \ No newline at end of file diff --git a/src/test/kc/loop-break.kc b/src/test/kc/loop-break.kc new file mode 100644 index 000000000..6a3c79adf --- /dev/null +++ b/src/test/kc/loop-break.kc @@ -0,0 +1,11 @@ +// Tests break statement in a simple loop + +const byte* SCREEN = $400; + +void main() { + for( byte i: 0..40*6) { + if(SCREEN[i]=='a') + break; + SCREEN[i] = 'a'; + } +} \ No newline at end of file