1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-24 04:31:02 +00:00

Implemented compound assignments. Closes #104

This commit is contained in:
jespergravgaard 2018-04-28 12:06:01 +02:00
parent 6a399cf210
commit 55fa7be4d1
17 changed files with 2989 additions and 609 deletions

View File

@ -98,6 +98,16 @@ public class Operators {
}
}
/**
* Get the binary operator to use for a sppecific compound assignment
* @param operator The compound operator as a string
* @return The binary operator to use
*/
public static Operator getBinaryCompound(String operator) {
return getBinary(operator.substring(0, operator.length()-1));
}
public static Operator getUnary(String op) {
switch(op) {
case "+":
@ -149,4 +159,5 @@ public class Operators {
}
}
}

View File

@ -94,6 +94,7 @@ expr
| expr ( '&&' ) expr #exprBinary
| expr ( '||' ) expr #exprBinary
| <assoc=right> expr '=' expr #exprAssignment
| <assoc=right> expr ('+=' | '-=' | '*=' | '/=' | '%=' | '<<=' | '>>=' | '&=' | '|=' | '^=' ) expr #exprAssignmentCompound
| '{' expr (',' expr )* '}' #initList
| NAME #exprId
| NUMBER #exprNumber

View File

@ -45,25 +45,35 @@ T__43=44
T__44=45
T__45=46
T__46=47
MNEMONIC=48
SIMPLETYPE=49
STRING=50
CHAR=51
BOOLEAN=52
NUMBER=53
NUMFLOAT=54
BINFLOAT=55
DECFLOAT=56
HEXFLOAT=57
NUMINT=58
BININTEGER=59
DECINTEGER=60
HEXINTEGER=61
NAME=62
ASMREL=63
WS=64
COMMENT_LINE=65
COMMENT_BLOCK=66
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
MNEMONIC=58
SIMPLETYPE=59
STRING=60
CHAR=61
BOOLEAN=62
NUMBER=63
NUMFLOAT=64
BINFLOAT=65
DECFLOAT=66
HEXFLOAT=67
NUMINT=68
BININTEGER=69
DECINTEGER=70
HEXINTEGER=71
NAME=72
ASMREL=73
WS=74
COMMENT_LINE=75
COMMENT_BLOCK=76
'import'=1
'('=2
')'=3
@ -109,5 +119,15 @@ COMMENT_BLOCK=66
'|'=43
'&&'=44
'||'=45
'.byte'=46
'#'=47
'+='=46
'-='=47
'*='=48
'/='=49
'%='=50
'<<='=51
'>>='=52
'&='=53
'|='=54
'^='=55
'.byte'=56
'#'=57

View File

@ -515,6 +515,18 @@ public class KickCBaseListener implements KickCListener {
* <p>The default implementation does nothing.</p>
*/
@Override public void exitExprString(KickCParser.ExprStringContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterExprAssignmentCompound(KickCParser.ExprAssignmentCompoundContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitExprAssignmentCompound(KickCParser.ExprAssignmentCompoundContext ctx) { }
/**
* {@inheritDoc}
*

View File

@ -305,6 +305,13 @@ public class KickCBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitExprString(KickCParser.ExprStringContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitExprAssignmentCompound(KickCParser.ExprAssignmentCompoundContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*

View File

@ -23,10 +23,11 @@ public class KickCLexer extends Lexer {
T__24=25, T__25=26, T__26=27, T__27=28, T__28=29, T__29=30, T__30=31,
T__31=32, T__32=33, T__33=34, T__34=35, T__35=36, T__36=37, T__37=38,
T__38=39, T__39=40, T__40=41, T__41=42, T__42=43, T__43=44, T__44=45,
T__45=46, T__46=47, MNEMONIC=48, SIMPLETYPE=49, STRING=50, CHAR=51, BOOLEAN=52,
NUMBER=53, NUMFLOAT=54, BINFLOAT=55, DECFLOAT=56, HEXFLOAT=57, NUMINT=58,
BININTEGER=59, DECINTEGER=60, HEXINTEGER=61, NAME=62, ASMREL=63, WS=64,
COMMENT_LINE=65, COMMENT_BLOCK=66;
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, MNEMONIC=58, SIMPLETYPE=59,
STRING=60, CHAR=61, BOOLEAN=62, NUMBER=63, NUMFLOAT=64, BINFLOAT=65, DECFLOAT=66,
HEXFLOAT=67, NUMINT=68, BININTEGER=69, DECINTEGER=70, HEXINTEGER=71, NAME=72,
ASMREL=73, WS=74, COMMENT_LINE=75, COMMENT_BLOCK=76;
public static String[] channelNames = {
"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
};
@ -41,11 +42,12 @@ public class KickCLexer extends Lexer {
"T__17", "T__18", "T__19", "T__20", "T__21", "T__22", "T__23", "T__24",
"T__25", "T__26", "T__27", "T__28", "T__29", "T__30", "T__31", "T__32",
"T__33", "T__34", "T__35", "T__36", "T__37", "T__38", "T__39", "T__40",
"T__41", "T__42", "T__43", "T__44", "T__45", "T__46", "MNEMONIC", "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__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",
"MNEMONIC", "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 = {
@ -54,16 +56,18 @@ public class KickCLexer extends Lexer {
"'return'", "'asm'", "':'", "'..'", "'signed'", "'*'", "'['", "']'", "'--'",
"'++'", "'+'", "'-'", "'!'", "'&'", "'~'", "'>>'", "'<<'", "'/'", "'%'",
"'<'", "'>'", "'=='", "'!='", "'<='", "'>='", "'^'", "'|'", "'&&'", "'||'",
"'.byte'", "'#'"
"'+='", "'-='", "'*='", "'/='", "'%='", "'<<='", "'>>='", "'&='", "'|='",
"'^='", "'.byte'", "'#'"
};
private static final String[] _SYMBOLIC_NAMES = {
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, null, null,
"MNEMONIC", "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, "MNEMONIC",
"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);
@ -123,7 +127,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\2D\u02db\b\1\4\2\t"+
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2N\u030f\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"+
@ -131,272 +135,283 @@ public class KickCLexer extends Lexer {
"\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4"+
",\t,\4-\t-\4.\t.\4/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63\t\63\4\64\t"+
"\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\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\f\3"+
"\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\16\3\16\3\16\3\16\3\16\3"+
"\17\3\17\3\17\3\17\3\17\3\17\3\20\3\20\3\20\3\21\3\21\3\21\3\21\3\22\3"+
"\22\3\22\3\22\3\22\3\22\3\22\3\23\3\23\3\23\3\23\3\24\3\24\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\30\3\30\3\31\3\31\3"+
"\32\3\32\3\32\3\33\3\33\3\33\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/\3/\3/\3/\3/\3"+
"\60\3\60\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3"+
"\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\3\61\5"+
"\61\u0208\n\61\3\62\3\62\3\62\3\62\3\62\3\62\3\62\3\62\3\62\3\62\3\62"+
"\3\62\3\62\3\62\3\62\3\62\3\62\3\62\3\62\3\62\3\62\5\62\u021f\n\62\3\63"+
"\3\63\3\63\3\63\7\63\u0225\n\63\f\63\16\63\u0228\13\63\3\63\3\63\3\64"+
"\3\64\3\64\3\64\5\64\u0230\n\64\3\64\3\64\3\65\3\65\3\65\3\65\3\65\3\65"+
"\3\65\3\65\3\65\5\65\u023d\n\65\3\66\3\66\5\66\u0241\n\66\3\67\3\67\3"+
"\67\5\67\u0246\n\67\38\38\38\38\38\58\u024d\n8\38\78\u0250\n8\f8\168\u0253"+
"\138\38\38\68\u0257\n8\r8\168\u0258\39\79\u025c\n9\f9\169\u025f\139\3"+
"9\39\69\u0263\n9\r9\169\u0264\3:\3:\3:\3:\3:\5:\u026c\n:\3:\7:\u026f\n"+
":\f:\16:\u0272\13:\3:\3:\6:\u0276\n:\r:\16:\u0277\3;\3;\3;\5;\u027d\n"+
";\3<\3<\3<\6<\u0282\n<\r<\16<\u0283\3<\3<\6<\u0288\n<\r<\16<\u0289\5<"+
"\u028c\n<\3=\6=\u028f\n=\r=\16=\u0290\3>\3>\3>\3>\3>\5>\u0298\n>\3>\6"+
">\u029b\n>\r>\16>\u029c\3?\3?\3@\3@\3A\3A\3B\3B\7B\u02a7\nB\fB\16B\u02aa"+
"\13B\3C\3C\3D\3D\3E\3E\7E\u02b2\nE\fE\16E\u02b5\13E\3E\6E\u02b8\nE\rE"+
"\16E\u02b9\3F\6F\u02bd\nF\rF\16F\u02be\3F\3F\3G\3G\3G\3G\7G\u02c7\nG\f"+
"G\16G\u02ca\13G\3G\3G\3H\3H\3H\3H\7H\u02d2\nH\fH\16H\u02d5\13H\3H\3H\3"+
"H\3H\3H\3\u02d3\2I\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r"+
"\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\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\f\3\f\3\f\3"+
"\f\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\16\3\16\3\16\3\16\3\16\3\17\3\17"+
"\3\17\3\17\3\17\3\17\3\20\3\20\3\20\3\21\3\21\3\21\3\21\3\22\3\22\3\22"+
"\3\22\3\22\3\22\3\22\3\23\3\23\3\23\3\23\3\24\3\24\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\30\3\30\3\31\3\31\3\32\3\32"+
"\3\32\3\33\3\33\3\33\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/\3/\3\60\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\64\3\65\3\65"+
"\3\65\3\65\3\66\3\66\3\66\3\67\3\67\3\67\38\38\38\39\39\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;\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;\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;\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;\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;\3;\3;\3;\3;\3;\3;\3;\3"+
";\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\5;\u023c\n;\3<\3<\3"+
"<\3<\3<\3<\3<\3<\3<\3<\3<\3<\3<\3<\3<\3<\3<\3<\3<\3<\3<\5<\u0253\n<\3"+
"=\3=\3=\3=\7=\u0259\n=\f=\16=\u025c\13=\3=\3=\3>\3>\3>\3>\5>\u0264\n>"+
"\3>\3>\3?\3?\3?\3?\3?\3?\3?\3?\3?\5?\u0271\n?\3@\3@\5@\u0275\n@\3A\3A"+
"\3A\5A\u027a\nA\3B\3B\3B\3B\3B\5B\u0281\nB\3B\7B\u0284\nB\fB\16B\u0287"+
"\13B\3B\3B\6B\u028b\nB\rB\16B\u028c\3C\7C\u0290\nC\fC\16C\u0293\13C\3"+
"C\3C\6C\u0297\nC\rC\16C\u0298\3D\3D\3D\3D\3D\5D\u02a0\nD\3D\7D\u02a3\n"+
"D\fD\16D\u02a6\13D\3D\3D\6D\u02aa\nD\rD\16D\u02ab\3E\3E\3E\5E\u02b1\n"+
"E\3F\3F\3F\6F\u02b6\nF\rF\16F\u02b7\3F\3F\6F\u02bc\nF\rF\16F\u02bd\5F"+
"\u02c0\nF\3G\6G\u02c3\nG\rG\16G\u02c4\3H\3H\3H\3H\3H\5H\u02cc\nH\3H\6"+
"H\u02cf\nH\rH\16H\u02d0\3I\3I\3J\3J\3K\3K\3L\3L\7L\u02db\nL\fL\16L\u02de"+
"\13L\3M\3M\3N\3N\3O\3O\7O\u02e6\nO\fO\16O\u02e9\13O\3O\6O\u02ec\nO\rO"+
"\16O\u02ed\3P\6P\u02f1\nP\rP\16P\u02f2\3P\3P\3Q\3Q\3Q\3Q\7Q\u02fb\nQ\f"+
"Q\16Q\u02fe\13Q\3Q\3Q\3R\3R\3R\3R\7R\u0306\nR\fR\16R\u0309\13R\3R\3R\3"+
"R\3R\3R\3\u0307\2S\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r"+
"\31\16\33\17\35\20\37\21!\22#\23%\24\'\25)\26+\27-\30/\31\61\32\63\33"+
"\65\34\67\359\36;\37= ?!A\"C#E$G%I&K\'M(O)Q*S+U,W-Y.[/]\60_\61a\62c\63"+
"e\64g\65i\66k\67m8o9q:s;u<w=y>{?}\2\177\2\u0081\2\u0083@\u0085\2\u0087"+
"\2\u0089A\u008bB\u008dC\u008fD\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--//\5\2\13\f\17\17\"\""+
"\4\2\f\f\17\17\2\u0342\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\2"+
"Q\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\2"+
"w\3\2\2\2\2y\3\2\2\2\2{\3\2\2\2\2\u0083\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\3\u0091\3\2\2\2\5\u0098\3\2\2"+
"\2\7\u009a\3\2\2\2\t\u009c\3\2\2\2\13\u009e\3\2\2\2\r\u00a0\3\2\2\2\17"+
"\u00a2\3\2\2\2\21\u00a4\3\2\2\2\23\u00a6\3\2\2\2\25\u00ac\3\2\2\2\27\u00b2"+
"\3\2\2\2\31\u00bb\3\2\2\2\33\u00be\3\2\2\2\35\u00c3\3\2\2\2\37\u00c9\3"+
"\2\2\2!\u00cc\3\2\2\2#\u00d0\3\2\2\2%\u00d7\3\2\2\2\'\u00db\3\2\2\2)\u00dd"+
"\3\2\2\2+\u00e0\3\2\2\2-\u00e7\3\2\2\2/\u00e9\3\2\2\2\61\u00eb\3\2\2\2"+
"\63\u00ed\3\2\2\2\65\u00f0\3\2\2\2\67\u00f3\3\2\2\29\u00f5\3\2\2\2;\u00f7"+
"\3\2\2\2=\u00f9\3\2\2\2?\u00fb\3\2\2\2A\u00fd\3\2\2\2C\u0100\3\2\2\2E"+
"\u0103\3\2\2\2G\u0105\3\2\2\2I\u0107\3\2\2\2K\u0109\3\2\2\2M\u010b\3\2"+
"\2\2O\u010e\3\2\2\2Q\u0111\3\2\2\2S\u0114\3\2\2\2U\u0117\3\2\2\2W\u0119"+
"\3\2\2\2Y\u011b\3\2\2\2[\u011e\3\2\2\2]\u0121\3\2\2\2_\u0127\3\2\2\2a"+
"\u0207\3\2\2\2c\u021e\3\2\2\2e\u0220\3\2\2\2g\u022b\3\2\2\2i\u023c\3\2"+
"\2\2k\u0240\3\2\2\2m\u0245\3\2\2\2o\u024c\3\2\2\2q\u025d\3\2\2\2s\u026b"+
"\3\2\2\2u\u027c\3\2\2\2w\u028b\3\2\2\2y\u028e\3\2\2\2{\u0297\3\2\2\2}"+
"\u029e\3\2\2\2\177\u02a0\3\2\2\2\u0081\u02a2\3\2\2\2\u0083\u02a4\3\2\2"+
"\2\u0085\u02ab\3\2\2\2\u0087\u02ad\3\2\2\2\u0089\u02af\3\2\2\2\u008b\u02bc"+
"\3\2\2\2\u008d\u02c2\3\2\2\2\u008f\u02cd\3\2\2\2\u0091\u0092\7k\2\2\u0092"+
"\u0093\7o\2\2\u0093\u0094\7r\2\2\u0094\u0095\7q\2\2\u0095\u0096\7t\2\2"+
"\u0096\u0097\7v\2\2\u0097\4\3\2\2\2\u0098\u0099\7*\2\2\u0099\6\3\2\2\2"+
"\u009a\u009b\7+\2\2\u009b\b\3\2\2\2\u009c\u009d\7}\2\2\u009d\n\3\2\2\2"+
"\u009e\u009f\7\177\2\2\u009f\f\3\2\2\2\u00a0\u00a1\7.\2\2\u00a1\16\3\2"+
"\2\2\u00a2\u00a3\7?\2\2\u00a3\20\3\2\2\2\u00a4\u00a5\7=\2\2\u00a5\22\3"+
"\2\2\2\u00a6\u00a7\7e\2\2\u00a7\u00a8\7q\2\2\u00a8\u00a9\7p\2\2\u00a9"+
"\u00aa\7u\2\2\u00aa\u00ab\7v\2\2\u00ab\24\3\2\2\2\u00ac\u00ad\7c\2\2\u00ad"+
"\u00ae\7n\2\2\u00ae\u00af\7k\2\2\u00af\u00b0\7i\2\2\u00b0\u00b1\7p\2\2"+
"\u00b1\26\3\2\2\2\u00b2\u00b3\7t\2\2\u00b3\u00b4\7g\2\2\u00b4\u00b5\7"+
"i\2\2\u00b5\u00b6\7k\2\2\u00b6\u00b7\7u\2\2\u00b7\u00b8\7v\2\2\u00b8\u00b9"+
"\7g\2\2\u00b9\u00ba\7t\2\2\u00ba\30\3\2\2\2\u00bb\u00bc\7k\2\2\u00bc\u00bd"+
"\7h\2\2\u00bd\32\3\2\2\2\u00be\u00bf\7g\2\2\u00bf\u00c0\7n\2\2\u00c0\u00c1"+
"\7u\2\2\u00c1\u00c2\7g\2\2\u00c2\34\3\2\2\2\u00c3\u00c4\7y\2\2\u00c4\u00c5"+
"\7j\2\2\u00c5\u00c6\7k\2\2\u00c6\u00c7\7n\2\2\u00c7\u00c8\7g\2\2\u00c8"+
"\36\3\2\2\2\u00c9\u00ca\7f\2\2\u00ca\u00cb\7q\2\2\u00cb \3\2\2\2\u00cc"+
"\u00cd\7h\2\2\u00cd\u00ce\7q\2\2\u00ce\u00cf\7t\2\2\u00cf\"\3\2\2\2\u00d0"+
"\u00d1\7t\2\2\u00d1\u00d2\7g\2\2\u00d2\u00d3\7v\2\2\u00d3\u00d4\7w\2\2"+
"\u00d4\u00d5\7t\2\2\u00d5\u00d6\7p\2\2\u00d6$\3\2\2\2\u00d7\u00d8\7c\2"+
"\2\u00d8\u00d9\7u\2\2\u00d9\u00da\7o\2\2\u00da&\3\2\2\2\u00db\u00dc\7"+
"<\2\2\u00dc(\3\2\2\2\u00dd\u00de\7\60\2\2\u00de\u00df\7\60\2\2\u00df*"+
"\3\2\2\2\u00e0\u00e1\7u\2\2\u00e1\u00e2\7k\2\2\u00e2\u00e3\7i\2\2\u00e3"+
"\u00e4\7p\2\2\u00e4\u00e5\7g\2\2\u00e5\u00e6\7f\2\2\u00e6,\3\2\2\2\u00e7"+
"\u00e8\7,\2\2\u00e8.\3\2\2\2\u00e9\u00ea\7]\2\2\u00ea\60\3\2\2\2\u00eb"+
"\u00ec\7_\2\2\u00ec\62\3\2\2\2\u00ed\u00ee\7/\2\2\u00ee\u00ef\7/\2\2\u00ef"+
"\64\3\2\2\2\u00f0\u00f1\7-\2\2\u00f1\u00f2\7-\2\2\u00f2\66\3\2\2\2\u00f3"+
"\u00f4\7-\2\2\u00f48\3\2\2\2\u00f5\u00f6\7/\2\2\u00f6:\3\2\2\2\u00f7\u00f8"+
"\7#\2\2\u00f8<\3\2\2\2\u00f9\u00fa\7(\2\2\u00fa>\3\2\2\2\u00fb\u00fc\7"+
"\u0080\2\2\u00fc@\3\2\2\2\u00fd\u00fe\7@\2\2\u00fe\u00ff\7@\2\2\u00ff"+
"B\3\2\2\2\u0100\u0101\7>\2\2\u0101\u0102\7>\2\2\u0102D\3\2\2\2\u0103\u0104"+
"\7\61\2\2\u0104F\3\2\2\2\u0105\u0106\7\'\2\2\u0106H\3\2\2\2\u0107\u0108"+
"\7>\2\2\u0108J\3\2\2\2\u0109\u010a\7@\2\2\u010aL\3\2\2\2\u010b\u010c\7"+
"?\2\2\u010c\u010d\7?\2\2\u010dN\3\2\2\2\u010e\u010f\7#\2\2\u010f\u0110"+
"\7?\2\2\u0110P\3\2\2\2\u0111\u0112\7>\2\2\u0112\u0113\7?\2\2\u0113R\3"+
"\2\2\2\u0114\u0115\7@\2\2\u0115\u0116\7?\2\2\u0116T\3\2\2\2\u0117\u0118"+
"\7`\2\2\u0118V\3\2\2\2\u0119\u011a\7~\2\2\u011aX\3\2\2\2\u011b\u011c\7"+
"(\2\2\u011c\u011d\7(\2\2\u011dZ\3\2\2\2\u011e\u011f\7~\2\2\u011f\u0120"+
"\7~\2\2\u0120\\\3\2\2\2\u0121\u0122\7\60\2\2\u0122\u0123\7d\2\2\u0123"+
"\u0124\7{\2\2\u0124\u0125\7v\2\2\u0125\u0126\7g\2\2\u0126^\3\2\2\2\u0127"+
"\u0128\7%\2\2\u0128`\3\2\2\2\u0129\u012a\7d\2\2\u012a\u012b\7t\2\2\u012b"+
"\u0208\7m\2\2\u012c\u012d\7q\2\2\u012d\u012e\7t\2\2\u012e\u0208\7c\2\2"+
"\u012f\u0130\7m\2\2\u0130\u0131\7k\2\2\u0131\u0208\7n\2\2\u0132\u0133"+
"\7u\2\2\u0133\u0134\7n\2\2\u0134\u0208\7q\2\2\u0135\u0136\7p\2\2\u0136"+
"\u0137\7q\2\2\u0137\u0208\7r\2\2\u0138\u0139\7c\2\2\u0139\u013a\7u\2\2"+
"\u013a\u0208\7n\2\2\u013b\u013c\7r\2\2\u013c\u013d\7j\2\2\u013d\u0208"+
"\7r\2\2\u013e\u013f\7c\2\2\u013f\u0140\7p\2\2\u0140\u0208\7e\2\2\u0141"+
"\u0142\7d\2\2\u0142\u0143\7r\2\2\u0143\u0208\7n\2\2\u0144\u0145\7e\2\2"+
"\u0145\u0146\7n\2\2\u0146\u0208\7e\2\2\u0147\u0148\7l\2\2\u0148\u0149"+
"\7u\2\2\u0149\u0208\7t\2\2\u014a\u014b\7c\2\2\u014b\u014c\7p\2\2\u014c"+
"\u0208\7f\2\2\u014d\u014e\7t\2\2\u014e\u014f\7n\2\2\u014f\u0208\7c\2\2"+
"\u0150\u0151\7d\2\2\u0151\u0152\7k\2\2\u0152\u0208\7v\2\2\u0153\u0154"+
"\7t\2\2\u0154\u0155\7q\2\2\u0155\u0208\7n\2\2\u0156\u0157\7r\2\2\u0157"+
"\u0158\7n\2\2\u0158\u0208\7c\2\2\u0159\u015a\7r\2\2\u015a\u015b\7n\2\2"+
"\u015b\u0208\7r\2\2\u015c\u015d\7d\2\2\u015d\u015e\7o\2\2\u015e\u0208"+
"\7k\2\2\u015f\u0160\7u\2\2\u0160\u0161\7g\2\2\u0161\u0208\7e\2\2\u0162"+
"\u0163\7t\2\2\u0163\u0164\7v\2\2\u0164\u0208\7k\2\2\u0165\u0166\7g\2\2"+
"\u0166\u0167\7q\2\2\u0167\u0208\7t\2\2\u0168\u0169\7u\2\2\u0169\u016a"+
"\7t\2\2\u016a\u0208\7g\2\2\u016b\u016c\7n\2\2\u016c\u016d\7u\2\2\u016d"+
"\u0208\7t\2\2\u016e\u016f\7r\2\2\u016f\u0170\7j\2\2\u0170\u0208\7c\2\2"+
"\u0171\u0172\7c\2\2\u0172\u0173\7n\2\2\u0173\u0208\7t\2\2\u0174\u0175"+
"\7l\2\2\u0175\u0176\7o\2\2\u0176\u0208\7r\2\2\u0177\u0178\7d\2\2\u0178"+
"\u0179\7x\2\2\u0179\u0208\7e\2\2\u017a\u017b\7e\2\2\u017b\u017c\7n\2\2"+
"\u017c\u0208\7k\2\2\u017d\u017e\7t\2\2\u017e\u017f\7v\2\2\u017f\u0208"+
"\7u\2\2\u0180\u0181\7c\2\2\u0181\u0182\7f\2\2\u0182\u0208\7e\2\2\u0183"+
"\u0184\7t\2\2\u0184\u0185\7t\2\2\u0185\u0208\7c\2\2\u0186\u0187\7d\2\2"+
"\u0187\u0188\7x\2\2\u0188\u0208\7u\2\2\u0189\u018a\7u\2\2\u018a\u018b"+
"\7g\2\2\u018b\u0208\7k\2\2\u018c\u018d\7u\2\2\u018d\u018e\7c\2\2\u018e"+
"\u0208\7z\2\2\u018f\u0190\7u\2\2\u0190\u0191\7v\2\2\u0191\u0208\7{\2\2"+
"\u0192\u0193\7u\2\2\u0193\u0194\7v\2\2\u0194\u0208\7c\2\2\u0195\u0196"+
"\7u\2\2\u0196\u0197\7v\2\2\u0197\u0208\7z\2\2\u0198\u0199\7f\2\2\u0199"+
"\u019a\7g\2\2\u019a\u0208\7{\2\2\u019b\u019c\7v\2\2\u019c\u019d\7z\2\2"+
"\u019d\u0208\7c\2\2\u019e\u019f\7z\2\2\u019f\u01a0\7c\2\2\u01a0\u0208"+
"\7c\2\2\u01a1\u01a2\7d\2\2\u01a2\u01a3\7e\2\2\u01a3\u0208\7e\2\2\u01a4"+
"\u01a5\7c\2\2\u01a5\u01a6\7j\2\2\u01a6\u0208\7z\2\2\u01a7\u01a8\7v\2\2"+
"\u01a8\u01a9\7{\2\2\u01a9\u0208\7c\2\2\u01aa\u01ab\7v\2\2\u01ab\u01ac"+
"\7z\2\2\u01ac\u0208\7u\2\2\u01ad\u01ae\7v\2\2\u01ae\u01af\7c\2\2\u01af"+
"\u0208\7u\2\2\u01b0\u01b1\7u\2\2\u01b1\u01b2\7j\2\2\u01b2\u0208\7{\2\2"+
"\u01b3\u01b4\7u\2\2\u01b4\u01b5\7j\2\2\u01b5\u0208\7z\2\2\u01b6\u01b7"+
"\7n\2\2\u01b7\u01b8\7f\2\2\u01b8\u0208\7{\2\2\u01b9\u01ba\7n\2\2\u01ba"+
"\u01bb\7f\2\2\u01bb\u0208\7c\2\2\u01bc\u01bd\7n\2\2\u01bd\u01be\7f\2\2"+
"\u01be\u0208\7z\2\2\u01bf\u01c0\7n\2\2\u01c0\u01c1\7c\2\2\u01c1\u0208"+
"\7z\2\2\u01c2\u01c3\7v\2\2\u01c3\u01c4\7c\2\2\u01c4\u0208\7{\2\2\u01c5"+
"\u01c6\7v\2\2\u01c6\u01c7\7c\2\2\u01c7\u0208\7z\2\2\u01c8\u01c9\7d\2\2"+
"\u01c9\u01ca\7e\2\2\u01ca\u0208\7u\2\2\u01cb\u01cc\7e\2\2\u01cc\u01cd"+
"\7n\2\2\u01cd\u0208\7x\2\2\u01ce\u01cf\7v\2\2\u01cf\u01d0\7u\2\2\u01d0"+
"\u0208\7z\2\2\u01d1\u01d2\7n\2\2\u01d2\u01d3\7c\2\2\u01d3\u0208\7u\2\2"+
"\u01d4\u01d5\7e\2\2\u01d5\u01d6\7r\2\2\u01d6\u0208\7{\2\2\u01d7\u01d8"+
"\7e\2\2\u01d8\u01d9\7o\2\2\u01d9\u0208\7r\2\2\u01da\u01db\7e\2\2\u01db"+
"\u01dc\7r\2\2\u01dc\u0208\7z\2\2\u01dd\u01de\7f\2\2\u01de\u01df\7e\2\2"+
"\u01df\u0208\7r\2\2\u01e0\u01e1\7f\2\2\u01e1\u01e2\7g\2\2\u01e2\u0208"+
"\7e\2\2\u01e3\u01e4\7k\2\2\u01e4\u01e5\7p\2\2\u01e5\u0208\7e\2\2\u01e6"+
"\u01e7\7c\2\2\u01e7\u01e8\7z\2\2\u01e8\u0208\7u\2\2\u01e9\u01ea\7d\2\2"+
"\u01ea\u01eb\7p\2\2\u01eb\u0208\7g\2\2\u01ec\u01ed\7e\2\2\u01ed\u01ee"+
"\7n\2\2\u01ee\u0208\7f\2\2\u01ef\u01f0\7u\2\2\u01f0\u01f1\7d\2\2\u01f1"+
"\u0208\7e\2\2\u01f2\u01f3\7k\2\2\u01f3\u01f4\7u\2\2\u01f4\u0208\7e\2\2"+
"\u01f5\u01f6\7k\2\2\u01f6\u01f7\7p\2\2\u01f7\u0208\7z\2\2\u01f8\u01f9"+
"\7d\2\2\u01f9\u01fa\7g\2\2\u01fa\u0208\7s\2\2\u01fb\u01fc\7u\2\2\u01fc"+
"\u01fd\7g\2\2\u01fd\u0208\7f\2\2\u01fe\u01ff\7f\2\2\u01ff\u0200\7g\2\2"+
"\u0200\u0208\7z\2\2\u0201\u0202\7k\2\2\u0202\u0203\7p\2\2\u0203\u0208"+
"\7{\2\2\u0204\u0205\7t\2\2\u0205\u0206\7q\2\2\u0206\u0208\7t\2\2\u0207"+
"\u0129\3\2\2\2\u0207\u012c\3\2\2\2\u0207\u012f\3\2\2\2\u0207\u0132\3\2"+
"\2\2\u0207\u0135\3\2\2\2\u0207\u0138\3\2\2\2\u0207\u013b\3\2\2\2\u0207"+
"\u013e\3\2\2\2\u0207\u0141\3\2\2\2\u0207\u0144\3\2\2\2\u0207\u0147\3\2"+
"\2\2\u0207\u014a\3\2\2\2\u0207\u014d\3\2\2\2\u0207\u0150\3\2\2\2\u0207"+
"\u0153\3\2\2\2\u0207\u0156\3\2\2\2\u0207\u0159\3\2\2\2\u0207\u015c\3\2"+
"\2\2\u0207\u015f\3\2\2\2\u0207\u0162\3\2\2\2\u0207\u0165\3\2\2\2\u0207"+
"\u0168\3\2\2\2\u0207\u016b\3\2\2\2\u0207\u016e\3\2\2\2\u0207\u0171\3\2"+
"\2\2\u0207\u0174\3\2\2\2\u0207\u0177\3\2\2\2\u0207\u017a\3\2\2\2\u0207"+
"\u017d\3\2\2\2\u0207\u0180\3\2\2\2\u0207\u0183\3\2\2\2\u0207\u0186\3\2"+
"\2\2\u0207\u0189\3\2\2\2\u0207\u018c\3\2\2\2\u0207\u018f\3\2\2\2\u0207"+
"\u0192\3\2\2\2\u0207\u0195\3\2\2\2\u0207\u0198\3\2\2\2\u0207\u019b\3\2"+
"\2\2\u0207\u019e\3\2\2\2\u0207\u01a1\3\2\2\2\u0207\u01a4\3\2\2\2\u0207"+
"\u01a7\3\2\2\2\u0207\u01aa\3\2\2\2\u0207\u01ad\3\2\2\2\u0207\u01b0\3\2"+
"\2\2\u0207\u01b3\3\2\2\2\u0207\u01b6\3\2\2\2\u0207\u01b9\3\2\2\2\u0207"+
"\u01bc\3\2\2\2\u0207\u01bf\3\2\2\2\u0207\u01c2\3\2\2\2\u0207\u01c5\3\2"+
"\2\2\u0207\u01c8\3\2\2\2\u0207\u01cb\3\2\2\2\u0207\u01ce\3\2\2\2\u0207"+
"\u01d1\3\2\2\2\u0207\u01d4\3\2\2\2\u0207\u01d7\3\2\2\2\u0207\u01da\3\2"+
"\2\2\u0207\u01dd\3\2\2\2\u0207\u01e0\3\2\2\2\u0207\u01e3\3\2\2\2\u0207"+
"\u01e6\3\2\2\2\u0207\u01e9\3\2\2\2\u0207\u01ec\3\2\2\2\u0207\u01ef\3\2"+
"\2\2\u0207\u01f2\3\2\2\2\u0207\u01f5\3\2\2\2\u0207\u01f8\3\2\2\2\u0207"+
"\u01fb\3\2\2\2\u0207\u01fe\3\2\2\2\u0207\u0201\3\2\2\2\u0207\u0204\3\2"+
"\2\2\u0208b\3\2\2\2\u0209\u020a\7d\2\2\u020a\u020b\7{\2\2\u020b\u020c"+
"\7v\2\2\u020c\u021f\7g\2\2\u020d\u020e\7y\2\2\u020e\u020f\7q\2\2\u020f"+
"\u0210\7t\2\2\u0210\u021f\7f\2\2\u0211\u0212\7f\2\2\u0212\u0213\7y\2\2"+
"\u0213\u0214\7q\2\2\u0214\u0215\7t\2\2\u0215\u021f\7f\2\2\u0216\u0217"+
"\7d\2\2\u0217\u0218\7q\2\2\u0218\u0219\7q\2\2\u0219\u021f\7n\2\2\u021a"+
"\u021b\7x\2\2\u021b\u021c\7q\2\2\u021c\u021d\7k\2\2\u021d\u021f\7f\2\2"+
"\u021e\u0209\3\2\2\2\u021e\u020d\3\2\2\2\u021e\u0211\3\2\2\2\u021e\u0216"+
"\3\2\2\2\u021e\u021a\3\2\2\2\u021fd\3\2\2\2\u0220\u0226\7$\2\2\u0221\u0222"+
"\7^\2\2\u0222\u0225\7$\2\2\u0223\u0225\n\2\2\2\u0224\u0221\3\2\2\2\u0224"+
"\u0223\3\2\2\2\u0225\u0228\3\2\2\2\u0226\u0224\3\2\2\2\u0226\u0227\3\2"+
"\2\2\u0227\u0229\3\2\2\2\u0228\u0226\3\2\2\2\u0229\u022a\7$\2\2\u022a"+
"f\3\2\2\2\u022b\u022f\7)\2\2\u022c\u022d\7^\2\2\u022d\u0230\7)\2\2\u022e"+
"\u0230\n\3\2\2\u022f\u022c\3\2\2\2\u022f\u022e\3\2\2\2\u0230\u0231\3\2"+
"\2\2\u0231\u0232\7)\2\2\u0232h\3\2\2\2\u0233\u0234\7v\2\2\u0234\u0235"+
"\7t\2\2\u0235\u0236\7w\2\2\u0236\u023d\7g\2\2\u0237\u0238\7h\2\2\u0238"+
"\u0239\7c\2\2\u0239\u023a\7n\2\2\u023a\u023b\7u\2\2\u023b\u023d\7g\2\2"+
"\u023c\u0233\3\2\2\2\u023c\u0237\3\2\2\2\u023dj\3\2\2\2\u023e\u0241\5"+
"m\67\2\u023f\u0241\5u;\2\u0240\u023e\3\2\2\2\u0240\u023f\3\2\2\2\u0241"+
"l\3\2\2\2\u0242\u0246\5o8\2\u0243\u0246\5q9\2\u0244\u0246\5s:\2\u0245"+
"\u0242\3\2\2\2\u0245\u0243\3\2\2\2\u0245\u0244\3\2\2\2\u0246n\3\2\2\2"+
"\u0247\u024d\7\'\2\2\u0248\u0249\7\62\2\2\u0249\u024d\7d\2\2\u024a\u024b"+
"\7\62\2\2\u024b\u024d\7D\2\2\u024c\u0247\3\2\2\2\u024c\u0248\3\2\2\2\u024c"+
"\u024a\3\2\2\2\u024d\u0251\3\2\2\2\u024e\u0250\5}?\2\u024f\u024e\3\2\2"+
"\2\u0250\u0253\3\2\2\2\u0251\u024f\3\2\2\2\u0251\u0252\3\2\2\2\u0252\u0254"+
"\3\2\2\2\u0253\u0251\3\2\2\2\u0254\u0256\7\60\2\2\u0255\u0257\5}?\2\u0256"+
"\u0255\3\2\2\2\u0257\u0258\3\2\2\2\u0258\u0256\3\2\2\2\u0258\u0259\3\2"+
"\2\2\u0259p\3\2\2\2\u025a\u025c\5\177@\2\u025b\u025a\3\2\2\2\u025c\u025f"+
"\3\2\2\2\u025d\u025b\3\2\2\2\u025d\u025e\3\2\2\2\u025e\u0260\3\2\2\2\u025f"+
"\u025d\3\2\2\2\u0260\u0262\7\60\2\2\u0261\u0263\5\177@\2\u0262\u0261\3"+
"\2\2\2\u0263\u0264\3\2\2\2\u0264\u0262\3\2\2\2\u0264\u0265\3\2\2\2\u0265"+
"r\3\2\2\2\u0266\u026c\7&\2\2\u0267\u0268\7\62\2\2\u0268\u026c\7z\2\2\u0269"+
"\u026a\7\62\2\2\u026a\u026c\7Z\2\2\u026b\u0266\3\2\2\2\u026b\u0267\3\2"+
"\2\2\u026b\u0269\3\2\2\2\u026c\u0270\3\2\2\2\u026d\u026f\5\u0081A\2\u026e"+
"\u026d\3\2\2\2\u026f\u0272\3\2\2\2\u0270\u026e\3\2\2\2\u0270\u0271\3\2"+
"\2\2\u0271\u0273\3\2\2\2\u0272\u0270\3\2\2\2\u0273\u0275\7\60\2\2\u0274"+
"\u0276\5\u0081A\2\u0275\u0274\3\2\2\2\u0276\u0277\3\2\2\2\u0277\u0275"+
"\3\2\2\2\u0277\u0278\3\2\2\2\u0278t\3\2\2\2\u0279\u027d\5y=\2\u027a\u027d"+
"\5{>\2\u027b\u027d\5w<\2\u027c\u0279\3\2\2\2\u027c\u027a\3\2\2\2\u027c"+
"\u027b\3\2\2\2\u027dv\3\2\2\2\u027e\u027f\7\62\2\2\u027f\u0281\t\4\2\2"+
"\u0280\u0282\5}?\2\u0281\u0280\3\2\2\2\u0282\u0283\3\2\2\2\u0283\u0281"+
"\3\2\2\2\u0283\u0284\3\2\2\2\u0284\u028c\3\2\2\2\u0285\u0287\7\'\2\2\u0286"+
"\u0288\5}?\2\u0287\u0286\3\2\2\2\u0288\u0289\3\2\2\2\u0289\u0287\3\2\2"+
"\2\u0289\u028a\3\2\2\2\u028a\u028c\3\2\2\2\u028b\u027e\3\2\2\2\u028b\u0285"+
"\3\2\2\2\u028cx\3\2\2\2\u028d\u028f\5\177@\2\u028e\u028d\3\2\2\2\u028f"+
"\u0290\3\2\2\2\u0290\u028e\3\2\2\2\u0290\u0291\3\2\2\2\u0291z\3\2\2\2"+
"\u0292\u0298\7&\2\2\u0293\u0294\7\62\2\2\u0294\u0298\7z\2\2\u0295\u0296"+
"\7\62\2\2\u0296\u0298\7Z\2\2\u0297\u0292\3\2\2\2\u0297\u0293\3\2\2\2\u0297"+
"\u0295\3\2\2\2\u0298\u029a\3\2\2\2\u0299\u029b\5\u0081A\2\u029a\u0299"+
"\3\2\2\2\u029b\u029c\3\2\2\2\u029c\u029a\3\2\2\2\u029c\u029d\3\2\2\2\u029d"+
"|\3\2\2\2\u029e\u029f\t\5\2\2\u029f~\3\2\2\2\u02a0\u02a1\t\6\2\2\u02a1"+
"\u0080\3\2\2\2\u02a2\u02a3\t\7\2\2\u02a3\u0082\3\2\2\2\u02a4\u02a8\5\u0085"+
"C\2\u02a5\u02a7\5\u0087D\2\u02a6\u02a5\3\2\2\2\u02a7\u02aa\3\2\2\2\u02a8"+
"\u02a6\3\2\2\2\u02a8\u02a9\3\2\2\2\u02a9\u0084\3\2\2\2\u02aa\u02a8\3\2"+
"\2\2\u02ab\u02ac\t\b\2\2\u02ac\u0086\3\2\2\2\u02ad\u02ae\t\t\2\2\u02ae"+
"\u0088\3\2\2\2\u02af\u02b3\7#\2\2\u02b0\u02b2\5\u0087D\2\u02b1\u02b0\3"+
"\2\2\2\u02b2\u02b5\3\2\2\2\u02b3\u02b1\3\2\2\2\u02b3\u02b4\3\2\2\2\u02b4"+
"\u02b7\3\2\2\2\u02b5\u02b3\3\2\2\2\u02b6\u02b8\t\n\2\2\u02b7\u02b6\3\2"+
"\2\2\u02b8\u02b9\3\2\2\2\u02b9\u02b7\3\2\2\2\u02b9\u02ba\3\2\2\2\u02ba"+
"\u008a\3\2\2\2\u02bb\u02bd\t\13\2\2\u02bc\u02bb\3\2\2\2\u02bd\u02be\3"+
"\2\2\2\u02be\u02bc\3\2\2\2\u02be\u02bf\3\2\2\2\u02bf\u02c0\3\2\2\2\u02c0"+
"\u02c1\bF\2\2\u02c1\u008c\3\2\2\2\u02c2\u02c3\7\61\2\2\u02c3\u02c4\7\61"+
"\2\2\u02c4\u02c8\3\2\2\2\u02c5\u02c7\n\f\2\2\u02c6\u02c5\3\2\2\2\u02c7"+
"\u02ca\3\2\2\2\u02c8\u02c6\3\2\2\2\u02c8\u02c9\3\2\2\2\u02c9\u02cb\3\2"+
"\2\2\u02ca\u02c8\3\2\2\2\u02cb\u02cc\bG\2\2\u02cc\u008e\3\2\2\2\u02cd"+
"\u02ce\7\61\2\2\u02ce\u02cf\7,\2\2\u02cf\u02d3\3\2\2\2\u02d0\u02d2\13"+
"\2\2\2\u02d1\u02d0\3\2\2\2\u02d2\u02d5\3\2\2\2\u02d3\u02d4\3\2\2\2\u02d3"+
"\u02d1\3\2\2\2\u02d4\u02d6\3\2\2\2\u02d5\u02d3\3\2\2\2\u02d6\u02d7\7,"+
"\2\2\u02d7\u02d8\7\61\2\2\u02d8\u02d9\3\2\2\2\u02d9\u02da\bH\2\2\u02da"+
"\u0090\3\2\2\2 \2\u0207\u021e\u0224\u0226\u022f\u023c\u0240\u0245\u024c"+
"\u0251\u0258\u025d\u0264\u026b\u0270\u0277\u027c\u0283\u0289\u028b\u0290"+
"\u0297\u029c\u02a8\u02b3\u02b9\u02be\u02c8\u02d3\3\b\2\2";
"e\64g\65i\66k\67m8o9q:s;u<w=y>{?}@\177A\u0081B\u0083C\u0085D\u0087E\u0089"+
"F\u008bG\u008dH\u008fI\u0091\2\u0093\2\u0095\2\u0097J\u0099\2\u009b\2"+
"\u009dK\u009fL\u00a1M\u00a3N\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--//\5\2\13\f\17\17\"\"\4\2"+
"\f\f\17\17\2\u0376\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\u0097\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\3\u00a5\3\2\2\2\5\u00ac"+
"\3\2\2\2\7\u00ae\3\2\2\2\t\u00b0\3\2\2\2\13\u00b2\3\2\2\2\r\u00b4\3\2"+
"\2\2\17\u00b6\3\2\2\2\21\u00b8\3\2\2\2\23\u00ba\3\2\2\2\25\u00c0\3\2\2"+
"\2\27\u00c6\3\2\2\2\31\u00cf\3\2\2\2\33\u00d2\3\2\2\2\35\u00d7\3\2\2\2"+
"\37\u00dd\3\2\2\2!\u00e0\3\2\2\2#\u00e4\3\2\2\2%\u00eb\3\2\2\2\'\u00ef"+
"\3\2\2\2)\u00f1\3\2\2\2+\u00f4\3\2\2\2-\u00fb\3\2\2\2/\u00fd\3\2\2\2\61"+
"\u00ff\3\2\2\2\63\u0101\3\2\2\2\65\u0104\3\2\2\2\67\u0107\3\2\2\29\u0109"+
"\3\2\2\2;\u010b\3\2\2\2=\u010d\3\2\2\2?\u010f\3\2\2\2A\u0111\3\2\2\2C"+
"\u0114\3\2\2\2E\u0117\3\2\2\2G\u0119\3\2\2\2I\u011b\3\2\2\2K\u011d\3\2"+
"\2\2M\u011f\3\2\2\2O\u0122\3\2\2\2Q\u0125\3\2\2\2S\u0128\3\2\2\2U\u012b"+
"\3\2\2\2W\u012d\3\2\2\2Y\u012f\3\2\2\2[\u0132\3\2\2\2]\u0135\3\2\2\2_"+
"\u0138\3\2\2\2a\u013b\3\2\2\2c\u013e\3\2\2\2e\u0141\3\2\2\2g\u0144\3\2"+
"\2\2i\u0148\3\2\2\2k\u014c\3\2\2\2m\u014f\3\2\2\2o\u0152\3\2\2\2q\u0155"+
"\3\2\2\2s\u015b\3\2\2\2u\u023b\3\2\2\2w\u0252\3\2\2\2y\u0254\3\2\2\2{"+
"\u025f\3\2\2\2}\u0270\3\2\2\2\177\u0274\3\2\2\2\u0081\u0279\3\2\2\2\u0083"+
"\u0280\3\2\2\2\u0085\u0291\3\2\2\2\u0087\u029f\3\2\2\2\u0089\u02b0\3\2"+
"\2\2\u008b\u02bf\3\2\2\2\u008d\u02c2\3\2\2\2\u008f\u02cb\3\2\2\2\u0091"+
"\u02d2\3\2\2\2\u0093\u02d4\3\2\2\2\u0095\u02d6\3\2\2\2\u0097\u02d8\3\2"+
"\2\2\u0099\u02df\3\2\2\2\u009b\u02e1\3\2\2\2\u009d\u02e3\3\2\2\2\u009f"+
"\u02f0\3\2\2\2\u00a1\u02f6\3\2\2\2\u00a3\u0301\3\2\2\2\u00a5\u00a6\7k"+
"\2\2\u00a6\u00a7\7o\2\2\u00a7\u00a8\7r\2\2\u00a8\u00a9\7q\2\2\u00a9\u00aa"+
"\7t\2\2\u00aa\u00ab\7v\2\2\u00ab\4\3\2\2\2\u00ac\u00ad\7*\2\2\u00ad\6"+
"\3\2\2\2\u00ae\u00af\7+\2\2\u00af\b\3\2\2\2\u00b0\u00b1\7}\2\2\u00b1\n"+
"\3\2\2\2\u00b2\u00b3\7\177\2\2\u00b3\f\3\2\2\2\u00b4\u00b5\7.\2\2\u00b5"+
"\16\3\2\2\2\u00b6\u00b7\7?\2\2\u00b7\20\3\2\2\2\u00b8\u00b9\7=\2\2\u00b9"+
"\22\3\2\2\2\u00ba\u00bb\7e\2\2\u00bb\u00bc\7q\2\2\u00bc\u00bd\7p\2\2\u00bd"+
"\u00be\7u\2\2\u00be\u00bf\7v\2\2\u00bf\24\3\2\2\2\u00c0\u00c1\7c\2\2\u00c1"+
"\u00c2\7n\2\2\u00c2\u00c3\7k\2\2\u00c3\u00c4\7i\2\2\u00c4\u00c5\7p\2\2"+
"\u00c5\26\3\2\2\2\u00c6\u00c7\7t\2\2\u00c7\u00c8\7g\2\2\u00c8\u00c9\7"+
"i\2\2\u00c9\u00ca\7k\2\2\u00ca\u00cb\7u\2\2\u00cb\u00cc\7v\2\2\u00cc\u00cd"+
"\7g\2\2\u00cd\u00ce\7t\2\2\u00ce\30\3\2\2\2\u00cf\u00d0\7k\2\2\u00d0\u00d1"+
"\7h\2\2\u00d1\32\3\2\2\2\u00d2\u00d3\7g\2\2\u00d3\u00d4\7n\2\2\u00d4\u00d5"+
"\7u\2\2\u00d5\u00d6\7g\2\2\u00d6\34\3\2\2\2\u00d7\u00d8\7y\2\2\u00d8\u00d9"+
"\7j\2\2\u00d9\u00da\7k\2\2\u00da\u00db\7n\2\2\u00db\u00dc\7g\2\2\u00dc"+
"\36\3\2\2\2\u00dd\u00de\7f\2\2\u00de\u00df\7q\2\2\u00df \3\2\2\2\u00e0"+
"\u00e1\7h\2\2\u00e1\u00e2\7q\2\2\u00e2\u00e3\7t\2\2\u00e3\"\3\2\2\2\u00e4"+
"\u00e5\7t\2\2\u00e5\u00e6\7g\2\2\u00e6\u00e7\7v\2\2\u00e7\u00e8\7w\2\2"+
"\u00e8\u00e9\7t\2\2\u00e9\u00ea\7p\2\2\u00ea$\3\2\2\2\u00eb\u00ec\7c\2"+
"\2\u00ec\u00ed\7u\2\2\u00ed\u00ee\7o\2\2\u00ee&\3\2\2\2\u00ef\u00f0\7"+
"<\2\2\u00f0(\3\2\2\2\u00f1\u00f2\7\60\2\2\u00f2\u00f3\7\60\2\2\u00f3*"+
"\3\2\2\2\u00f4\u00f5\7u\2\2\u00f5\u00f6\7k\2\2\u00f6\u00f7\7i\2\2\u00f7"+
"\u00f8\7p\2\2\u00f8\u00f9\7g\2\2\u00f9\u00fa\7f\2\2\u00fa,\3\2\2\2\u00fb"+
"\u00fc\7,\2\2\u00fc.\3\2\2\2\u00fd\u00fe\7]\2\2\u00fe\60\3\2\2\2\u00ff"+
"\u0100\7_\2\2\u0100\62\3\2\2\2\u0101\u0102\7/\2\2\u0102\u0103\7/\2\2\u0103"+
"\64\3\2\2\2\u0104\u0105\7-\2\2\u0105\u0106\7-\2\2\u0106\66\3\2\2\2\u0107"+
"\u0108\7-\2\2\u01088\3\2\2\2\u0109\u010a\7/\2\2\u010a:\3\2\2\2\u010b\u010c"+
"\7#\2\2\u010c<\3\2\2\2\u010d\u010e\7(\2\2\u010e>\3\2\2\2\u010f\u0110\7"+
"\u0080\2\2\u0110@\3\2\2\2\u0111\u0112\7@\2\2\u0112\u0113\7@\2\2\u0113"+
"B\3\2\2\2\u0114\u0115\7>\2\2\u0115\u0116\7>\2\2\u0116D\3\2\2\2\u0117\u0118"+
"\7\61\2\2\u0118F\3\2\2\2\u0119\u011a\7\'\2\2\u011aH\3\2\2\2\u011b\u011c"+
"\7>\2\2\u011cJ\3\2\2\2\u011d\u011e\7@\2\2\u011eL\3\2\2\2\u011f\u0120\7"+
"?\2\2\u0120\u0121\7?\2\2\u0121N\3\2\2\2\u0122\u0123\7#\2\2\u0123\u0124"+
"\7?\2\2\u0124P\3\2\2\2\u0125\u0126\7>\2\2\u0126\u0127\7?\2\2\u0127R\3"+
"\2\2\2\u0128\u0129\7@\2\2\u0129\u012a\7?\2\2\u012aT\3\2\2\2\u012b\u012c"+
"\7`\2\2\u012cV\3\2\2\2\u012d\u012e\7~\2\2\u012eX\3\2\2\2\u012f\u0130\7"+
"(\2\2\u0130\u0131\7(\2\2\u0131Z\3\2\2\2\u0132\u0133\7~\2\2\u0133\u0134"+
"\7~\2\2\u0134\\\3\2\2\2\u0135\u0136\7-\2\2\u0136\u0137\7?\2\2\u0137^\3"+
"\2\2\2\u0138\u0139\7/\2\2\u0139\u013a\7?\2\2\u013a`\3\2\2\2\u013b\u013c"+
"\7,\2\2\u013c\u013d\7?\2\2\u013db\3\2\2\2\u013e\u013f\7\61\2\2\u013f\u0140"+
"\7?\2\2\u0140d\3\2\2\2\u0141\u0142\7\'\2\2\u0142\u0143\7?\2\2\u0143f\3"+
"\2\2\2\u0144\u0145\7>\2\2\u0145\u0146\7>\2\2\u0146\u0147\7?\2\2\u0147"+
"h\3\2\2\2\u0148\u0149\7@\2\2\u0149\u014a\7@\2\2\u014a\u014b\7?\2\2\u014b"+
"j\3\2\2\2\u014c\u014d\7(\2\2\u014d\u014e\7?\2\2\u014el\3\2\2\2\u014f\u0150"+
"\7~\2\2\u0150\u0151\7?\2\2\u0151n\3\2\2\2\u0152\u0153\7`\2\2\u0153\u0154"+
"\7?\2\2\u0154p\3\2\2\2\u0155\u0156\7\60\2\2\u0156\u0157\7d\2\2\u0157\u0158"+
"\7{\2\2\u0158\u0159\7v\2\2\u0159\u015a\7g\2\2\u015ar\3\2\2\2\u015b\u015c"+
"\7%\2\2\u015ct\3\2\2\2\u015d\u015e\7d\2\2\u015e\u015f\7t\2\2\u015f\u023c"+
"\7m\2\2\u0160\u0161\7q\2\2\u0161\u0162\7t\2\2\u0162\u023c\7c\2\2\u0163"+
"\u0164\7m\2\2\u0164\u0165\7k\2\2\u0165\u023c\7n\2\2\u0166\u0167\7u\2\2"+
"\u0167\u0168\7n\2\2\u0168\u023c\7q\2\2\u0169\u016a\7p\2\2\u016a\u016b"+
"\7q\2\2\u016b\u023c\7r\2\2\u016c\u016d\7c\2\2\u016d\u016e\7u\2\2\u016e"+
"\u023c\7n\2\2\u016f\u0170\7r\2\2\u0170\u0171\7j\2\2\u0171\u023c\7r\2\2"+
"\u0172\u0173\7c\2\2\u0173\u0174\7p\2\2\u0174\u023c\7e\2\2\u0175\u0176"+
"\7d\2\2\u0176\u0177\7r\2\2\u0177\u023c\7n\2\2\u0178\u0179\7e\2\2\u0179"+
"\u017a\7n\2\2\u017a\u023c\7e\2\2\u017b\u017c\7l\2\2\u017c\u017d\7u\2\2"+
"\u017d\u023c\7t\2\2\u017e\u017f\7c\2\2\u017f\u0180\7p\2\2\u0180\u023c"+
"\7f\2\2\u0181\u0182\7t\2\2\u0182\u0183\7n\2\2\u0183\u023c\7c\2\2\u0184"+
"\u0185\7d\2\2\u0185\u0186\7k\2\2\u0186\u023c\7v\2\2\u0187\u0188\7t\2\2"+
"\u0188\u0189\7q\2\2\u0189\u023c\7n\2\2\u018a\u018b\7r\2\2\u018b\u018c"+
"\7n\2\2\u018c\u023c\7c\2\2\u018d\u018e\7r\2\2\u018e\u018f\7n\2\2\u018f"+
"\u023c\7r\2\2\u0190\u0191\7d\2\2\u0191\u0192\7o\2\2\u0192\u023c\7k\2\2"+
"\u0193\u0194\7u\2\2\u0194\u0195\7g\2\2\u0195\u023c\7e\2\2\u0196\u0197"+
"\7t\2\2\u0197\u0198\7v\2\2\u0198\u023c\7k\2\2\u0199\u019a\7g\2\2\u019a"+
"\u019b\7q\2\2\u019b\u023c\7t\2\2\u019c\u019d\7u\2\2\u019d\u019e\7t\2\2"+
"\u019e\u023c\7g\2\2\u019f\u01a0\7n\2\2\u01a0\u01a1\7u\2\2\u01a1\u023c"+
"\7t\2\2\u01a2\u01a3\7r\2\2\u01a3\u01a4\7j\2\2\u01a4\u023c\7c\2\2\u01a5"+
"\u01a6\7c\2\2\u01a6\u01a7\7n\2\2\u01a7\u023c\7t\2\2\u01a8\u01a9\7l\2\2"+
"\u01a9\u01aa\7o\2\2\u01aa\u023c\7r\2\2\u01ab\u01ac\7d\2\2\u01ac\u01ad"+
"\7x\2\2\u01ad\u023c\7e\2\2\u01ae\u01af\7e\2\2\u01af\u01b0\7n\2\2\u01b0"+
"\u023c\7k\2\2\u01b1\u01b2\7t\2\2\u01b2\u01b3\7v\2\2\u01b3\u023c\7u\2\2"+
"\u01b4\u01b5\7c\2\2\u01b5\u01b6\7f\2\2\u01b6\u023c\7e\2\2\u01b7\u01b8"+
"\7t\2\2\u01b8\u01b9\7t\2\2\u01b9\u023c\7c\2\2\u01ba\u01bb\7d\2\2\u01bb"+
"\u01bc\7x\2\2\u01bc\u023c\7u\2\2\u01bd\u01be\7u\2\2\u01be\u01bf\7g\2\2"+
"\u01bf\u023c\7k\2\2\u01c0\u01c1\7u\2\2\u01c1\u01c2\7c\2\2\u01c2\u023c"+
"\7z\2\2\u01c3\u01c4\7u\2\2\u01c4\u01c5\7v\2\2\u01c5\u023c\7{\2\2\u01c6"+
"\u01c7\7u\2\2\u01c7\u01c8\7v\2\2\u01c8\u023c\7c\2\2\u01c9\u01ca\7u\2\2"+
"\u01ca\u01cb\7v\2\2\u01cb\u023c\7z\2\2\u01cc\u01cd\7f\2\2\u01cd\u01ce"+
"\7g\2\2\u01ce\u023c\7{\2\2\u01cf\u01d0\7v\2\2\u01d0\u01d1\7z\2\2\u01d1"+
"\u023c\7c\2\2\u01d2\u01d3\7z\2\2\u01d3\u01d4\7c\2\2\u01d4\u023c\7c\2\2"+
"\u01d5\u01d6\7d\2\2\u01d6\u01d7\7e\2\2\u01d7\u023c\7e\2\2\u01d8\u01d9"+
"\7c\2\2\u01d9\u01da\7j\2\2\u01da\u023c\7z\2\2\u01db\u01dc\7v\2\2\u01dc"+
"\u01dd\7{\2\2\u01dd\u023c\7c\2\2\u01de\u01df\7v\2\2\u01df\u01e0\7z\2\2"+
"\u01e0\u023c\7u\2\2\u01e1\u01e2\7v\2\2\u01e2\u01e3\7c\2\2\u01e3\u023c"+
"\7u\2\2\u01e4\u01e5\7u\2\2\u01e5\u01e6\7j\2\2\u01e6\u023c\7{\2\2\u01e7"+
"\u01e8\7u\2\2\u01e8\u01e9\7j\2\2\u01e9\u023c\7z\2\2\u01ea\u01eb\7n\2\2"+
"\u01eb\u01ec\7f\2\2\u01ec\u023c\7{\2\2\u01ed\u01ee\7n\2\2\u01ee\u01ef"+
"\7f\2\2\u01ef\u023c\7c\2\2\u01f0\u01f1\7n\2\2\u01f1\u01f2\7f\2\2\u01f2"+
"\u023c\7z\2\2\u01f3\u01f4\7n\2\2\u01f4\u01f5\7c\2\2\u01f5\u023c\7z\2\2"+
"\u01f6\u01f7\7v\2\2\u01f7\u01f8\7c\2\2\u01f8\u023c\7{\2\2\u01f9\u01fa"+
"\7v\2\2\u01fa\u01fb\7c\2\2\u01fb\u023c\7z\2\2\u01fc\u01fd\7d\2\2\u01fd"+
"\u01fe\7e\2\2\u01fe\u023c\7u\2\2\u01ff\u0200\7e\2\2\u0200\u0201\7n\2\2"+
"\u0201\u023c\7x\2\2\u0202\u0203\7v\2\2\u0203\u0204\7u\2\2\u0204\u023c"+
"\7z\2\2\u0205\u0206\7n\2\2\u0206\u0207\7c\2\2\u0207\u023c\7u\2\2\u0208"+
"\u0209\7e\2\2\u0209\u020a\7r\2\2\u020a\u023c\7{\2\2\u020b\u020c\7e\2\2"+
"\u020c\u020d\7o\2\2\u020d\u023c\7r\2\2\u020e\u020f\7e\2\2\u020f\u0210"+
"\7r\2\2\u0210\u023c\7z\2\2\u0211\u0212\7f\2\2\u0212\u0213\7e\2\2\u0213"+
"\u023c\7r\2\2\u0214\u0215\7f\2\2\u0215\u0216\7g\2\2\u0216\u023c\7e\2\2"+
"\u0217\u0218\7k\2\2\u0218\u0219\7p\2\2\u0219\u023c\7e\2\2\u021a\u021b"+
"\7c\2\2\u021b\u021c\7z\2\2\u021c\u023c\7u\2\2\u021d\u021e\7d\2\2\u021e"+
"\u021f\7p\2\2\u021f\u023c\7g\2\2\u0220\u0221\7e\2\2\u0221\u0222\7n\2\2"+
"\u0222\u023c\7f\2\2\u0223\u0224\7u\2\2\u0224\u0225\7d\2\2\u0225\u023c"+
"\7e\2\2\u0226\u0227\7k\2\2\u0227\u0228\7u\2\2\u0228\u023c\7e\2\2\u0229"+
"\u022a\7k\2\2\u022a\u022b\7p\2\2\u022b\u023c\7z\2\2\u022c\u022d\7d\2\2"+
"\u022d\u022e\7g\2\2\u022e\u023c\7s\2\2\u022f\u0230\7u\2\2\u0230\u0231"+
"\7g\2\2\u0231\u023c\7f\2\2\u0232\u0233\7f\2\2\u0233\u0234\7g\2\2\u0234"+
"\u023c\7z\2\2\u0235\u0236\7k\2\2\u0236\u0237\7p\2\2\u0237\u023c\7{\2\2"+
"\u0238\u0239\7t\2\2\u0239\u023a\7q\2\2\u023a\u023c\7t\2\2\u023b\u015d"+
"\3\2\2\2\u023b\u0160\3\2\2\2\u023b\u0163\3\2\2\2\u023b\u0166\3\2\2\2\u023b"+
"\u0169\3\2\2\2\u023b\u016c\3\2\2\2\u023b\u016f\3\2\2\2\u023b\u0172\3\2"+
"\2\2\u023b\u0175\3\2\2\2\u023b\u0178\3\2\2\2\u023b\u017b\3\2\2\2\u023b"+
"\u017e\3\2\2\2\u023b\u0181\3\2\2\2\u023b\u0184\3\2\2\2\u023b\u0187\3\2"+
"\2\2\u023b\u018a\3\2\2\2\u023b\u018d\3\2\2\2\u023b\u0190\3\2\2\2\u023b"+
"\u0193\3\2\2\2\u023b\u0196\3\2\2\2\u023b\u0199\3\2\2\2\u023b\u019c\3\2"+
"\2\2\u023b\u019f\3\2\2\2\u023b\u01a2\3\2\2\2\u023b\u01a5\3\2\2\2\u023b"+
"\u01a8\3\2\2\2\u023b\u01ab\3\2\2\2\u023b\u01ae\3\2\2\2\u023b\u01b1\3\2"+
"\2\2\u023b\u01b4\3\2\2\2\u023b\u01b7\3\2\2\2\u023b\u01ba\3\2\2\2\u023b"+
"\u01bd\3\2\2\2\u023b\u01c0\3\2\2\2\u023b\u01c3\3\2\2\2\u023b\u01c6\3\2"+
"\2\2\u023b\u01c9\3\2\2\2\u023b\u01cc\3\2\2\2\u023b\u01cf\3\2\2\2\u023b"+
"\u01d2\3\2\2\2\u023b\u01d5\3\2\2\2\u023b\u01d8\3\2\2\2\u023b\u01db\3\2"+
"\2\2\u023b\u01de\3\2\2\2\u023b\u01e1\3\2\2\2\u023b\u01e4\3\2\2\2\u023b"+
"\u01e7\3\2\2\2\u023b\u01ea\3\2\2\2\u023b\u01ed\3\2\2\2\u023b\u01f0\3\2"+
"\2\2\u023b\u01f3\3\2\2\2\u023b\u01f6\3\2\2\2\u023b\u01f9\3\2\2\2\u023b"+
"\u01fc\3\2\2\2\u023b\u01ff\3\2\2\2\u023b\u0202\3\2\2\2\u023b\u0205\3\2"+
"\2\2\u023b\u0208\3\2\2\2\u023b\u020b\3\2\2\2\u023b\u020e\3\2\2\2\u023b"+
"\u0211\3\2\2\2\u023b\u0214\3\2\2\2\u023b\u0217\3\2\2\2\u023b\u021a\3\2"+
"\2\2\u023b\u021d\3\2\2\2\u023b\u0220\3\2\2\2\u023b\u0223\3\2\2\2\u023b"+
"\u0226\3\2\2\2\u023b\u0229\3\2\2\2\u023b\u022c\3\2\2\2\u023b\u022f\3\2"+
"\2\2\u023b\u0232\3\2\2\2\u023b\u0235\3\2\2\2\u023b\u0238\3\2\2\2\u023c"+
"v\3\2\2\2\u023d\u023e\7d\2\2\u023e\u023f\7{\2\2\u023f\u0240\7v\2\2\u0240"+
"\u0253\7g\2\2\u0241\u0242\7y\2\2\u0242\u0243\7q\2\2\u0243\u0244\7t\2\2"+
"\u0244\u0253\7f\2\2\u0245\u0246\7f\2\2\u0246\u0247\7y\2\2\u0247\u0248"+
"\7q\2\2\u0248\u0249\7t\2\2\u0249\u0253\7f\2\2\u024a\u024b\7d\2\2\u024b"+
"\u024c\7q\2\2\u024c\u024d\7q\2\2\u024d\u0253\7n\2\2\u024e\u024f\7x\2\2"+
"\u024f\u0250\7q\2\2\u0250\u0251\7k\2\2\u0251\u0253\7f\2\2\u0252\u023d"+
"\3\2\2\2\u0252\u0241\3\2\2\2\u0252\u0245\3\2\2\2\u0252\u024a\3\2\2\2\u0252"+
"\u024e\3\2\2\2\u0253x\3\2\2\2\u0254\u025a\7$\2\2\u0255\u0256\7^\2\2\u0256"+
"\u0259\7$\2\2\u0257\u0259\n\2\2\2\u0258\u0255\3\2\2\2\u0258\u0257\3\2"+
"\2\2\u0259\u025c\3\2\2\2\u025a\u0258\3\2\2\2\u025a\u025b\3\2\2\2\u025b"+
"\u025d\3\2\2\2\u025c\u025a\3\2\2\2\u025d\u025e\7$\2\2\u025ez\3\2\2\2\u025f"+
"\u0263\7)\2\2\u0260\u0261\7^\2\2\u0261\u0264\7)\2\2\u0262\u0264\n\3\2"+
"\2\u0263\u0260\3\2\2\2\u0263\u0262\3\2\2\2\u0264\u0265\3\2\2\2\u0265\u0266"+
"\7)\2\2\u0266|\3\2\2\2\u0267\u0268\7v\2\2\u0268\u0269\7t\2\2\u0269\u026a"+
"\7w\2\2\u026a\u0271\7g\2\2\u026b\u026c\7h\2\2\u026c\u026d\7c\2\2\u026d"+
"\u026e\7n\2\2\u026e\u026f\7u\2\2\u026f\u0271\7g\2\2\u0270\u0267\3\2\2"+
"\2\u0270\u026b\3\2\2\2\u0271~\3\2\2\2\u0272\u0275\5\u0081A\2\u0273\u0275"+
"\5\u0089E\2\u0274\u0272\3\2\2\2\u0274\u0273\3\2\2\2\u0275\u0080\3\2\2"+
"\2\u0276\u027a\5\u0083B\2\u0277\u027a\5\u0085C\2\u0278\u027a\5\u0087D"+
"\2\u0279\u0276\3\2\2\2\u0279\u0277\3\2\2\2\u0279\u0278\3\2\2\2\u027a\u0082"+
"\3\2\2\2\u027b\u0281\7\'\2\2\u027c\u027d\7\62\2\2\u027d\u0281\7d\2\2\u027e"+
"\u027f\7\62\2\2\u027f\u0281\7D\2\2\u0280\u027b\3\2\2\2\u0280\u027c\3\2"+
"\2\2\u0280\u027e\3\2\2\2\u0281\u0285\3\2\2\2\u0282\u0284\5\u0091I\2\u0283"+
"\u0282\3\2\2\2\u0284\u0287\3\2\2\2\u0285\u0283\3\2\2\2\u0285\u0286\3\2"+
"\2\2\u0286\u0288\3\2\2\2\u0287\u0285\3\2\2\2\u0288\u028a\7\60\2\2\u0289"+
"\u028b\5\u0091I\2\u028a\u0289\3\2\2\2\u028b\u028c\3\2\2\2\u028c\u028a"+
"\3\2\2\2\u028c\u028d\3\2\2\2\u028d\u0084\3\2\2\2\u028e\u0290\5\u0093J"+
"\2\u028f\u028e\3\2\2\2\u0290\u0293\3\2\2\2\u0291\u028f\3\2\2\2\u0291\u0292"+
"\3\2\2\2\u0292\u0294\3\2\2\2\u0293\u0291\3\2\2\2\u0294\u0296\7\60\2\2"+
"\u0295\u0297\5\u0093J\2\u0296\u0295\3\2\2\2\u0297\u0298\3\2\2\2\u0298"+
"\u0296\3\2\2\2\u0298\u0299\3\2\2\2\u0299\u0086\3\2\2\2\u029a\u02a0\7&"+
"\2\2\u029b\u029c\7\62\2\2\u029c\u02a0\7z\2\2\u029d\u029e\7\62\2\2\u029e"+
"\u02a0\7Z\2\2\u029f\u029a\3\2\2\2\u029f\u029b\3\2\2\2\u029f\u029d\3\2"+
"\2\2\u02a0\u02a4\3\2\2\2\u02a1\u02a3\5\u0095K\2\u02a2\u02a1\3\2\2\2\u02a3"+
"\u02a6\3\2\2\2\u02a4\u02a2\3\2\2\2\u02a4\u02a5\3\2\2\2\u02a5\u02a7\3\2"+
"\2\2\u02a6\u02a4\3\2\2\2\u02a7\u02a9\7\60\2\2\u02a8\u02aa\5\u0095K\2\u02a9"+
"\u02a8\3\2\2\2\u02aa\u02ab\3\2\2\2\u02ab\u02a9\3\2\2\2\u02ab\u02ac\3\2"+
"\2\2\u02ac\u0088\3\2\2\2\u02ad\u02b1\5\u008dG\2\u02ae\u02b1\5\u008fH\2"+
"\u02af\u02b1\5\u008bF\2\u02b0\u02ad\3\2\2\2\u02b0\u02ae\3\2\2\2\u02b0"+
"\u02af\3\2\2\2\u02b1\u008a\3\2\2\2\u02b2\u02b3\7\62\2\2\u02b3\u02b5\t"+
"\4\2\2\u02b4\u02b6\5\u0091I\2\u02b5\u02b4\3\2\2\2\u02b6\u02b7\3\2\2\2"+
"\u02b7\u02b5\3\2\2\2\u02b7\u02b8\3\2\2\2\u02b8\u02c0\3\2\2\2\u02b9\u02bb"+
"\7\'\2\2\u02ba\u02bc\5\u0091I\2\u02bb\u02ba\3\2\2\2\u02bc\u02bd\3\2\2"+
"\2\u02bd\u02bb\3\2\2\2\u02bd\u02be\3\2\2\2\u02be\u02c0\3\2\2\2\u02bf\u02b2"+
"\3\2\2\2\u02bf\u02b9\3\2\2\2\u02c0\u008c\3\2\2\2\u02c1\u02c3\5\u0093J"+
"\2\u02c2\u02c1\3\2\2\2\u02c3\u02c4\3\2\2\2\u02c4\u02c2\3\2\2\2\u02c4\u02c5"+
"\3\2\2\2\u02c5\u008e\3\2\2\2\u02c6\u02cc\7&\2\2\u02c7\u02c8\7\62\2\2\u02c8"+
"\u02cc\7z\2\2\u02c9\u02ca\7\62\2\2\u02ca\u02cc\7Z\2\2\u02cb\u02c6\3\2"+
"\2\2\u02cb\u02c7\3\2\2\2\u02cb\u02c9\3\2\2\2\u02cc\u02ce\3\2\2\2\u02cd"+
"\u02cf\5\u0095K\2\u02ce\u02cd\3\2\2\2\u02cf\u02d0\3\2\2\2\u02d0\u02ce"+
"\3\2\2\2\u02d0\u02d1\3\2\2\2\u02d1\u0090\3\2\2\2\u02d2\u02d3\t\5\2\2\u02d3"+
"\u0092\3\2\2\2\u02d4\u02d5\t\6\2\2\u02d5\u0094\3\2\2\2\u02d6\u02d7\t\7"+
"\2\2\u02d7\u0096\3\2\2\2\u02d8\u02dc\5\u0099M\2\u02d9\u02db\5\u009bN\2"+
"\u02da\u02d9\3\2\2\2\u02db\u02de\3\2\2\2\u02dc\u02da\3\2\2\2\u02dc\u02dd"+
"\3\2\2\2\u02dd\u0098\3\2\2\2\u02de\u02dc\3\2\2\2\u02df\u02e0\t\b\2\2\u02e0"+
"\u009a\3\2\2\2\u02e1\u02e2\t\t\2\2\u02e2\u009c\3\2\2\2\u02e3\u02e7\7#"+
"\2\2\u02e4\u02e6\5\u009bN\2\u02e5\u02e4\3\2\2\2\u02e6\u02e9\3\2\2\2\u02e7"+
"\u02e5\3\2\2\2\u02e7\u02e8\3\2\2\2\u02e8\u02eb\3\2\2\2\u02e9\u02e7\3\2"+
"\2\2\u02ea\u02ec\t\n\2\2\u02eb\u02ea\3\2\2\2\u02ec\u02ed\3\2\2\2\u02ed"+
"\u02eb\3\2\2\2\u02ed\u02ee\3\2\2\2\u02ee\u009e\3\2\2\2\u02ef\u02f1\t\13"+
"\2\2\u02f0\u02ef\3\2\2\2\u02f1\u02f2\3\2\2\2\u02f2\u02f0\3\2\2\2\u02f2"+
"\u02f3\3\2\2\2\u02f3\u02f4\3\2\2\2\u02f4\u02f5\bP\2\2\u02f5\u00a0\3\2"+
"\2\2\u02f6\u02f7\7\61\2\2\u02f7\u02f8\7\61\2\2\u02f8\u02fc\3\2\2\2\u02f9"+
"\u02fb\n\f\2\2\u02fa\u02f9\3\2\2\2\u02fb\u02fe\3\2\2\2\u02fc\u02fa\3\2"+
"\2\2\u02fc\u02fd\3\2\2\2\u02fd\u02ff\3\2\2\2\u02fe\u02fc\3\2\2\2\u02ff"+
"\u0300\bQ\2\2\u0300\u00a2\3\2\2\2\u0301\u0302\7\61\2\2\u0302\u0303\7,"+
"\2\2\u0303\u0307\3\2\2\2\u0304\u0306\13\2\2\2\u0305\u0304\3\2\2\2\u0306"+
"\u0309\3\2\2\2\u0307\u0308\3\2\2\2\u0307\u0305\3\2\2\2\u0308\u030a\3\2"+
"\2\2\u0309\u0307\3\2\2\2\u030a\u030b\7,\2\2\u030b\u030c\7\61\2\2\u030c"+
"\u030d\3\2\2\2\u030d\u030e\bR\2\2\u030e\u00a4\3\2\2\2 \2\u023b\u0252\u0258"+
"\u025a\u0263\u0270\u0274\u0279\u0280\u0285\u028c\u0291\u0298\u029f\u02a4"+
"\u02ab\u02b0\u02b7\u02bd\u02bf\u02c4\u02cb\u02d0\u02dc\u02e7\u02ed\u02f2"+
"\u02fc\u0307\3\b\2\2";
public static final ATN _ATN =
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
static {

View File

@ -45,25 +45,35 @@ T__43=44
T__44=45
T__45=46
T__46=47
MNEMONIC=48
SIMPLETYPE=49
STRING=50
CHAR=51
BOOLEAN=52
NUMBER=53
NUMFLOAT=54
BINFLOAT=55
DECFLOAT=56
HEXFLOAT=57
NUMINT=58
BININTEGER=59
DECINTEGER=60
HEXINTEGER=61
NAME=62
ASMREL=63
WS=64
COMMENT_LINE=65
COMMENT_BLOCK=66
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
MNEMONIC=58
SIMPLETYPE=59
STRING=60
CHAR=61
BOOLEAN=62
NUMBER=63
NUMFLOAT=64
BINFLOAT=65
DECFLOAT=66
HEXFLOAT=67
NUMINT=68
BININTEGER=69
DECINTEGER=70
HEXINTEGER=71
NAME=72
ASMREL=73
WS=74
COMMENT_LINE=75
COMMENT_BLOCK=76
'import'=1
'('=2
')'=3
@ -109,5 +119,15 @@ COMMENT_BLOCK=66
'|'=43
'&&'=44
'||'=45
'.byte'=46
'#'=47
'+='=46
'-='=47
'*='=48
'/='=49
'%='=50
'<<='=51
'>>='=52
'&='=53
'|='=54
'^='=55
'.byte'=56
'#'=57

View File

@ -493,6 +493,18 @@ public interface KickCListener extends ParseTreeListener {
* @param ctx the parse tree
*/
void exitExprString(KickCParser.ExprStringContext ctx);
/**
* Enter a parse tree produced by the {@code exprAssignmentCompound}
* labeled alternative in {@link KickCParser#expr}.
* @param ctx the parse tree
*/
void enterExprAssignmentCompound(KickCParser.ExprAssignmentCompoundContext ctx);
/**
* Exit a parse tree produced by the {@code exprAssignmentCompound}
* labeled alternative in {@link KickCParser#expr}.
* @param ctx the parse tree
*/
void exitExprAssignmentCompound(KickCParser.ExprAssignmentCompoundContext ctx);
/**
* Enter a parse tree produced by the {@code exprBool}
* labeled alternative in {@link KickCParser#expr}.

File diff suppressed because it is too large Load Diff

View File

@ -295,6 +295,13 @@ public interface KickCVisitor<T> extends ParseTreeVisitor<T> {
* @return the visitor result
*/
T visitExprString(KickCParser.ExprStringContext ctx);
/**
* Visit a parse tree produced by the {@code exprAssignmentCompound}
* labeled alternative in {@link KickCParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExprAssignmentCompound(KickCParser.ExprAssignmentCompoundContext ctx);
/**
* Visit a parse tree produced by the {@code exprBool}
* labeled alternative in {@link KickCParser#expr}.

View File

@ -535,6 +535,24 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
return lValue;
}
@Override
public Object visitExprAssignmentCompound(KickCParser.ExprAssignmentCompoundContext ctx) {
// Assignment (rValue/lValue)
LValue lValue = (LValue) visit(ctx.expr(0));
if(lValue instanceof VariableRef && ((VariableRef) lValue).isIntermediate()) {
// Encountered an intermediate variable. This must be turned into a proper LValue later. Put it into a marker to signify that
lValue = new LvalueIntermediate((VariableRef) lValue);
}
RValue rValue = (RValue) this.visit(ctx.expr(1));
// Binary Operator
String op = ((TerminalNode) ctx.getChild(1)).getSymbol().getText();
Operator operator = Operators.getBinaryCompound(op);
// Assignment with operator
Statement stmt = new StatementAssignment(lValue, lValue, operator, rValue);
sequence.addStatement(stmt);
return lValue;
}
@Override
public RValue visitExprCast(KickCParser.ExprCastContext ctx) {
RValue child = (RValue) this.visit(ctx.expr());

View File

@ -44,6 +44,11 @@ public class TestPrograms {
AsmFragmentTemplateUsages.logUsages(log, false, false, false, false, false, false);
}
@Test
public void testCompoundAssignment() throws IOException, URISyntaxException {
compileAndCompare("compound-assignment");
}
@Test
public void testChainedAssignment() throws IOException, URISyntaxException {
compileAndCompare("chained-assignment");

View File

@ -0,0 +1,45 @@
// Test compound assignment operators
byte[] ref = { 3, 4, 3, 18, 9, 1, 4, 2, 4, 5, 1 , 0};
byte* screen1 = $400;
byte* screen2 = screen1+40;
byte* cols = $d800;
byte GREEN = 5;
byte RED = 2;
void main() {
byte i =0;
byte a = 3; //3
test(i++, a);
a += 1; //4
test(i++, a);
a -= 1; //3
test(i++, a);
a *= 6; //18
test(i++, a);
a /= 2; //9
test(i++, a);
a %= 2; //1
test(i++, a);
a <<= 2; //4
test(i++, a);
a >>= 1; //2
test(i++, a);
a ^= %110; //4
test(i++, a);
a |= %1; //5
test(i++, a);
a &= %1; //1
test(i++, a);
}
void test(byte i, byte a) {
screen1[i] = a;
screen2[i] = ref[i];
if(ref[i]==a) {
cols[i] = GREEN;
} else {
cols[i] = RED;
}
}

View File

@ -0,0 +1,75 @@
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
.label screen1 = $400
.label cols = $d800
.const GREEN = 5
.const RED = 2
.label screen2 = screen1+$28
jsr main
main: {
ldx #0
lda #3
sta test.a
jsr test
ldx #0+1
lda #3+1
sta test.a
jsr test
ldx #0+1+1
lda #3+1-1
sta test.a
jsr test
ldx #0+1+1+1
lda #(3+1-1)*6
sta test.a
jsr test
ldx #0+1+1+1+1
lda #(3+1-1)*6/2
sta test.a
jsr test
ldx #0+1+1+1+1+1
lda #mod((3+1-1)*6/2,2)
sta test.a
jsr test
ldx #0+1+1+1+1+1+1
lda #mod((3+1-1)*6/2,2)<<2
sta test.a
jsr test
ldx #0+1+1+1+1+1+1+1
lda #mod((3+1-1)*6/2,2)<<2>>1
sta test.a
jsr test
ldx #0+1+1+1+1+1+1+1+1
lda #mod((3+1-1)*6/2,2)<<2>>1^6
sta test.a
jsr test
ldx #0+1+1+1+1+1+1+1+1+1
lda #mod((3+1-1)*6/2,2)<<2>>1^6|1
sta test.a
jsr test
ldx #0+1+1+1+1+1+1+1+1+1+1
lda #(mod((3+1-1)*6/2,2)<<2>>1^6|1)&1
sta test.a
jsr test
rts
}
test: {
.label a = 2
lda a
sta screen1,x
lda ref,x
sta screen2,x
lda ref,x
cmp a
beq b1
lda #RED
sta cols,x
breturn:
rts
b1:
lda #GREEN
sta cols,x
jmp breturn
}
ref: .byte 3, 4, 3, $12, 9, 1, 4, 2, 4, 5, 1, 0

View File

@ -0,0 +1,72 @@
@begin: scope:[] from
[0] phi() [ ] ( )
to:@2
@2: scope:[] from @begin
[1] phi() [ ] ( )
[2] call main param-assignment [ ] ( )
to:@end
@end: scope:[] from @2
[3] phi() [ ] ( )
main: scope:[main] from @2
[4] phi() [ ] ( main:2 [ ] )
[5] call test param-assignment [ ] ( main:2 [ ] )
to:main::@1
main::@1: scope:[main] from main
[6] phi() [ ] ( main:2 [ ] )
[7] call test param-assignment [ ] ( main:2 [ ] )
to:main::@2
main::@2: scope:[main] from main::@1
[8] phi() [ ] ( main:2 [ ] )
[9] call test param-assignment [ ] ( main:2 [ ] )
to:main::@3
main::@3: scope:[main] from main::@2
[10] phi() [ ] ( main:2 [ ] )
[11] call test param-assignment [ ] ( main:2 [ ] )
to:main::@4
main::@4: scope:[main] from main::@3
[12] phi() [ ] ( main:2 [ ] )
[13] call test param-assignment [ ] ( main:2 [ ] )
to:main::@5
main::@5: scope:[main] from main::@4
[14] phi() [ ] ( main:2 [ ] )
[15] call test param-assignment [ ] ( main:2 [ ] )
to:main::@6
main::@6: scope:[main] from main::@5
[16] phi() [ ] ( main:2 [ ] )
[17] call test param-assignment [ ] ( main:2 [ ] )
to:main::@7
main::@7: scope:[main] from main::@6
[18] phi() [ ] ( main:2 [ ] )
[19] call test param-assignment [ ] ( main:2 [ ] )
to:main::@8
main::@8: scope:[main] from main::@7
[20] phi() [ ] ( main:2 [ ] )
[21] call test param-assignment [ ] ( main:2 [ ] )
to:main::@9
main::@9: scope:[main] from main::@8
[22] phi() [ ] ( main:2 [ ] )
[23] call test param-assignment [ ] ( main:2 [ ] )
to:main::@10
main::@10: scope:[main] from main::@9
[24] phi() [ ] ( main:2 [ ] )
[25] call test param-assignment [ ] ( main:2 [ ] )
to:main::@return
main::@return: scope:[main] from main::@10
[26] return [ ] ( main:2 [ ] )
to:@return
test: scope:[test] from main main::@1 main::@10 main::@2 main::@3 main::@4 main::@5 main::@6 main::@7 main::@8 main::@9
[27] (byte) test::i#11 ← phi( main/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@1/++(byte/signed byte/word/signed word/dword/signed dword) 0 main::@10/++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0 main::@2/++++(byte/signed byte/word/signed word/dword/signed dword) 0 main::@3/++++++(byte/signed byte/word/signed word/dword/signed dword) 0 main::@4/++++++++(byte/signed byte/word/signed word/dword/signed dword) 0 main::@5/++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0 main::@6/++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0 main::@7/++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0 main::@8/++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0 main::@9/++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0 ) [ test::a#11 test::i#11 ] ( main:2::test:5 [ test::a#11 test::i#11 ] main:2::test:7 [ test::a#11 test::i#11 ] main:2::test:9 [ test::a#11 test::i#11 ] main:2::test:11 [ test::a#11 test::i#11 ] main:2::test:13 [ test::a#11 test::i#11 ] main:2::test:15 [ test::a#11 test::i#11 ] main:2::test:17 [ test::a#11 test::i#11 ] main:2::test:19 [ test::a#11 test::i#11 ] main:2::test:21 [ test::a#11 test::i#11 ] main:2::test:23 [ test::a#11 test::i#11 ] main:2::test:25 [ test::a#11 test::i#11 ] )
[27] (byte) test::a#11 ← phi( main/(byte/signed byte/word/signed word/dword/signed dword) 3 main::@1/(byte/signed byte/word/signed word/dword/signed dword) 3+(byte/signed byte/word/signed word/dword/signed dword) 1 main::@10/(byte/signed byte/word/signed word/dword/signed dword) 3+(byte/signed byte/word/signed word/dword/signed dword) 1-(byte/signed byte/word/signed word/dword/signed dword) 1*(byte/signed byte/word/signed word/dword/signed dword) 6/(byte/signed byte/word/signed word/dword/signed dword) 2%(byte/signed byte/word/signed word/dword/signed dword) 2<<(byte/signed byte/word/signed word/dword/signed dword) 2>>(byte/signed byte/word/signed word/dword/signed dword) 1^(byte/signed byte/word/signed word/dword/signed dword) 6|(byte/signed byte/word/signed word/dword/signed dword) 1&(byte/signed byte/word/signed word/dword/signed dword) 1 main::@2/(byte/signed byte/word/signed word/dword/signed dword) 3+(byte/signed byte/word/signed word/dword/signed dword) 1-(byte/signed byte/word/signed word/dword/signed dword) 1 main::@3/(byte/signed byte/word/signed word/dword/signed dword) 3+(byte/signed byte/word/signed word/dword/signed dword) 1-(byte/signed byte/word/signed word/dword/signed dword) 1*(byte/signed byte/word/signed word/dword/signed dword) 6 main::@4/(byte/signed byte/word/signed word/dword/signed dword) 3+(byte/signed byte/word/signed word/dword/signed dword) 1-(byte/signed byte/word/signed word/dword/signed dword) 1*(byte/signed byte/word/signed word/dword/signed dword) 6/(byte/signed byte/word/signed word/dword/signed dword) 2 main::@5/(byte/signed byte/word/signed word/dword/signed dword) 3+(byte/signed byte/word/signed word/dword/signed dword) 1-(byte/signed byte/word/signed word/dword/signed dword) 1*(byte/signed byte/word/signed word/dword/signed dword) 6/(byte/signed byte/word/signed word/dword/signed dword) 2%(byte/signed byte/word/signed word/dword/signed dword) 2 main::@6/(byte/signed byte/word/signed word/dword/signed dword) 3+(byte/signed byte/word/signed word/dword/signed dword) 1-(byte/signed byte/word/signed word/dword/signed dword) 1*(byte/signed byte/word/signed word/dword/signed dword) 6/(byte/signed byte/word/signed word/dword/signed dword) 2%(byte/signed byte/word/signed word/dword/signed dword) 2<<(byte/signed byte/word/signed word/dword/signed dword) 2 main::@7/(byte/signed byte/word/signed word/dword/signed dword) 3+(byte/signed byte/word/signed word/dword/signed dword) 1-(byte/signed byte/word/signed word/dword/signed dword) 1*(byte/signed byte/word/signed word/dword/signed dword) 6/(byte/signed byte/word/signed word/dword/signed dword) 2%(byte/signed byte/word/signed word/dword/signed dword) 2<<(byte/signed byte/word/signed word/dword/signed dword) 2>>(byte/signed byte/word/signed word/dword/signed dword) 1 main::@8/(byte/signed byte/word/signed word/dword/signed dword) 3+(byte/signed byte/word/signed word/dword/signed dword) 1-(byte/signed byte/word/signed word/dword/signed dword) 1*(byte/signed byte/word/signed word/dword/signed dword) 6/(byte/signed byte/word/signed word/dword/signed dword) 2%(byte/signed byte/word/signed word/dword/signed dword) 2<<(byte/signed byte/word/signed word/dword/signed dword) 2>>(byte/signed byte/word/signed word/dword/signed dword) 1^(byte/signed byte/word/signed word/dword/signed dword) 6 main::@9/(byte/signed byte/word/signed word/dword/signed dword) 3+(byte/signed byte/word/signed word/dword/signed dword) 1-(byte/signed byte/word/signed word/dword/signed dword) 1*(byte/signed byte/word/signed word/dword/signed dword) 6/(byte/signed byte/word/signed word/dword/signed dword) 2%(byte/signed byte/word/signed word/dword/signed dword) 2<<(byte/signed byte/word/signed word/dword/signed dword) 2>>(byte/signed byte/word/signed word/dword/signed dword) 1^(byte/signed byte/word/signed word/dword/signed dword) 6|(byte/signed byte/word/signed word/dword/signed dword) 1 ) [ test::a#11 test::i#11 ] ( main:2::test:5 [ test::a#11 test::i#11 ] main:2::test:7 [ test::a#11 test::i#11 ] main:2::test:9 [ test::a#11 test::i#11 ] main:2::test:11 [ test::a#11 test::i#11 ] main:2::test:13 [ test::a#11 test::i#11 ] main:2::test:15 [ test::a#11 test::i#11 ] main:2::test:17 [ test::a#11 test::i#11 ] main:2::test:19 [ test::a#11 test::i#11 ] main:2::test:21 [ test::a#11 test::i#11 ] main:2::test:23 [ test::a#11 test::i#11 ] main:2::test:25 [ test::a#11 test::i#11 ] )
[28] *((const byte*) screen1#0 + (byte) test::i#11) ← (byte) test::a#11 [ test::a#11 test::i#11 ] ( main:2::test:5 [ test::a#11 test::i#11 ] main:2::test:7 [ test::a#11 test::i#11 ] main:2::test:9 [ test::a#11 test::i#11 ] main:2::test:11 [ test::a#11 test::i#11 ] main:2::test:13 [ test::a#11 test::i#11 ] main:2::test:15 [ test::a#11 test::i#11 ] main:2::test:17 [ test::a#11 test::i#11 ] main:2::test:19 [ test::a#11 test::i#11 ] main:2::test:21 [ test::a#11 test::i#11 ] main:2::test:23 [ test::a#11 test::i#11 ] main:2::test:25 [ test::a#11 test::i#11 ] )
[29] *((const byte*) screen2#0 + (byte) test::i#11) ← *((const byte[]) ref#0 + (byte) test::i#11) [ test::a#11 test::i#11 ] ( main:2::test:5 [ test::a#11 test::i#11 ] main:2::test:7 [ test::a#11 test::i#11 ] main:2::test:9 [ test::a#11 test::i#11 ] main:2::test:11 [ test::a#11 test::i#11 ] main:2::test:13 [ test::a#11 test::i#11 ] main:2::test:15 [ test::a#11 test::i#11 ] main:2::test:17 [ test::a#11 test::i#11 ] main:2::test:19 [ test::a#11 test::i#11 ] main:2::test:21 [ test::a#11 test::i#11 ] main:2::test:23 [ test::a#11 test::i#11 ] main:2::test:25 [ test::a#11 test::i#11 ] )
[30] if(*((const byte[]) ref#0 + (byte) test::i#11)==(byte) test::a#11) goto test::@1 [ test::i#11 ] ( main:2::test:5 [ test::i#11 ] main:2::test:7 [ test::i#11 ] main:2::test:9 [ test::i#11 ] main:2::test:11 [ test::i#11 ] main:2::test:13 [ test::i#11 ] main:2::test:15 [ test::i#11 ] main:2::test:17 [ test::i#11 ] main:2::test:19 [ test::i#11 ] main:2::test:21 [ test::i#11 ] main:2::test:23 [ test::i#11 ] main:2::test:25 [ test::i#11 ] )
to:test::@3
test::@3: scope:[test] from test
[31] *((const byte*) cols#0 + (byte) test::i#11) ← (const byte) RED#0 [ ] ( main:2::test:5 [ ] main:2::test:7 [ ] main:2::test:9 [ ] main:2::test:11 [ ] main:2::test:13 [ ] main:2::test:15 [ ] main:2::test:17 [ ] main:2::test:19 [ ] main:2::test:21 [ ] main:2::test:23 [ ] main:2::test:25 [ ] )
to:test::@return
test::@return: scope:[test] from test::@1 test::@3
[32] return [ ] ( main:2::test:5 [ ] main:2::test:7 [ ] main:2::test:9 [ ] main:2::test:11 [ ] main:2::test:13 [ ] main:2::test:15 [ ] main:2::test:17 [ ] main:2::test:19 [ ] main:2::test:21 [ ] main:2::test:23 [ ] main:2::test:25 [ ] )
to:@return
test::@1: scope:[test] from test
[33] *((const byte*) cols#0 + (byte) test::i#11) ← (const byte) GREEN#0 [ ] ( main:2::test:5 [ ] main:2::test:7 [ ] main:2::test:9 [ ] main:2::test:11 [ ] main:2::test:13 [ ] main:2::test:15 [ ] main:2::test:17 [ ] main:2::test:19 [ ] main:2::test:21 [ ] main:2::test:23 [ ] main:2::test:25 [ ] )
to:test::@return

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,40 @@
(label) @2
(label) @begin
(label) @end
(byte) GREEN
(const byte) GREEN#0 GREEN = (byte/signed byte/word/signed word/dword/signed dword) 5
(byte) RED
(const byte) RED#0 RED = (byte/signed byte/word/signed word/dword/signed dword) 2
(byte*) cols
(const byte*) cols#0 cols = ((byte*))(word/dword/signed dword) 55296
(void()) main()
(label) main::@1
(label) main::@10
(label) main::@2
(label) main::@3
(label) main::@4
(label) main::@5
(label) main::@6
(label) main::@7
(label) main::@8
(label) main::@9
(label) main::@return
(byte) main::a
(byte) main::i
(byte[]) ref
(const byte[]) ref#0 ref = { (byte/signed byte/word/signed word/dword/signed dword) 3, (byte/signed byte/word/signed word/dword/signed dword) 4, (byte/signed byte/word/signed word/dword/signed dword) 3, (byte/signed byte/word/signed word/dword/signed dword) 18, (byte/signed byte/word/signed word/dword/signed dword) 9, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 4, (byte/signed byte/word/signed word/dword/signed dword) 2, (byte/signed byte/word/signed word/dword/signed dword) 4, (byte/signed byte/word/signed word/dword/signed dword) 5, (byte/signed byte/word/signed word/dword/signed dword) 1, (byte/signed byte/word/signed word/dword/signed dword) 0 }
(byte*) screen1
(const byte*) screen1#0 screen1 = ((byte*))(word/signed word/dword/signed dword) 1024
(byte*) screen2
(const byte*) screen2#0 screen2 = (const byte*) screen1#0+(byte/signed byte/word/signed word/dword/signed dword) 40
(void()) test((byte) test::i , (byte) test::a)
(label) test::@1
(label) test::@3
(label) test::@return
(byte) test::a
(byte) test::a#11 a zp ZP_BYTE:2 1.3333333333333333
(byte) test::i
(byte) test::i#11 reg byte x 3.0
zp ZP_BYTE:2 [ test::a#11 ]
reg byte x [ test::i#11 ]