1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2025-02-20 00:29:10 +00:00

Implemented sizeof(type).

This commit is contained in:
jespergravgaard 2019-04-17 09:34:10 +02:00
parent 0116dcfe55
commit 417a1d4b22
24 changed files with 2051 additions and 948 deletions

View File

@ -21,17 +21,17 @@ public interface SymbolType {
/** Signed double word (4 bytes, 32 bits). */
SymbolTypeInteger SDWORD = new SymbolTypeInteger("signed dword", -2_147_483_648, 2_147_483_647, true, 32);
/** String value (treated like byte* ). */
SymbolTypeNamed STRING = new SymbolTypeNamed("string");
SymbolTypeNamed STRING = new SymbolTypeNamed("string", -1);
/** Boolean value. */
SymbolTypeNamed BOOLEAN = new SymbolTypeNamed("bool");
SymbolTypeNamed BOOLEAN = new SymbolTypeNamed("bool", 1);
/** Numeric floating point value. */
SymbolTypeNamed DOUBLE = new SymbolTypeNamed("double");
SymbolTypeNamed DOUBLE = new SymbolTypeNamed("double", 1);
/** A label. Name of functions of jump-targets. */
SymbolTypeNamed LABEL = new SymbolTypeNamed("label");
SymbolTypeNamed LABEL = new SymbolTypeNamed("label", 1);
/** Void type representing no value. */
SymbolTypeNamed VOID = new SymbolTypeNamed("void");
SymbolTypeNamed VOID = new SymbolTypeNamed("void", 0);
/** An unresolved type. Will be infered later. */
SymbolTypeNamed VAR = new SymbolTypeNamed("var");
SymbolTypeNamed VAR = new SymbolTypeNamed("var", -1);
/**
* Get a simple symbol type from the type name.
@ -101,6 +101,14 @@ public interface SymbolType {
*/
String getTypeName();
/**
* Get the size of the type (in bytes).
* @return The size
*/
int getSizeBytes();
/**
* Is the type {@link #BYTE} or compatible {@link SymbolTypeMulti}
*

View File

@ -12,6 +12,11 @@ public class SymbolTypeBlockScope implements SymbolTypeSimple {
return "BLOCK";
}
@Override
public int getSizeBytes() {
return -1;
}
@Override
public int hashCode() {
return 443;

View File

@ -38,6 +38,11 @@ public class SymbolTypeInteger implements SymbolTypeSimple {
return bits;
}
@Override
public int getSizeBytes() {
return bits/8;
}
@Override
public String toString() {
return getTypeName();

View File

@ -24,6 +24,11 @@ public class SymbolTypeMulti implements SymbolType {
return types;
}
@Override
public int getSizeBytes() {
return -1;
}
@Override
public String getTypeName() {
StringBuilder name = new StringBuilder();

View File

@ -5,14 +5,22 @@ public class SymbolTypeNamed implements SymbolTypeSimple {
private String typeName;
SymbolTypeNamed(String typeName) {
private int sizeBytes;
SymbolTypeNamed(String typeName, int sizeBytes) {
this.typeName = typeName;
this.sizeBytes = sizeBytes;
}
public String getTypeName() {
return typeName;
}
@Override
public int getSizeBytes() {
return sizeBytes;
}
@Override
public boolean equals(Object o) {
if(this == o) {

View File

@ -3,6 +3,9 @@ package dk.camelot64.kickc.model.types;
/** A pointer */
public class SymbolTypePointer implements SymbolTypeSimple {
/** The number of bytes needed to represent a pointer in memory. */
public static final int SIZE_BYTES = 2;
private SymbolType elementType;
public SymbolTypePointer(
@ -23,6 +26,11 @@ public class SymbolTypePointer implements SymbolTypeSimple {
return elementType.getTypeName() + "*";
}
@Override
public int getSizeBytes() {
return SIZE_BYTES;
}
@Override
public boolean equals(Object o) {
if(this == o) {

View File

@ -11,6 +11,11 @@ public class SymbolTypeProcedure implements SymbolTypeSimple {
this.returnType = returnType;
}
@Override
public int getSizeBytes() {
return -1;
}
public SymbolType getReturnType() {
return returnType;
}

View File

@ -12,6 +12,11 @@ public class SymbolTypeProgram implements SymbolTypeSimple {
return "PROGRAM";
}
@Override
public int getSizeBytes() {
return -1;
}
@Override
public int hashCode() {
return 331;

View File

@ -112,6 +112,7 @@ commaExpr
expr
: '(' commaExpr ')' #exprPar
| expr '(' parameterList? ')' #exprCall
| 'sizeof' '(' typeDecl ')' #exprSizeOfType
| expr '[' commaExpr ']' #exprArray
| '(' typeDecl ')' expr #exprCast
| ('--' | '++' ) expr #exprPreMod

View File

@ -71,26 +71,27 @@ T__69=70
T__70=71
T__71=72
T__72=73
MNEMONIC=74
KICKASM=75
SIMPLETYPE=76
STRING=77
CHAR=78
BOOLEAN=79
NUMBER=80
NUMFLOAT=81
BINFLOAT=82
DECFLOAT=83
HEXFLOAT=84
NUMINT=85
BININTEGER=86
DECINTEGER=87
HEXINTEGER=88
NAME=89
ASMREL=90
WS=91
COMMENT_LINE=92
COMMENT_BLOCK=93
T__73=74
MNEMONIC=75
KICKASM=76
SIMPLETYPE=77
STRING=78
CHAR=79
BOOLEAN=80
NUMBER=81
NUMFLOAT=82
BINFLOAT=83
DECFLOAT=84
HEXFLOAT=85
NUMINT=86
BININTEGER=87
DECINTEGER=88
HEXINTEGER=89
NAME=90
ASMREL=91
WS=92
COMMENT_LINE=93
COMMENT_BLOCK=94
'import'=1
';'=2
','=3
@ -122,45 +123,46 @@ COMMENT_BLOCK=93
'*'=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
'|='=62
'^='=63
'kickasm'=64
'resource'=65
'uses'=66
'clobbers'=67
'bytes'=68
'cycles'=69
'pc'=70
'.byte'=71
'#'=72
'.'=73
'sizeof'=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
'&='=62
'|='=63
'^='=64
'kickasm'=65
'resource'=66
'uses'=67
'clobbers'=68
'bytes'=69
'cycles'=70
'pc'=71
'.byte'=72
'#'=73
'.'=74

View File

@ -647,6 +647,18 @@ public class KickCBaseListener implements KickCListener {
* <p>The default implementation does nothing.</p>
*/
@Override public void exitExprChar(KickCParser.ExprCharContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterExprSizeOfType(KickCParser.ExprSizeOfTypeContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitExprSizeOfType(KickCParser.ExprSizeOfTypeContext ctx) { }
/**
* {@inheritDoc}
*

View File

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

View File

@ -27,10 +27,10 @@ public class KickCLexer extends Lexer {
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, T__69=70, T__70=71, T__71=72, T__72=73,
MNEMONIC=74, KICKASM=75, SIMPLETYPE=76, STRING=77, CHAR=78, BOOLEAN=79,
NUMBER=80, NUMFLOAT=81, BINFLOAT=82, DECFLOAT=83, HEXFLOAT=84, NUMINT=85,
BININTEGER=86, DECINTEGER=87, HEXINTEGER=88, NAME=89, ASMREL=90, WS=91,
COMMENT_LINE=92, COMMENT_BLOCK=93;
T__73=74, MNEMONIC=75, KICKASM=76, SIMPLETYPE=77, STRING=78, CHAR=79,
BOOLEAN=80, NUMBER=81, NUMFLOAT=82, BINFLOAT=83, DECFLOAT=84, HEXFLOAT=85,
NUMINT=86, BININTEGER=87, DECINTEGER=88, HEXINTEGER=89, NAME=90, ASMREL=91,
WS=92, COMMENT_LINE=93, COMMENT_BLOCK=94;
public static String[] channelNames = {
"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
};
@ -49,8 +49,8 @@ public class KickCLexer extends Lexer {
"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", "T__69", "T__70", "T__71", "T__72",
"MNEMONIC", "KICKASM", "SIMPLETYPE", "STRING", "CHAR", "BOOLEAN", "NUMBER",
"NUMFLOAT", "BINFLOAT", "DECFLOAT", "HEXFLOAT", "NUMINT", "BININTEGER",
"T__73", "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"
};
@ -60,11 +60,11 @@ public class KickCLexer extends Lexer {
"'extern'", "'align'", "'register'", "'inline'", "'volatile'", "'interrupt'",
"'if'", "'else'", "'while'", "'do'", "'for'", "'return'", "'break'", "'continue'",
"'asm'", "':'", "'..'", "'signed'", "'unsigned'", "'*'", "'['", "']'",
"'--'", "'++'", "'+'", "'-'", "'!'", "'&'", "'~'", "'>>'", "'<<'", "'/'",
"'%'", "'<'", "'>'", "'=='", "'!='", "'<='", "'>='", "'^'", "'|'", "'&&'",
"'||'", "'?'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<<='", "'>>='",
"'&='", "'|='", "'^='", "'kickasm'", "'resource'", "'uses'", "'clobbers'",
"'bytes'", "'cycles'", "'pc'", "'.byte'", "'#'", "'.'"
"'sizeof'", "'--'", "'++'", "'+'", "'-'", "'!'", "'&'", "'~'", "'>>'",
"'<<'", "'/'", "'%'", "'<'", "'>'", "'=='", "'!='", "'<='", "'>='", "'^'",
"'|'", "'&&'", "'||'", "'?'", "'+='", "'-='", "'*='", "'/='", "'%='",
"'<<='", "'>>='", "'&='", "'|='", "'^='", "'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,
@ -73,9 +73,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, "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, "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);
@ -135,7 +136,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_\u03bb\b\1\4\2\t"+
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2`\u03c4\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"+
@ -146,339 +147,341 @@ public class KickCLexer extends Lexer {
"\4>\t>\4?\t?\4@\t@\4A\tA\4B\tB\4C\tC\4D\tD\4E\tE\4F\tF\4G\tG\4H\tH\4I"+
"\tI\4J\tJ\4K\tK\4L\tL\4M\tM\4N\tN\4O\tO\4P\tP\4Q\tQ\4R\tR\4S\tS\4T\tT"+
"\4U\tU\4V\tV\4W\tW\4X\tX\4Y\tY\4Z\tZ\4[\t[\4\\\t\\\4]\t]\4^\t^\4_\t_\4"+
"`\t`\4a\ta\4b\tb\4c\tc\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\35\3\35\3\35\3\35\3\35\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\60"+
"\3\60\3\60\3\61\3\61\3\61\3\62\3\62\3\63\3\63\3\64\3\64\3\64\3\65\3\65"+
"\3\65\3\66\3\66\3\67\3\67\3\67\38\38\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@\3A\3A\3A\3A\3A\3A\3A"+
"\3A\3B\3B\3B\3B\3B\3B\3B\3B\3B\3C\3C\3C\3C\3C\3D\3D\3D\3D\3D\3D\3D\3D"+
"\3D\3E\3E\3E\3E\3E\3E\3F\3F\3F\3F\3F\3F\3F\3G\3G\3G\3H\3H\3H\3H\3H\3H"+
"\3I\3I\3J\3J\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K"+
"\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K"+
"\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K"+
"\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K"+
"\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K"+
"\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K"+
"\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K"+
"\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K"+
"\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K"+
"\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\5K\u02ca\nK"+
"\3L\3L\3L\3L\7L\u02d0\nL\fL\16L\u02d3\13L\3L\3L\3L\3M\3M\3M\3M\3M\3M\3"+
"M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3M\3"+
"M\3M\3M\3M\3M\3M\3M\3M\5M\u02fd\nM\3N\3N\3N\3N\7N\u0303\nN\fN\16N\u0306"+
"\13N\3N\3N\5N\u030a\nN\3O\3O\3O\3O\5O\u0310\nO\3O\3O\3P\3P\3P\3P\3P\3"+
"P\3P\3P\3P\5P\u031d\nP\3Q\3Q\5Q\u0321\nQ\3R\3R\3R\5R\u0326\nR\3S\3S\3"+
"S\3S\3S\5S\u032d\nS\3S\7S\u0330\nS\fS\16S\u0333\13S\3S\3S\6S\u0337\nS"+
"\rS\16S\u0338\3T\7T\u033c\nT\fT\16T\u033f\13T\3T\3T\6T\u0343\nT\rT\16"+
"T\u0344\3U\3U\3U\3U\3U\5U\u034c\nU\3U\7U\u034f\nU\fU\16U\u0352\13U\3U"+
"\3U\6U\u0356\nU\rU\16U\u0357\3V\3V\3V\5V\u035d\nV\3W\3W\3W\6W\u0362\n"+
"W\rW\16W\u0363\3W\3W\6W\u0368\nW\rW\16W\u0369\5W\u036c\nW\3X\6X\u036f"+
"\nX\rX\16X\u0370\3Y\3Y\3Y\3Y\3Y\5Y\u0378\nY\3Y\6Y\u037b\nY\rY\16Y\u037c"+
"\3Z\3Z\3[\3[\3\\\3\\\3]\3]\7]\u0387\n]\f]\16]\u038a\13]\3^\3^\3_\3_\3"+
"`\3`\7`\u0392\n`\f`\16`\u0395\13`\3`\6`\u0398\n`\r`\16`\u0399\3a\6a\u039d"+
"\na\ra\16a\u039e\3a\3a\3b\3b\3b\3b\7b\u03a7\nb\fb\16b\u03aa\13b\3b\3b"+
"\3c\3c\3c\3c\7c\u03b2\nc\fc\16c\u03b5\13c\3c\3c\3c\3c\3c\4\u02d1\u03b3"+
"\2d\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\67"+
"m8o9q:s;u<w=y>{?}@\177A\u0081B\u0083C\u0085D\u0087E\u0089F\u008bG\u008d"+
"H\u008fI\u0091J\u0093K\u0095L\u0097M\u0099N\u009bO\u009dP\u009fQ\u00a1"+
"R\u00a3S\u00a5T\u00a7U\u00a9V\u00abW\u00adX\u00afY\u00b1Z\u00b3\2\u00b5"+
"\2\u00b7\2\u00b9[\u00bb\2\u00bd\2\u00bf\\\u00c1]\u00c3^\u00c5_\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\u0428\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\2"+
"I\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\2"+
"o\3\2\2\2\2q\3\2\2\2\2s\3\2\2\2\2u\3\2\2\2\2w\3\2\2\2\2y\3\2\2\2\2{\3"+
"\2\2\2\2}\3\2\2\2\2\177\3\2\2\2\2\u0081\3\2\2\2\2\u0083\3\2\2\2\2\u0085"+
"\3\2\2\2\2\u0087\3\2\2\2\2\u0089\3\2\2\2\2\u008b\3\2\2\2\2\u008d\3\2\2"+
"\2\2\u008f\3\2\2\2\2\u0091\3\2\2\2\2\u0093\3\2\2\2\2\u0095\3\2\2\2\2\u0097"+
"\3\2\2\2\2\u0099\3\2\2\2\2\u009b\3\2\2\2\2\u009d\3\2\2\2\2\u009f\3\2\2"+
"\2\2\u00a1\3\2\2\2\2\u00a3\3\2\2\2\2\u00a5\3\2\2\2\2\u00a7\3\2\2\2\2\u00a9"+
"\3\2\2\2\2\u00ab\3\2\2\2\2\u00ad\3\2\2\2\2\u00af\3\2\2\2\2\u00b1\3\2\2"+
"\2\2\u00b9\3\2\2\2\2\u00bf\3\2\2\2\2\u00c1\3\2\2\2\2\u00c3\3\2\2\2\2\u00c5"+
"\3\2\2\2\3\u00c7\3\2\2\2\5\u00ce\3\2\2\2\7\u00d0\3\2\2\2\t\u00d2\3\2\2"+
"\2\13\u00d4\3\2\2\2\r\u00d6\3\2\2\2\17\u00d8\3\2\2\2\21\u00da\3\2\2\2"+
"\23\u00dc\3\2\2\2\25\u00e2\3\2\2\2\27\u00e9\3\2\2\2\31\u00ef\3\2\2\2\33"+
"\u00f8\3\2\2\2\35\u00ff\3\2\2\2\37\u0108\3\2\2\2!\u0112\3\2\2\2#\u0115"+
"\3\2\2\2%\u011a\3\2\2\2\'\u0120\3\2\2\2)\u0123\3\2\2\2+\u0127\3\2\2\2"+
"-\u012e\3\2\2\2/\u0134\3\2\2\2\61\u013d\3\2\2\2\63\u0141\3\2\2\2\65\u0143"+
"\3\2\2\2\67\u0146\3\2\2\29\u014d\3\2\2\2;\u0156\3\2\2\2=\u0158\3\2\2\2"+
"?\u015a\3\2\2\2A\u015c\3\2\2\2C\u015f\3\2\2\2E\u0162\3\2\2\2G\u0164\3"+
"\2\2\2I\u0166\3\2\2\2K\u0168\3\2\2\2M\u016a\3\2\2\2O\u016c\3\2\2\2Q\u016f"+
"\3\2\2\2S\u0172\3\2\2\2U\u0174\3\2\2\2W\u0176\3\2\2\2Y\u0178\3\2\2\2["+
"\u017a\3\2\2\2]\u017d\3\2\2\2_\u0180\3\2\2\2a\u0183\3\2\2\2c\u0186\3\2"+
"\2\2e\u0188\3\2\2\2g\u018a\3\2\2\2i\u018d\3\2\2\2k\u0190\3\2\2\2m\u0192"+
"\3\2\2\2o\u0195\3\2\2\2q\u0198\3\2\2\2s\u019b\3\2\2\2u\u019e\3\2\2\2w"+
"\u01a1\3\2\2\2y\u01a5\3\2\2\2{\u01a9\3\2\2\2}\u01ac\3\2\2\2\177\u01af"+
"\3\2\2\2\u0081\u01b2\3\2\2\2\u0083\u01ba\3\2\2\2\u0085\u01c3\3\2\2\2\u0087"+
"\u01c8\3\2\2\2\u0089\u01d1\3\2\2\2\u008b\u01d7\3\2\2\2\u008d\u01de\3\2"+
"\2\2\u008f\u01e1\3\2\2\2\u0091\u01e7\3\2\2\2\u0093\u01e9\3\2\2\2\u0095"+
"\u02c9\3\2\2\2\u0097\u02cb\3\2\2\2\u0099\u02fc\3\2\2\2\u009b\u02fe\3\2"+
"\2\2\u009d\u030b\3\2\2\2\u009f\u031c\3\2\2\2\u00a1\u0320\3\2\2\2\u00a3"+
"\u0325\3\2\2\2\u00a5\u032c\3\2\2\2\u00a7\u033d\3\2\2\2\u00a9\u034b\3\2"+
"\2\2\u00ab\u035c\3\2\2\2\u00ad\u036b\3\2\2\2\u00af\u036e\3\2\2\2\u00b1"+
"\u0377\3\2\2\2\u00b3\u037e\3\2\2\2\u00b5\u0380\3\2\2\2\u00b7\u0382\3\2"+
"\2\2\u00b9\u0384\3\2\2\2\u00bb\u038b\3\2\2\2\u00bd\u038d\3\2\2\2\u00bf"+
"\u038f\3\2\2\2\u00c1\u039c\3\2\2\2\u00c3\u03a2\3\2\2\2\u00c5\u03ad\3\2"+
"\2\2\u00c7\u00c8\7k\2\2\u00c8\u00c9\7o\2\2\u00c9\u00ca\7r\2\2\u00ca\u00cb"+
"\7q\2\2\u00cb\u00cc\7t\2\2\u00cc\u00cd\7v\2\2\u00cd\4\3\2\2\2\u00ce\u00cf"+
"\7=\2\2\u00cf\6\3\2\2\2\u00d0\u00d1\7.\2\2\u00d1\b\3\2\2\2\u00d2\u00d3"+
"\7?\2\2\u00d3\n\3\2\2\2\u00d4\u00d5\7*\2\2\u00d5\f\3\2\2\2\u00d6\u00d7"+
"\7+\2\2\u00d7\16\3\2\2\2\u00d8\u00d9\7}\2\2\u00d9\20\3\2\2\2\u00da\u00db"+
"\7\177\2\2\u00db\22\3\2\2\2\u00dc\u00dd\7e\2\2\u00dd\u00de\7q\2\2\u00de"+
"\u00df\7p\2\2\u00df\u00e0\7u\2\2\u00e0\u00e1\7v\2\2\u00e1\24\3\2\2\2\u00e2"+
"\u00e3\7g\2\2\u00e3\u00e4\7z\2\2\u00e4\u00e5\7v\2\2\u00e5\u00e6\7g\2\2"+
"\u00e6\u00e7\7t\2\2\u00e7\u00e8\7p\2\2\u00e8\26\3\2\2\2\u00e9\u00ea\7"+
"c\2\2\u00ea\u00eb\7n\2\2\u00eb\u00ec\7k\2\2\u00ec\u00ed\7i\2\2\u00ed\u00ee"+
"\7p\2\2\u00ee\30\3\2\2\2\u00ef\u00f0\7t\2\2\u00f0\u00f1\7g\2\2\u00f1\u00f2"+
"\7i\2\2\u00f2\u00f3\7k\2\2\u00f3\u00f4\7u\2\2\u00f4\u00f5\7v\2\2\u00f5"+
"\u00f6\7g\2\2\u00f6\u00f7\7t\2\2\u00f7\32\3\2\2\2\u00f8\u00f9\7k\2\2\u00f9"+
"\u00fa\7p\2\2\u00fa\u00fb\7n\2\2\u00fb\u00fc\7k\2\2\u00fc\u00fd\7p\2\2"+
"\u00fd\u00fe\7g\2\2\u00fe\34\3\2\2\2\u00ff\u0100\7x\2\2\u0100\u0101\7"+
"q\2\2\u0101\u0102\7n\2\2\u0102\u0103\7c\2\2\u0103\u0104\7v\2\2\u0104\u0105"+
"\7k\2\2\u0105\u0106\7n\2\2\u0106\u0107\7g\2\2\u0107\36\3\2\2\2\u0108\u0109"+
"\7k\2\2\u0109\u010a\7p\2\2\u010a\u010b\7v\2\2\u010b\u010c\7g\2\2\u010c"+
"\u010d\7t\2\2\u010d\u010e\7t\2\2\u010e\u010f\7w\2\2\u010f\u0110\7r\2\2"+
"\u0110\u0111\7v\2\2\u0111 \3\2\2\2\u0112\u0113\7k\2\2\u0113\u0114\7h\2"+
"\2\u0114\"\3\2\2\2\u0115\u0116\7g\2\2\u0116\u0117\7n\2\2\u0117\u0118\7"+
"u\2\2\u0118\u0119\7g\2\2\u0119$\3\2\2\2\u011a\u011b\7y\2\2\u011b\u011c"+
"\7j\2\2\u011c\u011d\7k\2\2\u011d\u011e\7n\2\2\u011e\u011f\7g\2\2\u011f"+
"&\3\2\2\2\u0120\u0121\7f\2\2\u0121\u0122\7q\2\2\u0122(\3\2\2\2\u0123\u0124"+
"\7h\2\2\u0124\u0125\7q\2\2\u0125\u0126\7t\2\2\u0126*\3\2\2\2\u0127\u0128"+
"\7t\2\2\u0128\u0129\7g\2\2\u0129\u012a\7v\2\2\u012a\u012b\7w\2\2\u012b"+
"\u012c\7t\2\2\u012c\u012d\7p\2\2\u012d,\3\2\2\2\u012e\u012f\7d\2\2\u012f"+
"\u0130\7t\2\2\u0130\u0131\7g\2\2\u0131\u0132\7c\2\2\u0132\u0133\7m\2\2"+
"\u0133.\3\2\2\2\u0134\u0135\7e\2\2\u0135\u0136\7q\2\2\u0136\u0137\7p\2"+
"\2\u0137\u0138\7v\2\2\u0138\u0139\7k\2\2\u0139\u013a\7p\2\2\u013a\u013b"+
"\7w\2\2\u013b\u013c\7g\2\2\u013c\60\3\2\2\2\u013d\u013e\7c\2\2\u013e\u013f"+
"\7u\2\2\u013f\u0140\7o\2\2\u0140\62\3\2\2\2\u0141\u0142\7<\2\2\u0142\64"+
"\3\2\2\2\u0143\u0144\7\60\2\2\u0144\u0145\7\60\2\2\u0145\66\3\2\2\2\u0146"+
"\u0147\7u\2\2\u0147\u0148\7k\2\2\u0148\u0149\7i\2\2\u0149\u014a\7p\2\2"+
"\u014a\u014b\7g\2\2\u014b\u014c\7f\2\2\u014c8\3\2\2\2\u014d\u014e\7w\2"+
"\2\u014e\u014f\7p\2\2\u014f\u0150\7u\2\2\u0150\u0151\7k\2\2\u0151\u0152"+
"\7i\2\2\u0152\u0153\7p\2\2\u0153\u0154\7g\2\2\u0154\u0155\7f\2\2\u0155"+
":\3\2\2\2\u0156\u0157\7,\2\2\u0157<\3\2\2\2\u0158\u0159\7]\2\2\u0159>"+
"\3\2\2\2\u015a\u015b\7_\2\2\u015b@\3\2\2\2\u015c\u015d\7/\2\2\u015d\u015e"+
"\7/\2\2\u015eB\3\2\2\2\u015f\u0160\7-\2\2\u0160\u0161\7-\2\2\u0161D\3"+
"\2\2\2\u0162\u0163\7-\2\2\u0163F\3\2\2\2\u0164\u0165\7/\2\2\u0165H\3\2"+
"\2\2\u0166\u0167\7#\2\2\u0167J\3\2\2\2\u0168\u0169\7(\2\2\u0169L\3\2\2"+
"\2\u016a\u016b\7\u0080\2\2\u016bN\3\2\2\2\u016c\u016d\7@\2\2\u016d\u016e"+
"\7@\2\2\u016eP\3\2\2\2\u016f\u0170\7>\2\2\u0170\u0171\7>\2\2\u0171R\3"+
"\2\2\2\u0172\u0173\7\61\2\2\u0173T\3\2\2\2\u0174\u0175\7\'\2\2\u0175V"+
"\3\2\2\2\u0176\u0177\7>\2\2\u0177X\3\2\2\2\u0178\u0179\7@\2\2\u0179Z\3"+
"\2\2\2\u017a\u017b\7?\2\2\u017b\u017c\7?\2\2\u017c\\\3\2\2\2\u017d\u017e"+
"\7#\2\2\u017e\u017f\7?\2\2\u017f^\3\2\2\2\u0180\u0181\7>\2\2\u0181\u0182"+
"\7?\2\2\u0182`\3\2\2\2\u0183\u0184\7@\2\2\u0184\u0185\7?\2\2\u0185b\3"+
"\2\2\2\u0186\u0187\7`\2\2\u0187d\3\2\2\2\u0188\u0189\7~\2\2\u0189f\3\2"+
"\2\2\u018a\u018b\7(\2\2\u018b\u018c\7(\2\2\u018ch\3\2\2\2\u018d\u018e"+
"\7~\2\2\u018e\u018f\7~\2\2\u018fj\3\2\2\2\u0190\u0191\7A\2\2\u0191l\3"+
"\2\2\2\u0192\u0193\7-\2\2\u0193\u0194\7?\2\2\u0194n\3\2\2\2\u0195\u0196"+
"\7/\2\2\u0196\u0197\7?\2\2\u0197p\3\2\2\2\u0198\u0199\7,\2\2\u0199\u019a"+
"\7?\2\2\u019ar\3\2\2\2\u019b\u019c\7\61\2\2\u019c\u019d\7?\2\2\u019dt"+
"\3\2\2\2\u019e\u019f\7\'\2\2\u019f\u01a0\7?\2\2\u01a0v\3\2\2\2\u01a1\u01a2"+
"\7>\2\2\u01a2\u01a3\7>\2\2\u01a3\u01a4\7?\2\2\u01a4x\3\2\2\2\u01a5\u01a6"+
"\7@\2\2\u01a6\u01a7\7@\2\2\u01a7\u01a8\7?\2\2\u01a8z\3\2\2\2\u01a9\u01aa"+
"\7(\2\2\u01aa\u01ab\7?\2\2\u01ab|\3\2\2\2\u01ac\u01ad\7~\2\2\u01ad\u01ae"+
"\7?\2\2\u01ae~\3\2\2\2\u01af\u01b0\7`\2\2\u01b0\u01b1\7?\2\2\u01b1\u0080"+
"\3\2\2\2\u01b2\u01b3\7m\2\2\u01b3\u01b4\7k\2\2\u01b4\u01b5\7e\2\2\u01b5"+
"\u01b6\7m\2\2\u01b6\u01b7\7c\2\2\u01b7\u01b8\7u\2\2\u01b8\u01b9\7o\2\2"+
"\u01b9\u0082\3\2\2\2\u01ba\u01bb\7t\2\2\u01bb\u01bc\7g\2\2\u01bc\u01bd"+
"\7u\2\2\u01bd\u01be\7q\2\2\u01be\u01bf\7w\2\2\u01bf\u01c0\7t\2\2\u01c0"+
"\u01c1\7e\2\2\u01c1\u01c2\7g\2\2\u01c2\u0084\3\2\2\2\u01c3\u01c4\7w\2"+
"\2\u01c4\u01c5\7u\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\7n\2\2\u01ca\u01cb\7q\2\2\u01cb"+
"\u01cc\7d\2\2\u01cc\u01cd\7d\2\2\u01cd\u01ce\7g\2\2\u01ce\u01cf\7t\2\2"+
"\u01cf\u01d0\7u\2\2\u01d0\u0088\3\2\2\2\u01d1\u01d2\7d\2\2\u01d2\u01d3"+
"\7{\2\2\u01d3\u01d4\7v\2\2\u01d4\u01d5\7g\2\2\u01d5\u01d6\7u\2\2\u01d6"+
"\u008a\3\2\2\2\u01d7\u01d8\7e\2\2\u01d8\u01d9\7{\2\2\u01d9\u01da\7e\2"+
"\2\u01da\u01db\7n\2\2\u01db\u01dc\7g\2\2\u01dc\u01dd\7u\2\2\u01dd\u008c"+
"\3\2\2\2\u01de\u01df\7r\2\2\u01df\u01e0\7e\2\2\u01e0\u008e\3\2\2\2\u01e1"+
"\u01e2\7\60\2\2\u01e2\u01e3\7d\2\2\u01e3\u01e4\7{\2\2\u01e4\u01e5\7v\2"+
"\2\u01e5\u01e6\7g\2\2\u01e6\u0090\3\2\2\2\u01e7\u01e8\7%\2\2\u01e8\u0092"+
"\3\2\2\2\u01e9\u01ea\7\60\2\2\u01ea\u0094\3\2\2\2\u01eb\u01ec\7d\2\2\u01ec"+
"\u01ed\7t\2\2\u01ed\u02ca\7m\2\2\u01ee\u01ef\7q\2\2\u01ef\u01f0\7t\2\2"+
"\u01f0\u02ca\7c\2\2\u01f1\u01f2\7m\2\2\u01f2\u01f3\7k\2\2\u01f3\u02ca"+
"\7n\2\2\u01f4\u01f5\7u\2\2\u01f5\u01f6\7n\2\2\u01f6\u02ca\7q\2\2\u01f7"+
"\u01f8\7p\2\2\u01f8\u01f9\7q\2\2\u01f9\u02ca\7r\2\2\u01fa\u01fb\7c\2\2"+
"\u01fb\u01fc\7u\2\2\u01fc\u02ca\7n\2\2\u01fd\u01fe\7r\2\2\u01fe\u01ff"+
"\7j\2\2\u01ff\u02ca\7r\2\2\u0200\u0201\7c\2\2\u0201\u0202\7p\2\2\u0202"+
"\u02ca\7e\2\2\u0203\u0204\7d\2\2\u0204\u0205\7r\2\2\u0205\u02ca\7n\2\2"+
"\u0206\u0207\7e\2\2\u0207\u0208\7n\2\2\u0208\u02ca\7e\2\2\u0209\u020a"+
"\7l\2\2\u020a\u020b\7u\2\2\u020b\u02ca\7t\2\2\u020c\u020d\7c\2\2\u020d"+
"\u020e\7p\2\2\u020e\u02ca\7f\2\2\u020f\u0210\7t\2\2\u0210\u0211\7n\2\2"+
"\u0211\u02ca\7c\2\2\u0212\u0213\7d\2\2\u0213\u0214\7k\2\2\u0214\u02ca"+
"\7v\2\2\u0215\u0216\7t\2\2\u0216\u0217\7q\2\2\u0217\u02ca\7n\2\2\u0218"+
"\u0219\7r\2\2\u0219\u021a\7n\2\2\u021a\u02ca\7c\2\2\u021b\u021c\7r\2\2"+
"\u021c\u021d\7n\2\2\u021d\u02ca\7r\2\2\u021e\u021f\7d\2\2\u021f\u0220"+
"\7o\2\2\u0220\u02ca\7k\2\2\u0221\u0222\7u\2\2\u0222\u0223\7g\2\2\u0223"+
"\u02ca\7e\2\2\u0224\u0225\7t\2\2\u0225\u0226\7v\2\2\u0226\u02ca\7k\2\2"+
"\u0227\u0228\7g\2\2\u0228\u0229\7q\2\2\u0229\u02ca\7t\2\2\u022a\u022b"+
"\7u\2\2\u022b\u022c\7t\2\2\u022c\u02ca\7g\2\2\u022d\u022e\7n\2\2\u022e"+
"\u022f\7u\2\2\u022f\u02ca\7t\2\2\u0230\u0231\7r\2\2\u0231\u0232\7j\2\2"+
"\u0232\u02ca\7c\2\2\u0233\u0234\7c\2\2\u0234\u0235\7n\2\2\u0235\u02ca"+
"\7t\2\2\u0236\u0237\7l\2\2\u0237\u0238\7o\2\2\u0238\u02ca\7r\2\2\u0239"+
"\u023a\7d\2\2\u023a\u023b\7x\2\2\u023b\u02ca\7e\2\2\u023c\u023d\7e\2\2"+
"\u023d\u023e\7n\2\2\u023e\u02ca\7k\2\2\u023f\u0240\7t\2\2\u0240\u0241"+
"\7v\2\2\u0241\u02ca\7u\2\2\u0242\u0243\7c\2\2\u0243\u0244\7f\2\2\u0244"+
"\u02ca\7e\2\2\u0245\u0246\7t\2\2\u0246\u0247\7t\2\2\u0247\u02ca\7c\2\2"+
"\u0248\u0249\7d\2\2\u0249\u024a\7x\2\2\u024a\u02ca\7u\2\2\u024b\u024c"+
"\7u\2\2\u024c\u024d\7g\2\2\u024d\u02ca\7k\2\2\u024e\u024f\7u\2\2\u024f"+
"\u0250\7c\2\2\u0250\u02ca\7z\2\2\u0251\u0252\7u\2\2\u0252\u0253\7v\2\2"+
"\u0253\u02ca\7{\2\2\u0254\u0255\7u\2\2\u0255\u0256\7v\2\2\u0256\u02ca"+
"\7c\2\2\u0257\u0258\7u\2\2\u0258\u0259\7v\2\2\u0259\u02ca\7z\2\2\u025a"+
"\u025b\7f\2\2\u025b\u025c\7g\2\2\u025c\u02ca\7{\2\2\u025d\u025e\7v\2\2"+
"\u025e\u025f\7z\2\2\u025f\u02ca\7c\2\2\u0260\u0261\7z\2\2\u0261\u0262"+
"\7c\2\2\u0262\u02ca\7c\2\2\u0263\u0264\7d\2\2\u0264\u0265\7e\2\2\u0265"+
"\u02ca\7e\2\2\u0266\u0267\7c\2\2\u0267\u0268\7j\2\2\u0268\u02ca\7z\2\2"+
"\u0269\u026a\7v\2\2\u026a\u026b\7{\2\2\u026b\u02ca\7c\2\2\u026c\u026d"+
"\7v\2\2\u026d\u026e\7z\2\2\u026e\u02ca\7u\2\2\u026f\u0270\7v\2\2\u0270"+
"\u0271\7c\2\2\u0271\u02ca\7u\2\2\u0272\u0273\7u\2\2\u0273\u0274\7j\2\2"+
"\u0274\u02ca\7{\2\2\u0275\u0276\7u\2\2\u0276\u0277\7j\2\2\u0277\u02ca"+
"\7z\2\2\u0278\u0279\7n\2\2\u0279\u027a\7f\2\2\u027a\u02ca\7{\2\2\u027b"+
"\u027c\7n\2\2\u027c\u027d\7f\2\2\u027d\u02ca\7c\2\2\u027e\u027f\7n\2\2"+
"\u027f\u0280\7f\2\2\u0280\u02ca\7z\2\2\u0281\u0282\7n\2\2\u0282\u0283"+
"\7c\2\2\u0283\u02ca\7z\2\2\u0284\u0285\7v\2\2\u0285\u0286\7c\2\2\u0286"+
"\u02ca\7{\2\2\u0287\u0288\7v\2\2\u0288\u0289\7c\2\2\u0289\u02ca\7z\2\2"+
"\u028a\u028b\7d\2\2\u028b\u028c\7e\2\2\u028c\u02ca\7u\2\2\u028d\u028e"+
"\7e\2\2\u028e\u028f\7n\2\2\u028f\u02ca\7x\2\2\u0290\u0291\7v\2\2\u0291"+
"\u0292\7u\2\2\u0292\u02ca\7z\2\2\u0293\u0294\7n\2\2\u0294\u0295\7c\2\2"+
"\u0295\u02ca\7u\2\2\u0296\u0297\7e\2\2\u0297\u0298\7r\2\2\u0298\u02ca"+
"\7{\2\2\u0299\u029a\7e\2\2\u029a\u029b\7o\2\2\u029b\u02ca\7r\2\2\u029c"+
"\u029d\7e\2\2\u029d\u029e\7r\2\2\u029e\u02ca\7z\2\2\u029f\u02a0\7f\2\2"+
"\u02a0\u02a1\7e\2\2\u02a1\u02ca\7r\2\2\u02a2\u02a3\7f\2\2\u02a3\u02a4"+
"\7g\2\2\u02a4\u02ca\7e\2\2\u02a5\u02a6\7k\2\2\u02a6\u02a7\7p\2\2\u02a7"+
"\u02ca\7e\2\2\u02a8\u02a9\7c\2\2\u02a9\u02aa\7z\2\2\u02aa\u02ca\7u\2\2"+
"\u02ab\u02ac\7d\2\2\u02ac\u02ad\7p\2\2\u02ad\u02ca\7g\2\2\u02ae\u02af"+
"\7e\2\2\u02af\u02b0\7n\2\2\u02b0\u02ca\7f\2\2\u02b1\u02b2\7u\2\2\u02b2"+
"\u02b3\7d\2\2\u02b3\u02ca\7e\2\2\u02b4\u02b5\7k\2\2\u02b5\u02b6\7u\2\2"+
"\u02b6\u02ca\7e\2\2\u02b7\u02b8\7k\2\2\u02b8\u02b9\7p\2\2\u02b9\u02ca"+
"\7z\2\2\u02ba\u02bb\7d\2\2\u02bb\u02bc\7g\2\2\u02bc\u02ca\7s\2\2\u02bd"+
"\u02be\7u\2\2\u02be\u02bf\7g\2\2\u02bf\u02ca\7f\2\2\u02c0\u02c1\7f\2\2"+
"\u02c1\u02c2\7g\2\2\u02c2\u02ca\7z\2\2\u02c3\u02c4\7k\2\2\u02c4\u02c5"+
"\7p\2\2\u02c5\u02ca\7{\2\2\u02c6\u02c7\7t\2\2\u02c7\u02c8\7q\2\2\u02c8"+
"\u02ca\7t\2\2\u02c9\u01eb\3\2\2\2\u02c9\u01ee\3\2\2\2\u02c9\u01f1\3\2"+
"\2\2\u02c9\u01f4\3\2\2\2\u02c9\u01f7\3\2\2\2\u02c9\u01fa\3\2\2\2\u02c9"+
"\u01fd\3\2\2\2\u02c9\u0200\3\2\2\2\u02c9\u0203\3\2\2\2\u02c9\u0206\3\2"+
"\2\2\u02c9\u0209\3\2\2\2\u02c9\u020c\3\2\2\2\u02c9\u020f\3\2\2\2\u02c9"+
"\u0212\3\2\2\2\u02c9\u0215\3\2\2\2\u02c9\u0218\3\2\2\2\u02c9\u021b\3\2"+
"\2\2\u02c9\u021e\3\2\2\2\u02c9\u0221\3\2\2\2\u02c9\u0224\3\2\2\2\u02c9"+
"\u0227\3\2\2\2\u02c9\u022a\3\2\2\2\u02c9\u022d\3\2\2\2\u02c9\u0230\3\2"+
"\2\2\u02c9\u0233\3\2\2\2\u02c9\u0236\3\2\2\2\u02c9\u0239\3\2\2\2\u02c9"+
"\u023c\3\2\2\2\u02c9\u023f\3\2\2\2\u02c9\u0242\3\2\2\2\u02c9\u0245\3\2"+
"\2\2\u02c9\u0248\3\2\2\2\u02c9\u024b\3\2\2\2\u02c9\u024e\3\2\2\2\u02c9"+
"\u0251\3\2\2\2\u02c9\u0254\3\2\2\2\u02c9\u0257\3\2\2\2\u02c9\u025a\3\2"+
"\2\2\u02c9\u025d\3\2\2\2\u02c9\u0260\3\2\2\2\u02c9\u0263\3\2\2\2\u02c9"+
"\u0266\3\2\2\2\u02c9\u0269\3\2\2\2\u02c9\u026c\3\2\2\2\u02c9\u026f\3\2"+
"\2\2\u02c9\u0272\3\2\2\2\u02c9\u0275\3\2\2\2\u02c9\u0278\3\2\2\2\u02c9"+
"\u027b\3\2\2\2\u02c9\u027e\3\2\2\2\u02c9\u0281\3\2\2\2\u02c9\u0284\3\2"+
"\2\2\u02c9\u0287\3\2\2\2\u02c9\u028a\3\2\2\2\u02c9\u028d\3\2\2\2\u02c9"+
"\u0290\3\2\2\2\u02c9\u0293\3\2\2\2\u02c9\u0296\3\2\2\2\u02c9\u0299\3\2"+
"\2\2\u02c9\u029c\3\2\2\2\u02c9\u029f\3\2\2\2\u02c9\u02a2\3\2\2\2\u02c9"+
"\u02a5\3\2\2\2\u02c9\u02a8\3\2\2\2\u02c9\u02ab\3\2\2\2\u02c9\u02ae\3\2"+
"\2\2\u02c9\u02b1\3\2\2\2\u02c9\u02b4\3\2\2\2\u02c9\u02b7\3\2\2\2\u02c9"+
"\u02ba\3\2\2\2\u02c9\u02bd\3\2\2\2\u02c9\u02c0\3\2\2\2\u02c9\u02c3\3\2"+
"\2\2\u02c9\u02c6\3\2\2\2\u02ca\u0096\3\2\2\2\u02cb\u02cc\7}\2\2\u02cc"+
"\u02cd\7}\2\2\u02cd\u02d1\3\2\2\2\u02ce\u02d0\13\2\2\2\u02cf\u02ce\3\2"+
"\2\2\u02d0\u02d3\3\2\2\2\u02d1\u02d2\3\2\2\2\u02d1\u02cf\3\2\2\2\u02d2"+
"\u02d4\3\2\2\2\u02d3\u02d1\3\2\2\2\u02d4\u02d5\7\177\2\2\u02d5\u02d6\7"+
"\177\2\2\u02d6\u0098\3\2\2\2\u02d7\u02d8\7d\2\2\u02d8\u02d9\7{\2\2\u02d9"+
"\u02da\7v\2\2\u02da\u02fd\7g\2\2\u02db\u02dc\7y\2\2\u02dc\u02dd\7q\2\2"+
"\u02dd\u02de\7t\2\2\u02de\u02fd\7f\2\2\u02df\u02e0\7f\2\2\u02e0\u02e1"+
"\7y\2\2\u02e1\u02e2\7q\2\2\u02e2\u02e3\7t\2\2\u02e3\u02fd\7f\2\2\u02e4"+
"\u02e5\7d\2\2\u02e5\u02e6\7q\2\2\u02e6\u02e7\7q\2\2\u02e7\u02fd\7n\2\2"+
"\u02e8\u02e9\7e\2\2\u02e9\u02ea\7j\2\2\u02ea\u02eb\7c\2\2\u02eb\u02fd"+
"\7t\2\2\u02ec\u02ed\7u\2\2\u02ed\u02ee\7j\2\2\u02ee\u02ef\7q\2\2\u02ef"+
"\u02f0\7t\2\2\u02f0\u02fd\7v\2\2\u02f1\u02f2\7k\2\2\u02f2\u02f3\7p\2\2"+
"\u02f3\u02fd\7v\2\2\u02f4\u02f5\7n\2\2\u02f5\u02f6\7q\2\2\u02f6\u02f7"+
"\7p\2\2\u02f7\u02fd\7i\2\2\u02f8\u02f9\7x\2\2\u02f9\u02fa\7q\2\2\u02fa"+
"\u02fb\7k\2\2\u02fb\u02fd\7f\2\2\u02fc\u02d7\3\2\2\2\u02fc\u02db\3\2\2"+
"\2\u02fc\u02df\3\2\2\2\u02fc\u02e4\3\2\2\2\u02fc\u02e8\3\2\2\2\u02fc\u02ec"+
"\3\2\2\2\u02fc\u02f1\3\2\2\2\u02fc\u02f4\3\2\2\2\u02fc\u02f8\3\2\2\2\u02fd"+
"\u009a\3\2\2\2\u02fe\u0304\7$\2\2\u02ff\u0300\7^\2\2\u0300\u0303\7$\2"+
"\2\u0301\u0303\n\2\2\2\u0302\u02ff\3\2\2\2\u0302\u0301\3\2\2\2\u0303\u0306"+
"\3\2\2\2\u0304\u0302\3\2\2\2\u0304\u0305\3\2\2\2\u0305\u0307\3\2\2\2\u0306"+
"\u0304\3\2\2\2\u0307\u0309\7$\2\2\u0308\u030a\7|\2\2\u0309\u0308\3\2\2"+
"\2\u0309\u030a\3\2\2\2\u030a\u009c\3\2\2\2\u030b\u030f\7)\2\2\u030c\u030d"+
"\7^\2\2\u030d\u0310\7)\2\2\u030e\u0310\n\3\2\2\u030f\u030c\3\2\2\2\u030f"+
"\u030e\3\2\2\2\u0310\u0311\3\2\2\2\u0311\u0312\7)\2\2\u0312\u009e\3\2"+
"\2\2\u0313\u0314\7v\2\2\u0314\u0315\7t\2\2\u0315\u0316\7w\2\2\u0316\u031d"+
"\7g\2\2\u0317\u0318\7h\2\2\u0318\u0319\7c\2\2\u0319\u031a\7n\2\2\u031a"+
"\u031b\7u\2\2\u031b\u031d\7g\2\2\u031c\u0313\3\2\2\2\u031c\u0317\3\2\2"+
"\2\u031d\u00a0\3\2\2\2\u031e\u0321\5\u00a3R\2\u031f\u0321\5\u00abV\2\u0320"+
"\u031e\3\2\2\2\u0320\u031f\3\2\2\2\u0321\u00a2\3\2\2\2\u0322\u0326\5\u00a5"+
"S\2\u0323\u0326\5\u00a7T\2\u0324\u0326\5\u00a9U\2\u0325\u0322\3\2\2\2"+
"\u0325\u0323\3\2\2\2\u0325\u0324\3\2\2\2\u0326\u00a4\3\2\2\2\u0327\u032d"+
"\7\'\2\2\u0328\u0329\7\62\2\2\u0329\u032d\7d\2\2\u032a\u032b\7\62\2\2"+
"\u032b\u032d\7D\2\2\u032c\u0327\3\2\2\2\u032c\u0328\3\2\2\2\u032c\u032a"+
"\3\2\2\2\u032d\u0331\3\2\2\2\u032e\u0330\5\u00b3Z\2\u032f\u032e\3\2\2"+
"\2\u0330\u0333\3\2\2\2\u0331\u032f\3\2\2\2\u0331\u0332\3\2\2\2\u0332\u0334"+
"\3\2\2\2\u0333\u0331\3\2\2\2\u0334\u0336\7\60\2\2\u0335\u0337\5\u00b3"+
"Z\2\u0336\u0335\3\2\2\2\u0337\u0338\3\2\2\2\u0338\u0336\3\2\2\2\u0338"+
"\u0339\3\2\2\2\u0339\u00a6\3\2\2\2\u033a\u033c\5\u00b5[\2\u033b\u033a"+
"\3\2\2\2\u033c\u033f\3\2\2\2\u033d\u033b\3\2\2\2\u033d\u033e\3\2\2\2\u033e"+
"\u0340\3\2\2\2\u033f\u033d\3\2\2\2\u0340\u0342\7\60\2\2\u0341\u0343\5"+
"\u00b5[\2\u0342\u0341\3\2\2\2\u0343\u0344\3\2\2\2\u0344\u0342\3\2\2\2"+
"\u0344\u0345\3\2\2\2\u0345\u00a8\3\2\2\2\u0346\u034c\7&\2\2\u0347\u0348"+
"\7\62\2\2\u0348\u034c\7z\2\2\u0349\u034a\7\62\2\2\u034a\u034c\7Z\2\2\u034b"+
"\u0346\3\2\2\2\u034b\u0347\3\2\2\2\u034b\u0349\3\2\2\2\u034c\u0350\3\2"+
"\2\2\u034d\u034f\5\u00b7\\\2\u034e\u034d\3\2\2\2\u034f\u0352\3\2\2\2\u0350"+
"\u034e\3\2\2\2\u0350\u0351\3\2\2\2\u0351\u0353\3\2\2\2\u0352\u0350\3\2"+
"\2\2\u0353\u0355\7\60\2\2\u0354\u0356\5\u00b7\\\2\u0355\u0354\3\2\2\2"+
"\u0356\u0357\3\2\2\2\u0357\u0355\3\2\2\2\u0357\u0358\3\2\2\2\u0358\u00aa"+
"\3\2\2\2\u0359\u035d\5\u00afX\2\u035a\u035d\5\u00b1Y\2\u035b\u035d\5\u00ad"+
"W\2\u035c\u0359\3\2\2\2\u035c\u035a\3\2\2\2\u035c\u035b\3\2\2\2\u035d"+
"\u00ac\3\2\2\2\u035e\u035f\7\62\2\2\u035f\u0361\t\4\2\2\u0360\u0362\5"+
"\u00b3Z\2\u0361\u0360\3\2\2\2\u0362\u0363\3\2\2\2\u0363\u0361\3\2\2\2"+
"\u0363\u0364\3\2\2\2\u0364\u036c\3\2\2\2\u0365\u0367\7\'\2\2\u0366\u0368"+
"\5\u00b3Z\2\u0367\u0366\3\2\2\2\u0368\u0369\3\2\2\2\u0369\u0367\3\2\2"+
"\2\u0369\u036a\3\2\2\2\u036a\u036c\3\2\2\2\u036b\u035e\3\2\2\2\u036b\u0365"+
"\3\2\2\2\u036c\u00ae\3\2\2\2\u036d\u036f\5\u00b5[\2\u036e\u036d\3\2\2"+
"\2\u036f\u0370\3\2\2\2\u0370\u036e\3\2\2\2\u0370\u0371\3\2\2\2\u0371\u00b0"+
"\3\2\2\2\u0372\u0378\7&\2\2\u0373\u0374\7\62\2\2\u0374\u0378\7z\2\2\u0375"+
"\u0376\7\62\2\2\u0376\u0378\7Z\2\2\u0377\u0372\3\2\2\2\u0377\u0373\3\2"+
"\2\2\u0377\u0375\3\2\2\2\u0378\u037a\3\2\2\2\u0379\u037b\5\u00b7\\\2\u037a"+
"\u0379\3\2\2\2\u037b\u037c\3\2\2\2\u037c\u037a\3\2\2\2\u037c\u037d\3\2"+
"\2\2\u037d\u00b2\3\2\2\2\u037e\u037f\t\5\2\2\u037f\u00b4\3\2\2\2\u0380"+
"\u0381\t\6\2\2\u0381\u00b6\3\2\2\2\u0382\u0383\t\7\2\2\u0383\u00b8\3\2"+
"\2\2\u0384\u0388\5\u00bb^\2\u0385\u0387\5\u00bd_\2\u0386\u0385\3\2\2\2"+
"\u0387\u038a\3\2\2\2\u0388\u0386\3\2\2\2\u0388\u0389\3\2\2\2\u0389\u00ba"+
"\3\2\2\2\u038a\u0388\3\2\2\2\u038b\u038c\t\b\2\2\u038c\u00bc\3\2\2\2\u038d"+
"\u038e\t\t\2\2\u038e\u00be\3\2\2\2\u038f\u0393\7#\2\2\u0390\u0392\5\u00bd"+
"_\2\u0391\u0390\3\2\2\2\u0392\u0395\3\2\2\2\u0393\u0391\3\2\2\2\u0393"+
"\u0394\3\2\2\2\u0394\u0397\3\2\2\2\u0395\u0393\3\2\2\2\u0396\u0398\t\n"+
"\2\2\u0397\u0396\3\2\2\2\u0398\u0399\3\2\2\2\u0399\u0397\3\2\2\2\u0399"+
"\u039a\3\2\2\2\u039a\u00c0\3\2\2\2\u039b\u039d\t\13\2\2\u039c\u039b\3"+
"\2\2\2\u039d\u039e\3\2\2\2\u039e\u039c\3\2\2\2\u039e\u039f\3\2\2\2\u039f"+
"\u03a0\3\2\2\2\u03a0\u03a1\ba\2\2\u03a1\u00c2\3\2\2\2\u03a2\u03a3\7\61"+
"\2\2\u03a3\u03a4\7\61\2\2\u03a4\u03a8\3\2\2\2\u03a5\u03a7\n\f\2\2\u03a6"+
"\u03a5\3\2\2\2\u03a7\u03aa\3\2\2\2\u03a8\u03a6\3\2\2\2\u03a8\u03a9\3\2"+
"\2\2\u03a9\u03ab\3\2\2\2\u03aa\u03a8\3\2\2\2\u03ab\u03ac\bb\3\2\u03ac"+
"\u00c4\3\2\2\2\u03ad\u03ae\7\61\2\2\u03ae\u03af\7,\2\2\u03af\u03b3\3\2"+
"\2\2\u03b0\u03b2\13\2\2\2\u03b1\u03b0\3\2\2\2\u03b2\u03b5\3\2\2\2\u03b3"+
"\u03b4\3\2\2\2\u03b3\u03b1\3\2\2\2\u03b4\u03b6\3\2\2\2\u03b5\u03b3\3\2"+
"\2\2\u03b6\u03b7\7,\2\2\u03b7\u03b8\7\61\2\2\u03b8\u03b9\3\2\2\2\u03b9"+
"\u03ba\bc\3\2\u03ba\u00c6\3\2\2\2\"\2\u02c9\u02d1\u02fc\u0302\u0304\u0309"+
"\u030f\u031c\u0320\u0325\u032c\u0331\u0338\u033d\u0344\u034b\u0350\u0357"+
"\u035c\u0363\u0369\u036b\u0370\u0377\u037c\u0388\u0393\u0399\u039e\u03a8"+
"\u03b3\4\2\3\2\2\4\2";
"`\t`\4a\ta\4b\tb\4c\tc\4d\td\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\35\3\35\3\35\3\35\3\35\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\60\3\60\3\60\3\61\3\61\3\61\3\62\3\62\3\62\3\63\3\63\3"+
"\64\3\64\3\65\3\65\3\65\3\66\3\66\3\66\3\67\3\67\38\38\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@\3A"+
"\3A\3A\3B\3B\3B\3B\3B\3B\3B\3B\3C\3C\3C\3C\3C\3C\3C\3C\3C\3D\3D\3D\3D"+
"\3D\3E\3E\3E\3E\3E\3E\3E\3E\3E\3F\3F\3F\3F\3F\3F\3G\3G\3G\3G\3G\3G\3G"+
"\3H\3H\3H\3I\3I\3I\3I\3I\3I\3J\3J\3K\3K\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L"+
"\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L"+
"\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L"+
"\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L"+
"\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L"+
"\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L"+
"\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L"+
"\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L"+
"\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L"+
"\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L\3L"+
"\3L\3L\3L\3L\3L\5L\u02d3\nL\3M\3M\3M\3M\7M\u02d9\nM\fM\16M\u02dc\13M\3"+
"M\3M\3M\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3"+
"N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\3N\5N\u0306\nN\3O\3O\3"+
"O\3O\7O\u030c\nO\fO\16O\u030f\13O\3O\3O\5O\u0313\nO\3P\3P\3P\3P\5P\u0319"+
"\nP\3P\3P\3Q\3Q\3Q\3Q\3Q\3Q\3Q\3Q\3Q\5Q\u0326\nQ\3R\3R\5R\u032a\nR\3S"+
"\3S\3S\5S\u032f\nS\3T\3T\3T\3T\3T\5T\u0336\nT\3T\7T\u0339\nT\fT\16T\u033c"+
"\13T\3T\3T\6T\u0340\nT\rT\16T\u0341\3U\7U\u0345\nU\fU\16U\u0348\13U\3"+
"U\3U\6U\u034c\nU\rU\16U\u034d\3V\3V\3V\3V\3V\5V\u0355\nV\3V\7V\u0358\n"+
"V\fV\16V\u035b\13V\3V\3V\6V\u035f\nV\rV\16V\u0360\3W\3W\3W\5W\u0366\n"+
"W\3X\3X\3X\6X\u036b\nX\rX\16X\u036c\3X\3X\6X\u0371\nX\rX\16X\u0372\5X"+
"\u0375\nX\3Y\6Y\u0378\nY\rY\16Y\u0379\3Z\3Z\3Z\3Z\3Z\5Z\u0381\nZ\3Z\6"+
"Z\u0384\nZ\rZ\16Z\u0385\3[\3[\3\\\3\\\3]\3]\3^\3^\7^\u0390\n^\f^\16^\u0393"+
"\13^\3_\3_\3`\3`\3a\3a\7a\u039b\na\fa\16a\u039e\13a\3a\6a\u03a1\na\ra"+
"\16a\u03a2\3b\6b\u03a6\nb\rb\16b\u03a7\3b\3b\3c\3c\3c\3c\7c\u03b0\nc\f"+
"c\16c\u03b3\13c\3c\3c\3d\3d\3d\3d\7d\u03bb\nd\fd\16d\u03be\13d\3d\3d\3"+
"d\3d\3d\4\u02da\u03bc\2e\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\62"+
"c\63e\64g\65i\66k\67m8o9q:s;u<w=y>{?}@\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"+
"Y\u00b1Z\u00b3[\u00b5\2\u00b7\2\u00b9\2\u00bb\\\u00bd\2\u00bf\2\u00c1"+
"]\u00c3^\u00c5_\u00c7`\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\u0431\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}\3\2\2\2\2\177\3\2\2\2\2\u0081\3\2\2"+
"\2\2\u0083\3\2\2\2\2\u0085\3\2\2\2\2\u0087\3\2\2\2\2\u0089\3\2\2\2\2\u008b"+
"\3\2\2\2\2\u008d\3\2\2\2\2\u008f\3\2\2\2\2\u0091\3\2\2\2\2\u0093\3\2\2"+
"\2\2\u0095\3\2\2\2\2\u0097\3\2\2\2\2\u0099\3\2\2\2\2\u009b\3\2\2\2\2\u009d"+
"\3\2\2\2\2\u009f\3\2\2\2\2\u00a1\3\2\2\2\2\u00a3\3\2\2\2\2\u00a5\3\2\2"+
"\2\2\u00a7\3\2\2\2\2\u00a9\3\2\2\2\2\u00ab\3\2\2\2\2\u00ad\3\2\2\2\2\u00af"+
"\3\2\2\2\2\u00b1\3\2\2\2\2\u00b3\3\2\2\2\2\u00bb\3\2\2\2\2\u00c1\3\2\2"+
"\2\2\u00c3\3\2\2\2\2\u00c5\3\2\2\2\2\u00c7\3\2\2\2\3\u00c9\3\2\2\2\5\u00d0"+
"\3\2\2\2\7\u00d2\3\2\2\2\t\u00d4\3\2\2\2\13\u00d6\3\2\2\2\r\u00d8\3\2"+
"\2\2\17\u00da\3\2\2\2\21\u00dc\3\2\2\2\23\u00de\3\2\2\2\25\u00e4\3\2\2"+
"\2\27\u00eb\3\2\2\2\31\u00f1\3\2\2\2\33\u00fa\3\2\2\2\35\u0101\3\2\2\2"+
"\37\u010a\3\2\2\2!\u0114\3\2\2\2#\u0117\3\2\2\2%\u011c\3\2\2\2\'\u0122"+
"\3\2\2\2)\u0125\3\2\2\2+\u0129\3\2\2\2-\u0130\3\2\2\2/\u0136\3\2\2\2\61"+
"\u013f\3\2\2\2\63\u0143\3\2\2\2\65\u0145\3\2\2\2\67\u0148\3\2\2\29\u014f"+
"\3\2\2\2;\u0158\3\2\2\2=\u015a\3\2\2\2?\u015c\3\2\2\2A\u015e\3\2\2\2C"+
"\u0165\3\2\2\2E\u0168\3\2\2\2G\u016b\3\2\2\2I\u016d\3\2\2\2K\u016f\3\2"+
"\2\2M\u0171\3\2\2\2O\u0173\3\2\2\2Q\u0175\3\2\2\2S\u0178\3\2\2\2U\u017b"+
"\3\2\2\2W\u017d\3\2\2\2Y\u017f\3\2\2\2[\u0181\3\2\2\2]\u0183\3\2\2\2_"+
"\u0186\3\2\2\2a\u0189\3\2\2\2c\u018c\3\2\2\2e\u018f\3\2\2\2g\u0191\3\2"+
"\2\2i\u0193\3\2\2\2k\u0196\3\2\2\2m\u0199\3\2\2\2o\u019b\3\2\2\2q\u019e"+
"\3\2\2\2s\u01a1\3\2\2\2u\u01a4\3\2\2\2w\u01a7\3\2\2\2y\u01aa\3\2\2\2{"+
"\u01ae\3\2\2\2}\u01b2\3\2\2\2\177\u01b5\3\2\2\2\u0081\u01b8\3\2\2\2\u0083"+
"\u01bb\3\2\2\2\u0085\u01c3\3\2\2\2\u0087\u01cc\3\2\2\2\u0089\u01d1\3\2"+
"\2\2\u008b\u01da\3\2\2\2\u008d\u01e0\3\2\2\2\u008f\u01e7\3\2\2\2\u0091"+
"\u01ea\3\2\2\2\u0093\u01f0\3\2\2\2\u0095\u01f2\3\2\2\2\u0097\u02d2\3\2"+
"\2\2\u0099\u02d4\3\2\2\2\u009b\u0305\3\2\2\2\u009d\u0307\3\2\2\2\u009f"+
"\u0314\3\2\2\2\u00a1\u0325\3\2\2\2\u00a3\u0329\3\2\2\2\u00a5\u032e\3\2"+
"\2\2\u00a7\u0335\3\2\2\2\u00a9\u0346\3\2\2\2\u00ab\u0354\3\2\2\2\u00ad"+
"\u0365\3\2\2\2\u00af\u0374\3\2\2\2\u00b1\u0377\3\2\2\2\u00b3\u0380\3\2"+
"\2\2\u00b5\u0387\3\2\2\2\u00b7\u0389\3\2\2\2\u00b9\u038b\3\2\2\2\u00bb"+
"\u038d\3\2\2\2\u00bd\u0394\3\2\2\2\u00bf\u0396\3\2\2\2\u00c1\u0398\3\2"+
"\2\2\u00c3\u03a5\3\2\2\2\u00c5\u03ab\3\2\2\2\u00c7\u03b6\3\2\2\2\u00c9"+
"\u00ca\7k\2\2\u00ca\u00cb\7o\2\2\u00cb\u00cc\7r\2\2\u00cc\u00cd\7q\2\2"+
"\u00cd\u00ce\7t\2\2\u00ce\u00cf\7v\2\2\u00cf\4\3\2\2\2\u00d0\u00d1\7="+
"\2\2\u00d1\6\3\2\2\2\u00d2\u00d3\7.\2\2\u00d3\b\3\2\2\2\u00d4\u00d5\7"+
"?\2\2\u00d5\n\3\2\2\2\u00d6\u00d7\7*\2\2\u00d7\f\3\2\2\2\u00d8\u00d9\7"+
"+\2\2\u00d9\16\3\2\2\2\u00da\u00db\7}\2\2\u00db\20\3\2\2\2\u00dc\u00dd"+
"\7\177\2\2\u00dd\22\3\2\2\2\u00de\u00df\7e\2\2\u00df\u00e0\7q\2\2\u00e0"+
"\u00e1\7p\2\2\u00e1\u00e2\7u\2\2\u00e2\u00e3\7v\2\2\u00e3\24\3\2\2\2\u00e4"+
"\u00e5\7g\2\2\u00e5\u00e6\7z\2\2\u00e6\u00e7\7v\2\2\u00e7\u00e8\7g\2\2"+
"\u00e8\u00e9\7t\2\2\u00e9\u00ea\7p\2\2\u00ea\26\3\2\2\2\u00eb\u00ec\7"+
"c\2\2\u00ec\u00ed\7n\2\2\u00ed\u00ee\7k\2\2\u00ee\u00ef\7i\2\2\u00ef\u00f0"+
"\7p\2\2\u00f0\30\3\2\2\2\u00f1\u00f2\7t\2\2\u00f2\u00f3\7g\2\2\u00f3\u00f4"+
"\7i\2\2\u00f4\u00f5\7k\2\2\u00f5\u00f6\7u\2\2\u00f6\u00f7\7v\2\2\u00f7"+
"\u00f8\7g\2\2\u00f8\u00f9\7t\2\2\u00f9\32\3\2\2\2\u00fa\u00fb\7k\2\2\u00fb"+
"\u00fc\7p\2\2\u00fc\u00fd\7n\2\2\u00fd\u00fe\7k\2\2\u00fe\u00ff\7p\2\2"+
"\u00ff\u0100\7g\2\2\u0100\34\3\2\2\2\u0101\u0102\7x\2\2\u0102\u0103\7"+
"q\2\2\u0103\u0104\7n\2\2\u0104\u0105\7c\2\2\u0105\u0106\7v\2\2\u0106\u0107"+
"\7k\2\2\u0107\u0108\7n\2\2\u0108\u0109\7g\2\2\u0109\36\3\2\2\2\u010a\u010b"+
"\7k\2\2\u010b\u010c\7p\2\2\u010c\u010d\7v\2\2\u010d\u010e\7g\2\2\u010e"+
"\u010f\7t\2\2\u010f\u0110\7t\2\2\u0110\u0111\7w\2\2\u0111\u0112\7r\2\2"+
"\u0112\u0113\7v\2\2\u0113 \3\2\2\2\u0114\u0115\7k\2\2\u0115\u0116\7h\2"+
"\2\u0116\"\3\2\2\2\u0117\u0118\7g\2\2\u0118\u0119\7n\2\2\u0119\u011a\7"+
"u\2\2\u011a\u011b\7g\2\2\u011b$\3\2\2\2\u011c\u011d\7y\2\2\u011d\u011e"+
"\7j\2\2\u011e\u011f\7k\2\2\u011f\u0120\7n\2\2\u0120\u0121\7g\2\2\u0121"+
"&\3\2\2\2\u0122\u0123\7f\2\2\u0123\u0124\7q\2\2\u0124(\3\2\2\2\u0125\u0126"+
"\7h\2\2\u0126\u0127\7q\2\2\u0127\u0128\7t\2\2\u0128*\3\2\2\2\u0129\u012a"+
"\7t\2\2\u012a\u012b\7g\2\2\u012b\u012c\7v\2\2\u012c\u012d\7w\2\2\u012d"+
"\u012e\7t\2\2\u012e\u012f\7p\2\2\u012f,\3\2\2\2\u0130\u0131\7d\2\2\u0131"+
"\u0132\7t\2\2\u0132\u0133\7g\2\2\u0133\u0134\7c\2\2\u0134\u0135\7m\2\2"+
"\u0135.\3\2\2\2\u0136\u0137\7e\2\2\u0137\u0138\7q\2\2\u0138\u0139\7p\2"+
"\2\u0139\u013a\7v\2\2\u013a\u013b\7k\2\2\u013b\u013c\7p\2\2\u013c\u013d"+
"\7w\2\2\u013d\u013e\7g\2\2\u013e\60\3\2\2\2\u013f\u0140\7c\2\2\u0140\u0141"+
"\7u\2\2\u0141\u0142\7o\2\2\u0142\62\3\2\2\2\u0143\u0144\7<\2\2\u0144\64"+
"\3\2\2\2\u0145\u0146\7\60\2\2\u0146\u0147\7\60\2\2\u0147\66\3\2\2\2\u0148"+
"\u0149\7u\2\2\u0149\u014a\7k\2\2\u014a\u014b\7i\2\2\u014b\u014c\7p\2\2"+
"\u014c\u014d\7g\2\2\u014d\u014e\7f\2\2\u014e8\3\2\2\2\u014f\u0150\7w\2"+
"\2\u0150\u0151\7p\2\2\u0151\u0152\7u\2\2\u0152\u0153\7k\2\2\u0153\u0154"+
"\7i\2\2\u0154\u0155\7p\2\2\u0155\u0156\7g\2\2\u0156\u0157\7f\2\2\u0157"+
":\3\2\2\2\u0158\u0159\7,\2\2\u0159<\3\2\2\2\u015a\u015b\7]\2\2\u015b>"+
"\3\2\2\2\u015c\u015d\7_\2\2\u015d@\3\2\2\2\u015e\u015f\7u\2\2\u015f\u0160"+
"\7k\2\2\u0160\u0161\7|\2\2\u0161\u0162\7g\2\2\u0162\u0163\7q\2\2\u0163"+
"\u0164\7h\2\2\u0164B\3\2\2\2\u0165\u0166\7/\2\2\u0166\u0167\7/\2\2\u0167"+
"D\3\2\2\2\u0168\u0169\7-\2\2\u0169\u016a\7-\2\2\u016aF\3\2\2\2\u016b\u016c"+
"\7-\2\2\u016cH\3\2\2\2\u016d\u016e\7/\2\2\u016eJ\3\2\2\2\u016f\u0170\7"+
"#\2\2\u0170L\3\2\2\2\u0171\u0172\7(\2\2\u0172N\3\2\2\2\u0173\u0174\7\u0080"+
"\2\2\u0174P\3\2\2\2\u0175\u0176\7@\2\2\u0176\u0177\7@\2\2\u0177R\3\2\2"+
"\2\u0178\u0179\7>\2\2\u0179\u017a\7>\2\2\u017aT\3\2\2\2\u017b\u017c\7"+
"\61\2\2\u017cV\3\2\2\2\u017d\u017e\7\'\2\2\u017eX\3\2\2\2\u017f\u0180"+
"\7>\2\2\u0180Z\3\2\2\2\u0181\u0182\7@\2\2\u0182\\\3\2\2\2\u0183\u0184"+
"\7?\2\2\u0184\u0185\7?\2\2\u0185^\3\2\2\2\u0186\u0187\7#\2\2\u0187\u0188"+
"\7?\2\2\u0188`\3\2\2\2\u0189\u018a\7>\2\2\u018a\u018b\7?\2\2\u018bb\3"+
"\2\2\2\u018c\u018d\7@\2\2\u018d\u018e\7?\2\2\u018ed\3\2\2\2\u018f\u0190"+
"\7`\2\2\u0190f\3\2\2\2\u0191\u0192\7~\2\2\u0192h\3\2\2\2\u0193\u0194\7"+
"(\2\2\u0194\u0195\7(\2\2\u0195j\3\2\2\2\u0196\u0197\7~\2\2\u0197\u0198"+
"\7~\2\2\u0198l\3\2\2\2\u0199\u019a\7A\2\2\u019an\3\2\2\2\u019b\u019c\7"+
"-\2\2\u019c\u019d\7?\2\2\u019dp\3\2\2\2\u019e\u019f\7/\2\2\u019f\u01a0"+
"\7?\2\2\u01a0r\3\2\2\2\u01a1\u01a2\7,\2\2\u01a2\u01a3\7?\2\2\u01a3t\3"+
"\2\2\2\u01a4\u01a5\7\61\2\2\u01a5\u01a6\7?\2\2\u01a6v\3\2\2\2\u01a7\u01a8"+
"\7\'\2\2\u01a8\u01a9\7?\2\2\u01a9x\3\2\2\2\u01aa\u01ab\7>\2\2\u01ab\u01ac"+
"\7>\2\2\u01ac\u01ad\7?\2\2\u01adz\3\2\2\2\u01ae\u01af\7@\2\2\u01af\u01b0"+
"\7@\2\2\u01b0\u01b1\7?\2\2\u01b1|\3\2\2\2\u01b2\u01b3\7(\2\2\u01b3\u01b4"+
"\7?\2\2\u01b4~\3\2\2\2\u01b5\u01b6\7~\2\2\u01b6\u01b7\7?\2\2\u01b7\u0080"+
"\3\2\2\2\u01b8\u01b9\7`\2\2\u01b9\u01ba\7?\2\2\u01ba\u0082\3\2\2\2\u01bb"+
"\u01bc\7m\2\2\u01bc\u01bd\7k\2\2\u01bd\u01be\7e\2\2\u01be\u01bf\7m\2\2"+
"\u01bf\u01c0\7c\2\2\u01c0\u01c1\7u\2\2\u01c1\u01c2\7o\2\2\u01c2\u0084"+
"\3\2\2\2\u01c3\u01c4\7t\2\2\u01c4\u01c5\7g\2\2\u01c5\u01c6\7u\2\2\u01c6"+
"\u01c7\7q\2\2\u01c7\u01c8\7w\2\2\u01c8\u01c9\7t\2\2\u01c9\u01ca\7e\2\2"+
"\u01ca\u01cb\7g\2\2\u01cb\u0086\3\2\2\2\u01cc\u01cd\7w\2\2\u01cd\u01ce"+
"\7u\2\2\u01ce\u01cf\7g\2\2\u01cf\u01d0\7u\2\2\u01d0\u0088\3\2\2\2\u01d1"+
"\u01d2\7e\2\2\u01d2\u01d3\7n\2\2\u01d3\u01d4\7q\2\2\u01d4\u01d5\7d\2\2"+
"\u01d5\u01d6\7d\2\2\u01d6\u01d7\7g\2\2\u01d7\u01d8\7t\2\2\u01d8\u01d9"+
"\7u\2\2\u01d9\u008a\3\2\2\2\u01da\u01db\7d\2\2\u01db\u01dc\7{\2\2\u01dc"+
"\u01dd\7v\2\2\u01dd\u01de\7g\2\2\u01de\u01df\7u\2\2\u01df\u008c\3\2\2"+
"\2\u01e0\u01e1\7e\2\2\u01e1\u01e2\7{\2\2\u01e2\u01e3\7e\2\2\u01e3\u01e4"+
"\7n\2\2\u01e4\u01e5\7g\2\2\u01e5\u01e6\7u\2\2\u01e6\u008e\3\2\2\2\u01e7"+
"\u01e8\7r\2\2\u01e8\u01e9\7e\2\2\u01e9\u0090\3\2\2\2\u01ea\u01eb\7\60"+
"\2\2\u01eb\u01ec\7d\2\2\u01ec\u01ed\7{\2\2\u01ed\u01ee\7v\2\2\u01ee\u01ef"+
"\7g\2\2\u01ef\u0092\3\2\2\2\u01f0\u01f1\7%\2\2\u01f1\u0094\3\2\2\2\u01f2"+
"\u01f3\7\60\2\2\u01f3\u0096\3\2\2\2\u01f4\u01f5\7d\2\2\u01f5\u01f6\7t"+
"\2\2\u01f6\u02d3\7m\2\2\u01f7\u01f8\7q\2\2\u01f8\u01f9\7t\2\2\u01f9\u02d3"+
"\7c\2\2\u01fa\u01fb\7m\2\2\u01fb\u01fc\7k\2\2\u01fc\u02d3\7n\2\2\u01fd"+
"\u01fe\7u\2\2\u01fe\u01ff\7n\2\2\u01ff\u02d3\7q\2\2\u0200\u0201\7p\2\2"+
"\u0201\u0202\7q\2\2\u0202\u02d3\7r\2\2\u0203\u0204\7c\2\2\u0204\u0205"+
"\7u\2\2\u0205\u02d3\7n\2\2\u0206\u0207\7r\2\2\u0207\u0208\7j\2\2\u0208"+
"\u02d3\7r\2\2\u0209\u020a\7c\2\2\u020a\u020b\7p\2\2\u020b\u02d3\7e\2\2"+
"\u020c\u020d\7d\2\2\u020d\u020e\7r\2\2\u020e\u02d3\7n\2\2\u020f\u0210"+
"\7e\2\2\u0210\u0211\7n\2\2\u0211\u02d3\7e\2\2\u0212\u0213\7l\2\2\u0213"+
"\u0214\7u\2\2\u0214\u02d3\7t\2\2\u0215\u0216\7c\2\2\u0216\u0217\7p\2\2"+
"\u0217\u02d3\7f\2\2\u0218\u0219\7t\2\2\u0219\u021a\7n\2\2\u021a\u02d3"+
"\7c\2\2\u021b\u021c\7d\2\2\u021c\u021d\7k\2\2\u021d\u02d3\7v\2\2\u021e"+
"\u021f\7t\2\2\u021f\u0220\7q\2\2\u0220\u02d3\7n\2\2\u0221\u0222\7r\2\2"+
"\u0222\u0223\7n\2\2\u0223\u02d3\7c\2\2\u0224\u0225\7r\2\2\u0225\u0226"+
"\7n\2\2\u0226\u02d3\7r\2\2\u0227\u0228\7d\2\2\u0228\u0229\7o\2\2\u0229"+
"\u02d3\7k\2\2\u022a\u022b\7u\2\2\u022b\u022c\7g\2\2\u022c\u02d3\7e\2\2"+
"\u022d\u022e\7t\2\2\u022e\u022f\7v\2\2\u022f\u02d3\7k\2\2\u0230\u0231"+
"\7g\2\2\u0231\u0232\7q\2\2\u0232\u02d3\7t\2\2\u0233\u0234\7u\2\2\u0234"+
"\u0235\7t\2\2\u0235\u02d3\7g\2\2\u0236\u0237\7n\2\2\u0237\u0238\7u\2\2"+
"\u0238\u02d3\7t\2\2\u0239\u023a\7r\2\2\u023a\u023b\7j\2\2\u023b\u02d3"+
"\7c\2\2\u023c\u023d\7c\2\2\u023d\u023e\7n\2\2\u023e\u02d3\7t\2\2\u023f"+
"\u0240\7l\2\2\u0240\u0241\7o\2\2\u0241\u02d3\7r\2\2\u0242\u0243\7d\2\2"+
"\u0243\u0244\7x\2\2\u0244\u02d3\7e\2\2\u0245\u0246\7e\2\2\u0246\u0247"+
"\7n\2\2\u0247\u02d3\7k\2\2\u0248\u0249\7t\2\2\u0249\u024a\7v\2\2\u024a"+
"\u02d3\7u\2\2\u024b\u024c\7c\2\2\u024c\u024d\7f\2\2\u024d\u02d3\7e\2\2"+
"\u024e\u024f\7t\2\2\u024f\u0250\7t\2\2\u0250\u02d3\7c\2\2\u0251\u0252"+
"\7d\2\2\u0252\u0253\7x\2\2\u0253\u02d3\7u\2\2\u0254\u0255\7u\2\2\u0255"+
"\u0256\7g\2\2\u0256\u02d3\7k\2\2\u0257\u0258\7u\2\2\u0258\u0259\7c\2\2"+
"\u0259\u02d3\7z\2\2\u025a\u025b\7u\2\2\u025b\u025c\7v\2\2\u025c\u02d3"+
"\7{\2\2\u025d\u025e\7u\2\2\u025e\u025f\7v\2\2\u025f\u02d3\7c\2\2\u0260"+
"\u0261\7u\2\2\u0261\u0262\7v\2\2\u0262\u02d3\7z\2\2\u0263\u0264\7f\2\2"+
"\u0264\u0265\7g\2\2\u0265\u02d3\7{\2\2\u0266\u0267\7v\2\2\u0267\u0268"+
"\7z\2\2\u0268\u02d3\7c\2\2\u0269\u026a\7z\2\2\u026a\u026b\7c\2\2\u026b"+
"\u02d3\7c\2\2\u026c\u026d\7d\2\2\u026d\u026e\7e\2\2\u026e\u02d3\7e\2\2"+
"\u026f\u0270\7c\2\2\u0270\u0271\7j\2\2\u0271\u02d3\7z\2\2\u0272\u0273"+
"\7v\2\2\u0273\u0274\7{\2\2\u0274\u02d3\7c\2\2\u0275\u0276\7v\2\2\u0276"+
"\u0277\7z\2\2\u0277\u02d3\7u\2\2\u0278\u0279\7v\2\2\u0279\u027a\7c\2\2"+
"\u027a\u02d3\7u\2\2\u027b\u027c\7u\2\2\u027c\u027d\7j\2\2\u027d\u02d3"+
"\7{\2\2\u027e\u027f\7u\2\2\u027f\u0280\7j\2\2\u0280\u02d3\7z\2\2\u0281"+
"\u0282\7n\2\2\u0282\u0283\7f\2\2\u0283\u02d3\7{\2\2\u0284\u0285\7n\2\2"+
"\u0285\u0286\7f\2\2\u0286\u02d3\7c\2\2\u0287\u0288\7n\2\2\u0288\u0289"+
"\7f\2\2\u0289\u02d3\7z\2\2\u028a\u028b\7n\2\2\u028b\u028c\7c\2\2\u028c"+
"\u02d3\7z\2\2\u028d\u028e\7v\2\2\u028e\u028f\7c\2\2\u028f\u02d3\7{\2\2"+
"\u0290\u0291\7v\2\2\u0291\u0292\7c\2\2\u0292\u02d3\7z\2\2\u0293\u0294"+
"\7d\2\2\u0294\u0295\7e\2\2\u0295\u02d3\7u\2\2\u0296\u0297\7e\2\2\u0297"+
"\u0298\7n\2\2\u0298\u02d3\7x\2\2\u0299\u029a\7v\2\2\u029a\u029b\7u\2\2"+
"\u029b\u02d3\7z\2\2\u029c\u029d\7n\2\2\u029d\u029e\7c\2\2\u029e\u02d3"+
"\7u\2\2\u029f\u02a0\7e\2\2\u02a0\u02a1\7r\2\2\u02a1\u02d3\7{\2\2\u02a2"+
"\u02a3\7e\2\2\u02a3\u02a4\7o\2\2\u02a4\u02d3\7r\2\2\u02a5\u02a6\7e\2\2"+
"\u02a6\u02a7\7r\2\2\u02a7\u02d3\7z\2\2\u02a8\u02a9\7f\2\2\u02a9\u02aa"+
"\7e\2\2\u02aa\u02d3\7r\2\2\u02ab\u02ac\7f\2\2\u02ac\u02ad\7g\2\2\u02ad"+
"\u02d3\7e\2\2\u02ae\u02af\7k\2\2\u02af\u02b0\7p\2\2\u02b0\u02d3\7e\2\2"+
"\u02b1\u02b2\7c\2\2\u02b2\u02b3\7z\2\2\u02b3\u02d3\7u\2\2\u02b4\u02b5"+
"\7d\2\2\u02b5\u02b6\7p\2\2\u02b6\u02d3\7g\2\2\u02b7\u02b8\7e\2\2\u02b8"+
"\u02b9\7n\2\2\u02b9\u02d3\7f\2\2\u02ba\u02bb\7u\2\2\u02bb\u02bc\7d\2\2"+
"\u02bc\u02d3\7e\2\2\u02bd\u02be\7k\2\2\u02be\u02bf\7u\2\2\u02bf\u02d3"+
"\7e\2\2\u02c0\u02c1\7k\2\2\u02c1\u02c2\7p\2\2\u02c2\u02d3\7z\2\2\u02c3"+
"\u02c4\7d\2\2\u02c4\u02c5\7g\2\2\u02c5\u02d3\7s\2\2\u02c6\u02c7\7u\2\2"+
"\u02c7\u02c8\7g\2\2\u02c8\u02d3\7f\2\2\u02c9\u02ca\7f\2\2\u02ca\u02cb"+
"\7g\2\2\u02cb\u02d3\7z\2\2\u02cc\u02cd\7k\2\2\u02cd\u02ce\7p\2\2\u02ce"+
"\u02d3\7{\2\2\u02cf\u02d0\7t\2\2\u02d0\u02d1\7q\2\2\u02d1\u02d3\7t\2\2"+
"\u02d2\u01f4\3\2\2\2\u02d2\u01f7\3\2\2\2\u02d2\u01fa\3\2\2\2\u02d2\u01fd"+
"\3\2\2\2\u02d2\u0200\3\2\2\2\u02d2\u0203\3\2\2\2\u02d2\u0206\3\2\2\2\u02d2"+
"\u0209\3\2\2\2\u02d2\u020c\3\2\2\2\u02d2\u020f\3\2\2\2\u02d2\u0212\3\2"+
"\2\2\u02d2\u0215\3\2\2\2\u02d2\u0218\3\2\2\2\u02d2\u021b\3\2\2\2\u02d2"+
"\u021e\3\2\2\2\u02d2\u0221\3\2\2\2\u02d2\u0224\3\2\2\2\u02d2\u0227\3\2"+
"\2\2\u02d2\u022a\3\2\2\2\u02d2\u022d\3\2\2\2\u02d2\u0230\3\2\2\2\u02d2"+
"\u0233\3\2\2\2\u02d2\u0236\3\2\2\2\u02d2\u0239\3\2\2\2\u02d2\u023c\3\2"+
"\2\2\u02d2\u023f\3\2\2\2\u02d2\u0242\3\2\2\2\u02d2\u0245\3\2\2\2\u02d2"+
"\u0248\3\2\2\2\u02d2\u024b\3\2\2\2\u02d2\u024e\3\2\2\2\u02d2\u0251\3\2"+
"\2\2\u02d2\u0254\3\2\2\2\u02d2\u0257\3\2\2\2\u02d2\u025a\3\2\2\2\u02d2"+
"\u025d\3\2\2\2\u02d2\u0260\3\2\2\2\u02d2\u0263\3\2\2\2\u02d2\u0266\3\2"+
"\2\2\u02d2\u0269\3\2\2\2\u02d2\u026c\3\2\2\2\u02d2\u026f\3\2\2\2\u02d2"+
"\u0272\3\2\2\2\u02d2\u0275\3\2\2\2\u02d2\u0278\3\2\2\2\u02d2\u027b\3\2"+
"\2\2\u02d2\u027e\3\2\2\2\u02d2\u0281\3\2\2\2\u02d2\u0284\3\2\2\2\u02d2"+
"\u0287\3\2\2\2\u02d2\u028a\3\2\2\2\u02d2\u028d\3\2\2\2\u02d2\u0290\3\2"+
"\2\2\u02d2\u0293\3\2\2\2\u02d2\u0296\3\2\2\2\u02d2\u0299\3\2\2\2\u02d2"+
"\u029c\3\2\2\2\u02d2\u029f\3\2\2\2\u02d2\u02a2\3\2\2\2\u02d2\u02a5\3\2"+
"\2\2\u02d2\u02a8\3\2\2\2\u02d2\u02ab\3\2\2\2\u02d2\u02ae\3\2\2\2\u02d2"+
"\u02b1\3\2\2\2\u02d2\u02b4\3\2\2\2\u02d2\u02b7\3\2\2\2\u02d2\u02ba\3\2"+
"\2\2\u02d2\u02bd\3\2\2\2\u02d2\u02c0\3\2\2\2\u02d2\u02c3\3\2\2\2\u02d2"+
"\u02c6\3\2\2\2\u02d2\u02c9\3\2\2\2\u02d2\u02cc\3\2\2\2\u02d2\u02cf\3\2"+
"\2\2\u02d3\u0098\3\2\2\2\u02d4\u02d5\7}\2\2\u02d5\u02d6\7}\2\2\u02d6\u02da"+
"\3\2\2\2\u02d7\u02d9\13\2\2\2\u02d8\u02d7\3\2\2\2\u02d9\u02dc\3\2\2\2"+
"\u02da\u02db\3\2\2\2\u02da\u02d8\3\2\2\2\u02db\u02dd\3\2\2\2\u02dc\u02da"+
"\3\2\2\2\u02dd\u02de\7\177\2\2\u02de\u02df\7\177\2\2\u02df\u009a\3\2\2"+
"\2\u02e0\u02e1\7d\2\2\u02e1\u02e2\7{\2\2\u02e2\u02e3\7v\2\2\u02e3\u0306"+
"\7g\2\2\u02e4\u02e5\7y\2\2\u02e5\u02e6\7q\2\2\u02e6\u02e7\7t\2\2\u02e7"+
"\u0306\7f\2\2\u02e8\u02e9\7f\2\2\u02e9\u02ea\7y\2\2\u02ea\u02eb\7q\2\2"+
"\u02eb\u02ec\7t\2\2\u02ec\u0306\7f\2\2\u02ed\u02ee\7d\2\2\u02ee\u02ef"+
"\7q\2\2\u02ef\u02f0\7q\2\2\u02f0\u0306\7n\2\2\u02f1\u02f2\7e\2\2\u02f2"+
"\u02f3\7j\2\2\u02f3\u02f4\7c\2\2\u02f4\u0306\7t\2\2\u02f5\u02f6\7u\2\2"+
"\u02f6\u02f7\7j\2\2\u02f7\u02f8\7q\2\2\u02f8\u02f9\7t\2\2\u02f9\u0306"+
"\7v\2\2\u02fa\u02fb\7k\2\2\u02fb\u02fc\7p\2\2\u02fc\u0306\7v\2\2\u02fd"+
"\u02fe\7n\2\2\u02fe\u02ff\7q\2\2\u02ff\u0300\7p\2\2\u0300\u0306\7i\2\2"+
"\u0301\u0302\7x\2\2\u0302\u0303\7q\2\2\u0303\u0304\7k\2\2\u0304\u0306"+
"\7f\2\2\u0305\u02e0\3\2\2\2\u0305\u02e4\3\2\2\2\u0305\u02e8\3\2\2\2\u0305"+
"\u02ed\3\2\2\2\u0305\u02f1\3\2\2\2\u0305\u02f5\3\2\2\2\u0305\u02fa\3\2"+
"\2\2\u0305\u02fd\3\2\2\2\u0305\u0301\3\2\2\2\u0306\u009c\3\2\2\2\u0307"+
"\u030d\7$\2\2\u0308\u0309\7^\2\2\u0309\u030c\7$\2\2\u030a\u030c\n\2\2"+
"\2\u030b\u0308\3\2\2\2\u030b\u030a\3\2\2\2\u030c\u030f\3\2\2\2\u030d\u030b"+
"\3\2\2\2\u030d\u030e\3\2\2\2\u030e\u0310\3\2\2\2\u030f\u030d\3\2\2\2\u0310"+
"\u0312\7$\2\2\u0311\u0313\7|\2\2\u0312\u0311\3\2\2\2\u0312\u0313\3\2\2"+
"\2\u0313\u009e\3\2\2\2\u0314\u0318\7)\2\2\u0315\u0316\7^\2\2\u0316\u0319"+
"\7)\2\2\u0317\u0319\n\3\2\2\u0318\u0315\3\2\2\2\u0318\u0317\3\2\2\2\u0319"+
"\u031a\3\2\2\2\u031a\u031b\7)\2\2\u031b\u00a0\3\2\2\2\u031c\u031d\7v\2"+
"\2\u031d\u031e\7t\2\2\u031e\u031f\7w\2\2\u031f\u0326\7g\2\2\u0320\u0321"+
"\7h\2\2\u0321\u0322\7c\2\2\u0322\u0323\7n\2\2\u0323\u0324\7u\2\2\u0324"+
"\u0326\7g\2\2\u0325\u031c\3\2\2\2\u0325\u0320\3\2\2\2\u0326\u00a2\3\2"+
"\2\2\u0327\u032a\5\u00a5S\2\u0328\u032a\5\u00adW\2\u0329\u0327\3\2\2\2"+
"\u0329\u0328\3\2\2\2\u032a\u00a4\3\2\2\2\u032b\u032f\5\u00a7T\2\u032c"+
"\u032f\5\u00a9U\2\u032d\u032f\5\u00abV\2\u032e\u032b\3\2\2\2\u032e\u032c"+
"\3\2\2\2\u032e\u032d\3\2\2\2\u032f\u00a6\3\2\2\2\u0330\u0336\7\'\2\2\u0331"+
"\u0332\7\62\2\2\u0332\u0336\7d\2\2\u0333\u0334\7\62\2\2\u0334\u0336\7"+
"D\2\2\u0335\u0330\3\2\2\2\u0335\u0331\3\2\2\2\u0335\u0333\3\2\2\2\u0336"+
"\u033a\3\2\2\2\u0337\u0339\5\u00b5[\2\u0338\u0337\3\2\2\2\u0339\u033c"+
"\3\2\2\2\u033a\u0338\3\2\2\2\u033a\u033b\3\2\2\2\u033b\u033d\3\2\2\2\u033c"+
"\u033a\3\2\2\2\u033d\u033f\7\60\2\2\u033e\u0340\5\u00b5[\2\u033f\u033e"+
"\3\2\2\2\u0340\u0341\3\2\2\2\u0341\u033f\3\2\2\2\u0341\u0342\3\2\2\2\u0342"+
"\u00a8\3\2\2\2\u0343\u0345\5\u00b7\\\2\u0344\u0343\3\2\2\2\u0345\u0348"+
"\3\2\2\2\u0346\u0344\3\2\2\2\u0346\u0347\3\2\2\2\u0347\u0349\3\2\2\2\u0348"+
"\u0346\3\2\2\2\u0349\u034b\7\60\2\2\u034a\u034c\5\u00b7\\\2\u034b\u034a"+
"\3\2\2\2\u034c\u034d\3\2\2\2\u034d\u034b\3\2\2\2\u034d\u034e\3\2\2\2\u034e"+
"\u00aa\3\2\2\2\u034f\u0355\7&\2\2\u0350\u0351\7\62\2\2\u0351\u0355\7z"+
"\2\2\u0352\u0353\7\62\2\2\u0353\u0355\7Z\2\2\u0354\u034f\3\2\2\2\u0354"+
"\u0350\3\2\2\2\u0354\u0352\3\2\2\2\u0355\u0359\3\2\2\2\u0356\u0358\5\u00b9"+
"]\2\u0357\u0356\3\2\2\2\u0358\u035b\3\2\2\2\u0359\u0357\3\2\2\2\u0359"+
"\u035a\3\2\2\2\u035a\u035c\3\2\2\2\u035b\u0359\3\2\2\2\u035c\u035e\7\60"+
"\2\2\u035d\u035f\5\u00b9]\2\u035e\u035d\3\2\2\2\u035f\u0360\3\2\2\2\u0360"+
"\u035e\3\2\2\2\u0360\u0361\3\2\2\2\u0361\u00ac\3\2\2\2\u0362\u0366\5\u00b1"+
"Y\2\u0363\u0366\5\u00b3Z\2\u0364\u0366\5\u00afX\2\u0365\u0362\3\2\2\2"+
"\u0365\u0363\3\2\2\2\u0365\u0364\3\2\2\2\u0366\u00ae\3\2\2\2\u0367\u0368"+
"\7\62\2\2\u0368\u036a\t\4\2\2\u0369\u036b\5\u00b5[\2\u036a\u0369\3\2\2"+
"\2\u036b\u036c\3\2\2\2\u036c\u036a\3\2\2\2\u036c\u036d\3\2\2\2\u036d\u0375"+
"\3\2\2\2\u036e\u0370\7\'\2\2\u036f\u0371\5\u00b5[\2\u0370\u036f\3\2\2"+
"\2\u0371\u0372\3\2\2\2\u0372\u0370\3\2\2\2\u0372\u0373\3\2\2\2\u0373\u0375"+
"\3\2\2\2\u0374\u0367\3\2\2\2\u0374\u036e\3\2\2\2\u0375\u00b0\3\2\2\2\u0376"+
"\u0378\5\u00b7\\\2\u0377\u0376\3\2\2\2\u0378\u0379\3\2\2\2\u0379\u0377"+
"\3\2\2\2\u0379\u037a\3\2\2\2\u037a\u00b2\3\2\2\2\u037b\u0381\7&\2\2\u037c"+
"\u037d\7\62\2\2\u037d\u0381\7z\2\2\u037e\u037f\7\62\2\2\u037f\u0381\7"+
"Z\2\2\u0380\u037b\3\2\2\2\u0380\u037c\3\2\2\2\u0380\u037e\3\2\2\2\u0381"+
"\u0383\3\2\2\2\u0382\u0384\5\u00b9]\2\u0383\u0382\3\2\2\2\u0384\u0385"+
"\3\2\2\2\u0385\u0383\3\2\2\2\u0385\u0386\3\2\2\2\u0386\u00b4\3\2\2\2\u0387"+
"\u0388\t\5\2\2\u0388\u00b6\3\2\2\2\u0389\u038a\t\6\2\2\u038a\u00b8\3\2"+
"\2\2\u038b\u038c\t\7\2\2\u038c\u00ba\3\2\2\2\u038d\u0391\5\u00bd_\2\u038e"+
"\u0390\5\u00bf`\2\u038f\u038e\3\2\2\2\u0390\u0393\3\2\2\2\u0391\u038f"+
"\3\2\2\2\u0391\u0392\3\2\2\2\u0392\u00bc\3\2\2\2\u0393\u0391\3\2\2\2\u0394"+
"\u0395\t\b\2\2\u0395\u00be\3\2\2\2\u0396\u0397\t\t\2\2\u0397\u00c0\3\2"+
"\2\2\u0398\u039c\7#\2\2\u0399\u039b\5\u00bf`\2\u039a\u0399\3\2\2\2\u039b"+
"\u039e\3\2\2\2\u039c\u039a\3\2\2\2\u039c\u039d\3\2\2\2\u039d\u03a0\3\2"+
"\2\2\u039e\u039c\3\2\2\2\u039f\u03a1\t\n\2\2\u03a0\u039f\3\2\2\2\u03a1"+
"\u03a2\3\2\2\2\u03a2\u03a0\3\2\2\2\u03a2\u03a3\3\2\2\2\u03a3\u00c2\3\2"+
"\2\2\u03a4\u03a6\t\13\2\2\u03a5\u03a4\3\2\2\2\u03a6\u03a7\3\2\2\2\u03a7"+
"\u03a5\3\2\2\2\u03a7\u03a8\3\2\2\2\u03a8\u03a9\3\2\2\2\u03a9\u03aa\bb"+
"\2\2\u03aa\u00c4\3\2\2\2\u03ab\u03ac\7\61\2\2\u03ac\u03ad\7\61\2\2\u03ad"+
"\u03b1\3\2\2\2\u03ae\u03b0\n\f\2\2\u03af\u03ae\3\2\2\2\u03b0\u03b3\3\2"+
"\2\2\u03b1\u03af\3\2\2\2\u03b1\u03b2\3\2\2\2\u03b2\u03b4\3\2\2\2\u03b3"+
"\u03b1\3\2\2\2\u03b4\u03b5\bc\3\2\u03b5\u00c6\3\2\2\2\u03b6\u03b7\7\61"+
"\2\2\u03b7\u03b8\7,\2\2\u03b8\u03bc\3\2\2\2\u03b9\u03bb\13\2\2\2\u03ba"+
"\u03b9\3\2\2\2\u03bb\u03be\3\2\2\2\u03bc\u03bd\3\2\2\2\u03bc\u03ba\3\2"+
"\2\2\u03bd\u03bf\3\2\2\2\u03be\u03bc\3\2\2\2\u03bf\u03c0\7,\2\2\u03c0"+
"\u03c1\7\61\2\2\u03c1\u03c2\3\2\2\2\u03c2\u03c3\bd\3\2\u03c3\u00c8\3\2"+
"\2\2\"\2\u02d2\u02da\u0305\u030b\u030d\u0312\u0318\u0325\u0329\u032e\u0335"+
"\u033a\u0341\u0346\u034d\u0354\u0359\u0360\u0365\u036c\u0372\u0374\u0379"+
"\u0380\u0385\u0391\u039c\u03a2\u03a7\u03b1\u03bc\4\2\3\2\2\4\2";
public static final ATN _ATN =
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
static {

View File

@ -71,26 +71,27 @@ T__69=70
T__70=71
T__71=72
T__72=73
MNEMONIC=74
KICKASM=75
SIMPLETYPE=76
STRING=77
CHAR=78
BOOLEAN=79
NUMBER=80
NUMFLOAT=81
BINFLOAT=82
DECFLOAT=83
HEXFLOAT=84
NUMINT=85
BININTEGER=86
DECINTEGER=87
HEXINTEGER=88
NAME=89
ASMREL=90
WS=91
COMMENT_LINE=92
COMMENT_BLOCK=93
T__73=74
MNEMONIC=75
KICKASM=76
SIMPLETYPE=77
STRING=78
CHAR=79
BOOLEAN=80
NUMBER=81
NUMFLOAT=82
BINFLOAT=83
DECFLOAT=84
HEXFLOAT=85
NUMINT=86
BININTEGER=87
DECINTEGER=88
HEXINTEGER=89
NAME=90
ASMREL=91
WS=92
COMMENT_LINE=93
COMMENT_BLOCK=94
'import'=1
';'=2
','=3
@ -122,45 +123,46 @@ COMMENT_BLOCK=93
'*'=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
'|='=62
'^='=63
'kickasm'=64
'resource'=65
'uses'=66
'clobbers'=67
'bytes'=68
'cycles'=69
'pc'=70
'.byte'=71
'#'=72
'.'=73
'sizeof'=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
'&='=62
'|='=63
'^='=64
'kickasm'=65
'resource'=66
'uses'=67
'clobbers'=68
'bytes'=69
'cycles'=70
'pc'=71
'.byte'=72
'#'=73
'.'=74

View File

@ -617,6 +617,18 @@ public interface KickCListener extends ParseTreeListener {
* @param ctx the parse tree
*/
void exitExprChar(KickCParser.ExprCharContext ctx);
/**
* Enter a parse tree produced by the {@code exprSizeOfType}
* labeled alternative in {@link KickCParser#expr}.
* @param ctx the parse tree
*/
void enterExprSizeOfType(KickCParser.ExprSizeOfTypeContext ctx);
/**
* Exit a parse tree produced by the {@code exprSizeOfType}
* labeled alternative in {@link KickCParser#expr}.
* @param ctx the parse tree
*/
void exitExprSizeOfType(KickCParser.ExprSizeOfTypeContext ctx);
/**
* Enter a parse tree produced by the {@code initList}
* labeled alternative in {@link KickCParser#expr}.

File diff suppressed because it is too large Load Diff

View File

@ -368,6 +368,13 @@ public interface KickCVisitor<T> extends ParseTreeVisitor<T> {
* @return the visitor result
*/
T visitExprChar(KickCParser.ExprCharContext ctx);
/**
* Visit a parse tree produced by the {@code exprSizeOfType}
* labeled alternative in {@link KickCParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExprSizeOfType(KickCParser.ExprSizeOfTypeContext ctx);
/**
* Visit a parse tree produced by the {@code initList}
* labeled alternative in {@link KickCParser#expr}.

View File

@ -1178,6 +1178,28 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
return tmpVarRef;
}
@Override
public Object visitExprSizeOfType(KickCParser.ExprSizeOfTypeContext ctx) {
SymbolType type = (SymbolType) this.visit(ctx.typeDecl());
String typeConstName = getSizeofName(type);
ConstantVar typeSizeConstant = program.getScope().getConstant(typeConstName);
if(typeSizeConstant ==null) {
// Constant not found - create it
long typeSize = type.getSizeBytes();
typeSizeConstant = new ConstantVar(typeConstName, program.getScope(), SymbolType.BYTE, new ConstantInteger(typeSize));
program.getScope().add(typeSizeConstant);
}
return typeSizeConstant.getRef();
}
private String getSizeofName(SymbolType type) {
if(type instanceof SymbolTypePointer) {
return "SIZEOF_POINTER";
} else {
return "SIZEOF_"+type.getTypeName().toUpperCase().replace(" ", "_");
}
}
@Override
public Object visitExprCall(KickCParser.ExprCallContext ctx) {

View File

@ -37,6 +37,11 @@ public class TestPrograms {
// compileAndCompare("pointer-cast-3");
//}
@Test
public void testSizeofTypes() throws IOException, URISyntaxException {
compileAndCompare("sizeof-types");
}
@Test
public void testCommaDeclFor() throws IOException, URISyntaxException {
compileAndCompare("comma-decl-for");

View File

@ -0,0 +1,33 @@
// Tests the sizeof() operator on types
const byte* SCREEN = $400;
void main() {
byte idx = 0;
SCREEN[idx++] = '0'+sizeof(void);
idx++;
SCREEN[idx++] = '0'+sizeof(byte);
SCREEN[idx++] = '0'+sizeof(signed byte);
SCREEN[idx++] = '0'+sizeof(unsigned char);
SCREEN[idx++] = '0'+sizeof(signed char);
SCREEN[idx++] = '0'+sizeof(bool);
idx++;
SCREEN[idx++] = '0'+sizeof(word);
SCREEN[idx++] = '0'+sizeof(signed word);
SCREEN[idx++] = '0'+sizeof(unsigned int);
SCREEN[idx++] = '0'+sizeof(signed int);
SCREEN[idx++] = '0'+sizeof(unsigned short);
SCREEN[idx++] = '0'+sizeof(signed short);
idx++;
SCREEN[idx++] = '0'+sizeof(byte*);
SCREEN[idx++] = '0'+sizeof(word*);
SCREEN[idx++] = '0'+sizeof(int**);
SCREEN[idx++] = '0'+sizeof(int***);
SCREEN[idx++] = '0'+sizeof(byte[]);
idx++;
SCREEN[idx++] = '0'+sizeof(dword);
SCREEN[idx++] = '0'+sizeof(signed dword);
SCREEN[idx++] = '0'+sizeof(unsigned long);
SCREEN[idx++] = '0'+sizeof(signed long);
}

View File

@ -0,0 +1,55 @@
// Tests the sizeof() operator on types
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
.const SIZEOF_VOID = 0
.const SIZEOF_BYTE = 1
.const SIZEOF_SIGNED_BYTE = 1
.const SIZEOF_BOOL = 1
.const SIZEOF_WORD = 2
.const SIZEOF_SIGNED_WORD = 2
.const SIZEOF_POINTER = 2
.const SIZEOF_DWORD = 4
.const SIZEOF_SIGNED_DWORD = 4
.label SCREEN = $400
main: {
lda #'0'+SIZEOF_VOID
sta SCREEN
lda #'0'+SIZEOF_BYTE
sta SCREEN+2
lda #'0'+SIZEOF_SIGNED_BYTE
sta SCREEN+3
lda #'0'+SIZEOF_BYTE
sta SCREEN+4
lda #'0'+SIZEOF_SIGNED_BYTE
sta SCREEN+5
lda #'0'+SIZEOF_BOOL
sta SCREEN+6
lda #'0'+SIZEOF_WORD
sta SCREEN+8
lda #'0'+SIZEOF_SIGNED_WORD
sta SCREEN+9
lda #'0'+SIZEOF_WORD
sta SCREEN+$a
lda #'0'+SIZEOF_SIGNED_WORD
sta SCREEN+$b
lda #'0'+SIZEOF_WORD
sta SCREEN+$c
lda #'0'+SIZEOF_SIGNED_WORD
sta SCREEN+$d
lda #'0'+SIZEOF_POINTER
sta SCREEN+$f
sta SCREEN+$10
sta SCREEN+$11
sta SCREEN+$12
sta SCREEN+$13
lda #'0'+SIZEOF_DWORD
sta SCREEN+$15
lda #'0'+SIZEOF_SIGNED_DWORD
sta SCREEN+$16
lda #'0'+SIZEOF_DWORD
sta SCREEN+$17
lda #'0'+SIZEOF_SIGNED_DWORD
sta SCREEN+$18
rts
}

View File

@ -0,0 +1,35 @@
@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
[1] phi()
[2] call main
to:@end
@end: scope:[] from @1
[3] phi()
main: scope:[main] from @1
[4] *((const byte*) SCREEN#0) ← (byte) '0'+(const byte) SIZEOF_VOID
[5] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) '0'+(const byte) SIZEOF_BYTE
[6] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE
[7] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) '0'+(const byte) SIZEOF_BYTE
[8] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 5) ← (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE
[9] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) '0'+(const byte) SIZEOF_BOOL
[10] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 8) ← (byte) '0'+(const byte) SIZEOF_WORD
[11] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 9) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD
[12] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $a) ← (byte) '0'+(const byte) SIZEOF_WORD
[13] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $b) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD
[14] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $c) ← (byte) '0'+(const byte) SIZEOF_WORD
[15] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $d) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD
[16] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $f) ← (byte) '0'+(const byte) SIZEOF_POINTER
[17] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $10) ← (byte) '0'+(const byte) SIZEOF_POINTER
[18] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $11) ← (byte) '0'+(const byte) SIZEOF_POINTER
[19] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $12) ← (byte) '0'+(const byte) SIZEOF_POINTER
[20] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $13) ← (byte) '0'+(const byte) SIZEOF_POINTER
[21] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $15) ← (byte) '0'+(const byte) SIZEOF_DWORD
[22] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $16) ← (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD
[23] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $17) ← (byte) '0'+(const byte) SIZEOF_DWORD
[24] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $18) ← (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD
to:main::@return
main::@return: scope:[main] from main
[25] return
to:@return

View File

@ -0,0 +1,802 @@
CONTROL FLOW GRAPH SSA
@begin: scope:[] from
(byte*) SCREEN#0 ← ((byte*)) (word/signed word/dword/signed dword) $400
to:@1
main: scope:[main] from @1
(byte) main::idx#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0
(byte/signed byte/word/signed word/dword/signed dword~) main::$0 ← (byte) '0' + (const byte) SIZEOF_VOID
*((byte*) SCREEN#0 + (byte) main::idx#0) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$0
(byte) main::idx#1 ← ++ (byte) main::idx#0
(byte) main::idx#2 ← ++ (byte) main::idx#1
(byte/signed byte/word/signed word/dword/signed dword~) main::$1 ← (byte) '0' + (const byte) SIZEOF_BYTE
*((byte*) SCREEN#0 + (byte) main::idx#2) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$1
(byte) main::idx#3 ← ++ (byte) main::idx#2
(byte/signed byte/word/signed word/dword/signed dword~) main::$2 ← (byte) '0' + (const byte) SIZEOF_SIGNED_BYTE
*((byte*) SCREEN#0 + (byte) main::idx#3) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$2
(byte) main::idx#4 ← ++ (byte) main::idx#3
(byte/signed byte/word/signed word/dword/signed dword~) main::$3 ← (byte) '0' + (const byte) SIZEOF_BYTE
*((byte*) SCREEN#0 + (byte) main::idx#4) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$3
(byte) main::idx#5 ← ++ (byte) main::idx#4
(byte/signed byte/word/signed word/dword/signed dword~) main::$4 ← (byte) '0' + (const byte) SIZEOF_SIGNED_BYTE
*((byte*) SCREEN#0 + (byte) main::idx#5) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$4
(byte) main::idx#6 ← ++ (byte) main::idx#5
(byte/signed byte/word/signed word/dword/signed dword~) main::$5 ← (byte) '0' + (const byte) SIZEOF_BOOL
*((byte*) SCREEN#0 + (byte) main::idx#6) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$5
(byte) main::idx#7 ← ++ (byte) main::idx#6
(byte) main::idx#8 ← ++ (byte) main::idx#7
(byte/signed byte/word/signed word/dword/signed dword~) main::$6 ← (byte) '0' + (const byte) SIZEOF_WORD
*((byte*) SCREEN#0 + (byte) main::idx#8) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$6
(byte) main::idx#9 ← ++ (byte) main::idx#8
(byte/signed byte/word/signed word/dword/signed dword~) main::$7 ← (byte) '0' + (const byte) SIZEOF_SIGNED_WORD
*((byte*) SCREEN#0 + (byte) main::idx#9) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$7
(byte) main::idx#10 ← ++ (byte) main::idx#9
(byte/signed byte/word/signed word/dword/signed dword~) main::$8 ← (byte) '0' + (const byte) SIZEOF_WORD
*((byte*) SCREEN#0 + (byte) main::idx#10) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$8
(byte) main::idx#11 ← ++ (byte) main::idx#10
(byte/signed byte/word/signed word/dword/signed dword~) main::$9 ← (byte) '0' + (const byte) SIZEOF_SIGNED_WORD
*((byte*) SCREEN#0 + (byte) main::idx#11) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$9
(byte) main::idx#12 ← ++ (byte) main::idx#11
(byte/signed byte/word/signed word/dword/signed dword~) main::$10 ← (byte) '0' + (const byte) SIZEOF_WORD
*((byte*) SCREEN#0 + (byte) main::idx#12) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$10
(byte) main::idx#13 ← ++ (byte) main::idx#12
(byte/signed byte/word/signed word/dword/signed dword~) main::$11 ← (byte) '0' + (const byte) SIZEOF_SIGNED_WORD
*((byte*) SCREEN#0 + (byte) main::idx#13) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$11
(byte) main::idx#14 ← ++ (byte) main::idx#13
(byte) main::idx#15 ← ++ (byte) main::idx#14
(byte/signed byte/word/signed word/dword/signed dword~) main::$12 ← (byte) '0' + (const byte) SIZEOF_POINTER
*((byte*) SCREEN#0 + (byte) main::idx#15) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$12
(byte) main::idx#16 ← ++ (byte) main::idx#15
(byte/signed byte/word/signed word/dword/signed dword~) main::$13 ← (byte) '0' + (const byte) SIZEOF_POINTER
*((byte*) SCREEN#0 + (byte) main::idx#16) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$13
(byte) main::idx#17 ← ++ (byte) main::idx#16
(byte/signed byte/word/signed word/dword/signed dword~) main::$14 ← (byte) '0' + (const byte) SIZEOF_POINTER
*((byte*) SCREEN#0 + (byte) main::idx#17) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$14
(byte) main::idx#18 ← ++ (byte) main::idx#17
(byte/signed byte/word/signed word/dword/signed dword~) main::$15 ← (byte) '0' + (const byte) SIZEOF_POINTER
*((byte*) SCREEN#0 + (byte) main::idx#18) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$15
(byte) main::idx#19 ← ++ (byte) main::idx#18
(byte/signed byte/word/signed word/dword/signed dword~) main::$16 ← (byte) '0' + (const byte) SIZEOF_POINTER
*((byte*) SCREEN#0 + (byte) main::idx#19) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$16
(byte) main::idx#20 ← ++ (byte) main::idx#19
(byte) main::idx#21 ← ++ (byte) main::idx#20
(byte/signed byte/word/signed word/dword/signed dword~) main::$17 ← (byte) '0' + (const byte) SIZEOF_DWORD
*((byte*) SCREEN#0 + (byte) main::idx#21) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$17
(byte) main::idx#22 ← ++ (byte) main::idx#21
(byte/signed byte/word/signed word/dword/signed dword~) main::$18 ← (byte) '0' + (const byte) SIZEOF_SIGNED_DWORD
*((byte*) SCREEN#0 + (byte) main::idx#22) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$18
(byte) main::idx#23 ← ++ (byte) main::idx#22
(byte/signed byte/word/signed word/dword/signed dword~) main::$19 ← (byte) '0' + (const byte) SIZEOF_DWORD
*((byte*) SCREEN#0 + (byte) main::idx#23) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$19
(byte) main::idx#24 ← ++ (byte) main::idx#23
(byte/signed byte/word/signed word/dword/signed dword~) main::$20 ← (byte) '0' + (const byte) SIZEOF_SIGNED_DWORD
*((byte*) SCREEN#0 + (byte) main::idx#24) ← (byte/signed byte/word/signed word/dword/signed dword~) main::$20
(byte) main::idx#25 ← ++ (byte) main::idx#24
to:main::@return
main::@return: scope:[main] from main
return
to:@return
@1: scope:[] from @begin
call main
to:@2
@2: scope:[] from @1
to:@end
@end: scope:[] from @2
SYMBOL TABLE SSA
(label) @1
(label) @2
(label) @begin
(label) @end
(byte*) SCREEN
(byte*) SCREEN#0
(const byte) SIZEOF_BOOL = (byte/signed byte/word/signed word/dword/signed dword) 1
(const byte) SIZEOF_BYTE = (byte/signed byte/word/signed word/dword/signed dword) 1
(const byte) SIZEOF_DWORD = (byte/signed byte/word/signed word/dword/signed dword) 4
(const byte) SIZEOF_POINTER = (byte/signed byte/word/signed word/dword/signed dword) 2
(const byte) SIZEOF_SIGNED_BYTE = (byte/signed byte/word/signed word/dword/signed dword) 1
(const byte) SIZEOF_SIGNED_DWORD = (byte/signed byte/word/signed word/dword/signed dword) 4
(const byte) SIZEOF_SIGNED_WORD = (byte/signed byte/word/signed word/dword/signed dword) 2
(const byte) SIZEOF_VOID = (byte/signed byte/word/signed word/dword/signed dword) 0
(const byte) SIZEOF_WORD = (byte/signed byte/word/signed word/dword/signed dword) 2
(void()) main()
(byte/signed byte/word/signed word/dword/signed dword~) main::$0
(byte/signed byte/word/signed word/dword/signed dword~) main::$1
(byte/signed byte/word/signed word/dword/signed dword~) main::$10
(byte/signed byte/word/signed word/dword/signed dword~) main::$11
(byte/signed byte/word/signed word/dword/signed dword~) main::$12
(byte/signed byte/word/signed word/dword/signed dword~) main::$13
(byte/signed byte/word/signed word/dword/signed dword~) main::$14
(byte/signed byte/word/signed word/dword/signed dword~) main::$15
(byte/signed byte/word/signed word/dword/signed dword~) main::$16
(byte/signed byte/word/signed word/dword/signed dword~) main::$17
(byte/signed byte/word/signed word/dword/signed dword~) main::$18
(byte/signed byte/word/signed word/dword/signed dword~) main::$19
(byte/signed byte/word/signed word/dword/signed dword~) main::$2
(byte/signed byte/word/signed word/dword/signed dword~) main::$20
(byte/signed byte/word/signed word/dword/signed dword~) main::$3
(byte/signed byte/word/signed word/dword/signed dword~) main::$4
(byte/signed byte/word/signed word/dword/signed dword~) main::$5
(byte/signed byte/word/signed word/dword/signed dword~) main::$6
(byte/signed byte/word/signed word/dword/signed dword~) main::$7
(byte/signed byte/word/signed word/dword/signed dword~) main::$8
(byte/signed byte/word/signed word/dword/signed dword~) main::$9
(label) main::@return
(byte) main::idx
(byte) main::idx#0
(byte) main::idx#1
(byte) main::idx#10
(byte) main::idx#11
(byte) main::idx#12
(byte) main::idx#13
(byte) main::idx#14
(byte) main::idx#15
(byte) main::idx#16
(byte) main::idx#17
(byte) main::idx#18
(byte) main::idx#19
(byte) main::idx#2
(byte) main::idx#20
(byte) main::idx#21
(byte) main::idx#22
(byte) main::idx#23
(byte) main::idx#24
(byte) main::idx#25
(byte) main::idx#3
(byte) main::idx#4
(byte) main::idx#5
(byte) main::idx#6
(byte) main::idx#7
(byte) main::idx#8
(byte) main::idx#9
Culled Empty Block (label) @2
Successful SSA optimization Pass2CullEmptyBlocks
Constant (const byte*) SCREEN#0 = ((byte*))$400
Constant (const byte) main::idx#0 = 0
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$0 = '0'+SIZEOF_VOID
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$1 = '0'+SIZEOF_BYTE
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$2 = '0'+SIZEOF_SIGNED_BYTE
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$3 = '0'+SIZEOF_BYTE
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$4 = '0'+SIZEOF_SIGNED_BYTE
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$5 = '0'+SIZEOF_BOOL
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$6 = '0'+SIZEOF_WORD
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$7 = '0'+SIZEOF_SIGNED_WORD
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$8 = '0'+SIZEOF_WORD
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$9 = '0'+SIZEOF_SIGNED_WORD
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$10 = '0'+SIZEOF_WORD
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$11 = '0'+SIZEOF_SIGNED_WORD
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$12 = '0'+SIZEOF_POINTER
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$13 = '0'+SIZEOF_POINTER
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$14 = '0'+SIZEOF_POINTER
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$15 = '0'+SIZEOF_POINTER
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$16 = '0'+SIZEOF_POINTER
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$17 = '0'+SIZEOF_DWORD
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$18 = '0'+SIZEOF_SIGNED_DWORD
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$19 = '0'+SIZEOF_DWORD
Constant (const byte/signed byte/word/signed word/dword/signed dword) main::$20 = '0'+SIZEOF_SIGNED_DWORD
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#1 = ++main::idx#0
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#2 = ++main::idx#1
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#3 = ++main::idx#2
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#4 = ++main::idx#3
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#5 = ++main::idx#4
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#6 = ++main::idx#5
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#7 = ++main::idx#6
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#8 = ++main::idx#7
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#9 = ++main::idx#8
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#10 = ++main::idx#9
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#11 = ++main::idx#10
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#12 = ++main::idx#11
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#13 = ++main::idx#12
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#14 = ++main::idx#13
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#15 = ++main::idx#14
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#16 = ++main::idx#15
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#17 = ++main::idx#16
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#18 = ++main::idx#17
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#19 = ++main::idx#18
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#20 = ++main::idx#19
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#21 = ++main::idx#20
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#22 = ++main::idx#21
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#23 = ++main::idx#22
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#24 = ++main::idx#23
Successful SSA optimization Pass2ConstantIdentification
Constant (const byte) main::idx#25 = ++main::idx#24
Successful SSA optimization Pass2ConstantIdentification
Consolidated array index constant in *(SCREEN#0+main::idx#0)
Consolidated array index constant in *(SCREEN#0+main::idx#2)
Consolidated array index constant in *(SCREEN#0+main::idx#3)
Consolidated array index constant in *(SCREEN#0+main::idx#4)
Consolidated array index constant in *(SCREEN#0+main::idx#5)
Consolidated array index constant in *(SCREEN#0+main::idx#6)
Consolidated array index constant in *(SCREEN#0+main::idx#8)
Consolidated array index constant in *(SCREEN#0+main::idx#9)
Consolidated array index constant in *(SCREEN#0+main::idx#10)
Consolidated array index constant in *(SCREEN#0+main::idx#11)
Consolidated array index constant in *(SCREEN#0+main::idx#12)
Consolidated array index constant in *(SCREEN#0+main::idx#13)
Consolidated array index constant in *(SCREEN#0+main::idx#15)
Consolidated array index constant in *(SCREEN#0+main::idx#16)
Consolidated array index constant in *(SCREEN#0+main::idx#17)
Consolidated array index constant in *(SCREEN#0+main::idx#18)
Consolidated array index constant in *(SCREEN#0+main::idx#19)
Consolidated array index constant in *(SCREEN#0+main::idx#21)
Consolidated array index constant in *(SCREEN#0+main::idx#22)
Consolidated array index constant in *(SCREEN#0+main::idx#23)
Consolidated array index constant in *(SCREEN#0+main::idx#24)
Successful SSA optimization Pass2ConstantAdditionElimination
Successful SSA optimization PassNEliminateUnusedVars
Inlining constant with different constant siblings (const byte) main::idx#0
Inlining constant with different constant siblings (const byte) main::idx#1
Inlining constant with different constant siblings (const byte) main::idx#2
Inlining constant with different constant siblings (const byte) main::idx#3
Inlining constant with different constant siblings (const byte) main::idx#4
Inlining constant with different constant siblings (const byte) main::idx#5
Inlining constant with different constant siblings (const byte) main::idx#6
Inlining constant with different constant siblings (const byte) main::idx#7
Inlining constant with different constant siblings (const byte) main::idx#8
Inlining constant with different constant siblings (const byte) main::idx#9
Inlining constant with different constant siblings (const byte) main::idx#10
Inlining constant with different constant siblings (const byte) main::idx#11
Inlining constant with different constant siblings (const byte) main::idx#12
Inlining constant with different constant siblings (const byte) main::idx#13
Inlining constant with different constant siblings (const byte) main::idx#14
Inlining constant with different constant siblings (const byte) main::idx#15
Inlining constant with different constant siblings (const byte) main::idx#16
Inlining constant with different constant siblings (const byte) main::idx#17
Inlining constant with different constant siblings (const byte) main::idx#18
Inlining constant with different constant siblings (const byte) main::idx#19
Inlining constant with different constant siblings (const byte) main::idx#20
Inlining constant with different constant siblings (const byte) main::idx#21
Inlining constant with different constant siblings (const byte) main::idx#22
Inlining constant with different constant siblings (const byte) main::idx#23
Inlining constant with different constant siblings (const byte) main::idx#24
Constant inlined main::idx#16 = ++++++++++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#17 = ++++++++++++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#18 = ++++++++++++++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#19 = ++++++++++++++++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#12 = ++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#13 = ++++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#14 = ++++++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#15 = ++++++++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::$12 = (byte) '0'+(const byte) SIZEOF_POINTER
Constant inlined main::$13 = (byte) '0'+(const byte) SIZEOF_POINTER
Constant inlined main::$14 = (byte) '0'+(const byte) SIZEOF_POINTER
Constant inlined main::$15 = (byte) '0'+(const byte) SIZEOF_POINTER
Constant inlined main::$10 = (byte) '0'+(const byte) SIZEOF_WORD
Constant inlined main::$11 = (byte) '0'+(const byte) SIZEOF_SIGNED_WORD
Constant inlined main::$16 = (byte) '0'+(const byte) SIZEOF_POINTER
Constant inlined main::$17 = (byte) '0'+(const byte) SIZEOF_DWORD
Constant inlined main::$18 = (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD
Constant inlined main::$19 = (byte) '0'+(const byte) SIZEOF_DWORD
Constant inlined main::idx#20 = ++++++++++++++++++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#21 = ++++++++++++++++++++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#22 = ++++++++++++++++++++++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#23 = ++++++++++++++++++++++++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#24 = ++++++++++++++++++++++++++++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::$20 = (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD
Constant inlined main::idx#0 = (byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#1 = ++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#2 = ++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::$1 = (byte) '0'+(const byte) SIZEOF_BYTE
Constant inlined main::idx#3 = ++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::$2 = (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE
Constant inlined main::idx#4 = ++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#5 = ++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::$0 = (byte) '0'+(const byte) SIZEOF_VOID
Constant inlined main::idx#6 = ++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::$5 = (byte) '0'+(const byte) SIZEOF_BOOL
Constant inlined main::idx#7 = ++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::$6 = (byte) '0'+(const byte) SIZEOF_WORD
Constant inlined main::idx#8 = ++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::$3 = (byte) '0'+(const byte) SIZEOF_BYTE
Constant inlined main::idx#9 = ++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::idx#10 = ++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::$4 = (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE
Constant inlined main::idx#11 = ++++++++++++++++++++++(byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::$9 = (byte) '0'+(const byte) SIZEOF_SIGNED_WORD
Constant inlined main::$7 = (byte) '0'+(const byte) SIZEOF_SIGNED_WORD
Constant inlined main::$8 = (byte) '0'+(const byte) SIZEOF_WORD
Successful SSA optimization Pass2ConstantInlining
Simplifying constant plus zero SCREEN#0+0
Simplifying constant integer increment ++0
Simplifying constant integer increment ++1
Simplifying constant integer increment ++2
Simplifying constant integer increment ++3
Simplifying constant integer increment ++4
Simplifying constant integer increment ++5
Simplifying constant integer increment ++6
Simplifying constant integer increment ++7
Simplifying constant integer increment ++8
Simplifying constant integer increment ++9
Simplifying constant integer increment ++$a
Simplifying constant integer increment ++$b
Simplifying constant integer increment ++$c
Simplifying constant integer increment ++$d
Simplifying constant integer increment ++$e
Simplifying constant integer increment ++$f
Simplifying constant integer increment ++$10
Simplifying constant integer increment ++$11
Simplifying constant integer increment ++$12
Simplifying constant integer increment ++$13
Successful SSA optimization Pass2ConstantSimplification
Simplifying constant integer increment ++1
Simplifying constant integer increment ++2
Simplifying constant integer increment ++3
Simplifying constant integer increment ++4
Simplifying constant integer increment ++5
Simplifying constant integer increment ++7
Simplifying constant integer increment ++8
Simplifying constant integer increment ++9
Simplifying constant integer increment ++$a
Simplifying constant integer increment ++$b
Simplifying constant integer increment ++$c
Simplifying constant integer increment ++$e
Simplifying constant integer increment ++$f
Simplifying constant integer increment ++$10
Simplifying constant integer increment ++$11
Simplifying constant integer increment ++$12
Simplifying constant integer increment ++$14
Simplifying constant integer increment ++$14
Simplifying constant integer increment ++$15
Simplifying constant integer increment ++$16
Successful SSA optimization Pass2ConstantSimplification
Simplifying constant integer increment ++$15
Simplifying constant integer increment ++$16
Simplifying constant integer increment ++$17
Successful SSA optimization Pass2ConstantSimplification
Adding NOP phi() at start of @begin
Adding NOP phi() at start of @1
Adding NOP phi() at start of @end
CALL GRAPH
Calls in [] to main:2
Created 0 initial phi equivalence classes
Coalesced down to 0 phi equivalence classes
Adding NOP phi() at start of @begin
Adding NOP phi() at start of @1
Adding NOP phi() at start of @end
FINAL CONTROL FLOW GRAPH
@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
[1] phi()
[2] call main
to:@end
@end: scope:[] from @1
[3] phi()
main: scope:[main] from @1
[4] *((const byte*) SCREEN#0) ← (byte) '0'+(const byte) SIZEOF_VOID
[5] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) '0'+(const byte) SIZEOF_BYTE
[6] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE
[7] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) '0'+(const byte) SIZEOF_BYTE
[8] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 5) ← (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE
[9] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) '0'+(const byte) SIZEOF_BOOL
[10] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 8) ← (byte) '0'+(const byte) SIZEOF_WORD
[11] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 9) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD
[12] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $a) ← (byte) '0'+(const byte) SIZEOF_WORD
[13] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $b) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD
[14] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $c) ← (byte) '0'+(const byte) SIZEOF_WORD
[15] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $d) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD
[16] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $f) ← (byte) '0'+(const byte) SIZEOF_POINTER
[17] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $10) ← (byte) '0'+(const byte) SIZEOF_POINTER
[18] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $11) ← (byte) '0'+(const byte) SIZEOF_POINTER
[19] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $12) ← (byte) '0'+(const byte) SIZEOF_POINTER
[20] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $13) ← (byte) '0'+(const byte) SIZEOF_POINTER
[21] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $15) ← (byte) '0'+(const byte) SIZEOF_DWORD
[22] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $16) ← (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD
[23] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $17) ← (byte) '0'+(const byte) SIZEOF_DWORD
[24] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $18) ← (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD
to:main::@return
main::@return: scope:[main] from main
[25] return
to:@return
VARIABLE REGISTER WEIGHTS
(byte*) SCREEN
(void()) main()
(byte) main::idx
Initial phi equivalence classes
Complete equivalence classes
INITIAL ASM
//SEG0 File Comments
// Tests the sizeof() operator on types
//SEG1 Basic Upstart
.pc = $801 "Basic"
:BasicUpstart(bbegin)
.pc = $80d "Program"
//SEG2 Global Constants & labels
.const SIZEOF_VOID = 0
.const SIZEOF_BYTE = 1
.const SIZEOF_SIGNED_BYTE = 1
.const SIZEOF_BOOL = 1
.const SIZEOF_WORD = 2
.const SIZEOF_SIGNED_WORD = 2
.const SIZEOF_POINTER = 2
.const SIZEOF_DWORD = 4
.const SIZEOF_SIGNED_DWORD = 4
.label SCREEN = $400
//SEG3 @begin
bbegin:
//SEG4 [1] phi from @begin to @1 [phi:@begin->@1]
b1_from_bbegin:
jmp b1
//SEG5 @1
b1:
//SEG6 [2] call main
jsr main
//SEG7 [3] phi from @1 to @end [phi:@1->@end]
bend_from_b1:
jmp bend
//SEG8 @end
bend:
//SEG9 main
main: {
//SEG10 [4] *((const byte*) SCREEN#0) ← (byte) '0'+(const byte) SIZEOF_VOID -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_VOID
sta SCREEN
//SEG11 [5] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) '0'+(const byte) SIZEOF_BYTE -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_BYTE
sta SCREEN+2
//SEG12 [6] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_BYTE
sta SCREEN+3
//SEG13 [7] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) '0'+(const byte) SIZEOF_BYTE -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_BYTE
sta SCREEN+4
//SEG14 [8] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 5) ← (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_BYTE
sta SCREEN+5
//SEG15 [9] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) '0'+(const byte) SIZEOF_BOOL -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_BOOL
sta SCREEN+6
//SEG16 [10] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 8) ← (byte) '0'+(const byte) SIZEOF_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_WORD
sta SCREEN+8
//SEG17 [11] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 9) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_WORD
sta SCREEN+9
//SEG18 [12] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $a) ← (byte) '0'+(const byte) SIZEOF_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_WORD
sta SCREEN+$a
//SEG19 [13] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $b) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_WORD
sta SCREEN+$b
//SEG20 [14] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $c) ← (byte) '0'+(const byte) SIZEOF_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_WORD
sta SCREEN+$c
//SEG21 [15] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $d) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_WORD
sta SCREEN+$d
//SEG22 [16] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $f) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_POINTER
sta SCREEN+$f
//SEG23 [17] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $10) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_POINTER
sta SCREEN+$10
//SEG24 [18] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $11) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_POINTER
sta SCREEN+$11
//SEG25 [19] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $12) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_POINTER
sta SCREEN+$12
//SEG26 [20] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $13) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_POINTER
sta SCREEN+$13
//SEG27 [21] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $15) ← (byte) '0'+(const byte) SIZEOF_DWORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_DWORD
sta SCREEN+$15
//SEG28 [22] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $16) ← (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_DWORD
sta SCREEN+$16
//SEG29 [23] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $17) ← (byte) '0'+(const byte) SIZEOF_DWORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_DWORD
sta SCREEN+$17
//SEG30 [24] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $18) ← (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_DWORD
sta SCREEN+$18
jmp breturn
//SEG31 main::@return
breturn:
//SEG32 [25] return
rts
}
REGISTER UPLIFT POTENTIAL REGISTERS
Statement [4] *((const byte*) SCREEN#0) ← (byte) '0'+(const byte) SIZEOF_VOID [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [5] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) '0'+(const byte) SIZEOF_BYTE [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [6] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [7] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) '0'+(const byte) SIZEOF_BYTE [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [8] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 5) ← (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [9] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) '0'+(const byte) SIZEOF_BOOL [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [10] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 8) ← (byte) '0'+(const byte) SIZEOF_WORD [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [11] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 9) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [12] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $a) ← (byte) '0'+(const byte) SIZEOF_WORD [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [13] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $b) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [14] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $c) ← (byte) '0'+(const byte) SIZEOF_WORD [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [15] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $d) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [16] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $f) ← (byte) '0'+(const byte) SIZEOF_POINTER [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [17] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $10) ← (byte) '0'+(const byte) SIZEOF_POINTER [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [18] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $11) ← (byte) '0'+(const byte) SIZEOF_POINTER [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [19] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $12) ← (byte) '0'+(const byte) SIZEOF_POINTER [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [20] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $13) ← (byte) '0'+(const byte) SIZEOF_POINTER [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [21] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $15) ← (byte) '0'+(const byte) SIZEOF_DWORD [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [22] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $16) ← (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [23] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $17) ← (byte) '0'+(const byte) SIZEOF_DWORD [ ] ( main:2 [ ] ) always clobbers reg byte a
Statement [24] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $18) ← (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD [ ] ( main:2 [ ] ) always clobbers reg byte a
REGISTER UPLIFT SCOPES
Uplift Scope [main]
Uplift Scope []
Uplifting [main] best 147 combination
Uplifting [] best 147 combination
ASSEMBLER BEFORE OPTIMIZATION
//SEG0 File Comments
// Tests the sizeof() operator on types
//SEG1 Basic Upstart
.pc = $801 "Basic"
:BasicUpstart(bbegin)
.pc = $80d "Program"
//SEG2 Global Constants & labels
.const SIZEOF_VOID = 0
.const SIZEOF_BYTE = 1
.const SIZEOF_SIGNED_BYTE = 1
.const SIZEOF_BOOL = 1
.const SIZEOF_WORD = 2
.const SIZEOF_SIGNED_WORD = 2
.const SIZEOF_POINTER = 2
.const SIZEOF_DWORD = 4
.const SIZEOF_SIGNED_DWORD = 4
.label SCREEN = $400
//SEG3 @begin
bbegin:
//SEG4 [1] phi from @begin to @1 [phi:@begin->@1]
b1_from_bbegin:
jmp b1
//SEG5 @1
b1:
//SEG6 [2] call main
jsr main
//SEG7 [3] phi from @1 to @end [phi:@1->@end]
bend_from_b1:
jmp bend
//SEG8 @end
bend:
//SEG9 main
main: {
//SEG10 [4] *((const byte*) SCREEN#0) ← (byte) '0'+(const byte) SIZEOF_VOID -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_VOID
sta SCREEN
//SEG11 [5] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) '0'+(const byte) SIZEOF_BYTE -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_BYTE
sta SCREEN+2
//SEG12 [6] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_BYTE
sta SCREEN+3
//SEG13 [7] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) '0'+(const byte) SIZEOF_BYTE -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_BYTE
sta SCREEN+4
//SEG14 [8] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 5) ← (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_BYTE
sta SCREEN+5
//SEG15 [9] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) '0'+(const byte) SIZEOF_BOOL -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_BOOL
sta SCREEN+6
//SEG16 [10] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 8) ← (byte) '0'+(const byte) SIZEOF_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_WORD
sta SCREEN+8
//SEG17 [11] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 9) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_WORD
sta SCREEN+9
//SEG18 [12] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $a) ← (byte) '0'+(const byte) SIZEOF_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_WORD
sta SCREEN+$a
//SEG19 [13] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $b) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_WORD
sta SCREEN+$b
//SEG20 [14] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $c) ← (byte) '0'+(const byte) SIZEOF_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_WORD
sta SCREEN+$c
//SEG21 [15] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $d) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_WORD
sta SCREEN+$d
//SEG22 [16] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $f) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_POINTER
sta SCREEN+$f
//SEG23 [17] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $10) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_POINTER
sta SCREEN+$10
//SEG24 [18] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $11) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_POINTER
sta SCREEN+$11
//SEG25 [19] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $12) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_POINTER
sta SCREEN+$12
//SEG26 [20] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $13) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_POINTER
sta SCREEN+$13
//SEG27 [21] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $15) ← (byte) '0'+(const byte) SIZEOF_DWORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_DWORD
sta SCREEN+$15
//SEG28 [22] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $16) ← (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_DWORD
sta SCREEN+$16
//SEG29 [23] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $17) ← (byte) '0'+(const byte) SIZEOF_DWORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_DWORD
sta SCREEN+$17
//SEG30 [24] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $18) ← (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_DWORD
sta SCREEN+$18
jmp breturn
//SEG31 main::@return
breturn:
//SEG32 [25] return
rts
}
ASSEMBLER OPTIMIZATIONS
Removing instruction jmp b1
Removing instruction jmp bend
Removing instruction jmp breturn
Succesful ASM optimization Pass5NextJumpElimination
Removing instruction lda #'0'+SIZEOF_POINTER
Removing instruction lda #'0'+SIZEOF_POINTER
Removing instruction lda #'0'+SIZEOF_POINTER
Removing instruction lda #'0'+SIZEOF_POINTER
Succesful ASM optimization Pass5UnnecesaryLoadElimination
Removing instruction b1_from_bbegin:
Removing instruction b1:
Removing instruction bend_from_b1:
Succesful ASM optimization Pass5RedundantLabelElimination
Removing instruction bend:
Removing instruction breturn:
Succesful ASM optimization Pass5UnusedLabelElimination
Updating BasicUpstart to call main directly
Removing instruction jsr main
Succesful ASM optimization Pass5SkipBegin
Removing instruction bbegin:
Succesful ASM optimization Pass5UnusedLabelElimination
FINAL SYMBOL TABLE
(label) @1
(label) @begin
(label) @end
(byte*) SCREEN
(const byte*) SCREEN#0 SCREEN = ((byte*))(word/signed word/dword/signed dword) $400
(const byte) SIZEOF_BOOL SIZEOF_BOOL = (byte/signed byte/word/signed word/dword/signed dword) 1
(const byte) SIZEOF_BYTE SIZEOF_BYTE = (byte/signed byte/word/signed word/dword/signed dword) 1
(const byte) SIZEOF_DWORD SIZEOF_DWORD = (byte/signed byte/word/signed word/dword/signed dword) 4
(const byte) SIZEOF_POINTER SIZEOF_POINTER = (byte/signed byte/word/signed word/dword/signed dword) 2
(const byte) SIZEOF_SIGNED_BYTE SIZEOF_SIGNED_BYTE = (byte/signed byte/word/signed word/dword/signed dword) 1
(const byte) SIZEOF_SIGNED_DWORD SIZEOF_SIGNED_DWORD = (byte/signed byte/word/signed word/dword/signed dword) 4
(const byte) SIZEOF_SIGNED_WORD SIZEOF_SIGNED_WORD = (byte/signed byte/word/signed word/dword/signed dword) 2
(const byte) SIZEOF_VOID SIZEOF_VOID = (byte/signed byte/word/signed word/dword/signed dword) 0
(const byte) SIZEOF_WORD SIZEOF_WORD = (byte/signed byte/word/signed word/dword/signed dword) 2
(void()) main()
(label) main::@return
(byte) main::idx
FINAL ASSEMBLER
Score: 124
//SEG0 File Comments
// Tests the sizeof() operator on types
//SEG1 Basic Upstart
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
//SEG2 Global Constants & labels
.const SIZEOF_VOID = 0
.const SIZEOF_BYTE = 1
.const SIZEOF_SIGNED_BYTE = 1
.const SIZEOF_BOOL = 1
.const SIZEOF_WORD = 2
.const SIZEOF_SIGNED_WORD = 2
.const SIZEOF_POINTER = 2
.const SIZEOF_DWORD = 4
.const SIZEOF_SIGNED_DWORD = 4
.label SCREEN = $400
//SEG3 @begin
//SEG4 [1] phi from @begin to @1 [phi:@begin->@1]
//SEG5 @1
//SEG6 [2] call main
//SEG7 [3] phi from @1 to @end [phi:@1->@end]
//SEG8 @end
//SEG9 main
main: {
//SEG10 [4] *((const byte*) SCREEN#0) ← (byte) '0'+(const byte) SIZEOF_VOID -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_VOID
sta SCREEN
//SEG11 [5] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 2) ← (byte) '0'+(const byte) SIZEOF_BYTE -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_BYTE
sta SCREEN+2
//SEG12 [6] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 3) ← (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_BYTE
sta SCREEN+3
//SEG13 [7] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 4) ← (byte) '0'+(const byte) SIZEOF_BYTE -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_BYTE
sta SCREEN+4
//SEG14 [8] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 5) ← (byte) '0'+(const byte) SIZEOF_SIGNED_BYTE -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_BYTE
sta SCREEN+5
//SEG15 [9] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 6) ← (byte) '0'+(const byte) SIZEOF_BOOL -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_BOOL
sta SCREEN+6
//SEG16 [10] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 8) ← (byte) '0'+(const byte) SIZEOF_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_WORD
sta SCREEN+8
//SEG17 [11] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) 9) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_WORD
sta SCREEN+9
//SEG18 [12] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $a) ← (byte) '0'+(const byte) SIZEOF_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_WORD
sta SCREEN+$a
//SEG19 [13] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $b) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_WORD
sta SCREEN+$b
//SEG20 [14] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $c) ← (byte) '0'+(const byte) SIZEOF_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_WORD
sta SCREEN+$c
//SEG21 [15] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $d) ← (byte) '0'+(const byte) SIZEOF_SIGNED_WORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_WORD
sta SCREEN+$d
//SEG22 [16] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $f) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_POINTER
sta SCREEN+$f
//SEG23 [17] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $10) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
sta SCREEN+$10
//SEG24 [18] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $11) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
sta SCREEN+$11
//SEG25 [19] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $12) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
sta SCREEN+$12
//SEG26 [20] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $13) ← (byte) '0'+(const byte) SIZEOF_POINTER -- _deref_pbuc1=vbuc2
sta SCREEN+$13
//SEG27 [21] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $15) ← (byte) '0'+(const byte) SIZEOF_DWORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_DWORD
sta SCREEN+$15
//SEG28 [22] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $16) ← (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_DWORD
sta SCREEN+$16
//SEG29 [23] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $17) ← (byte) '0'+(const byte) SIZEOF_DWORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_DWORD
sta SCREEN+$17
//SEG30 [24] *((const byte*) SCREEN#0+(byte/signed byte/word/signed word/dword/signed dword) $18) ← (byte) '0'+(const byte) SIZEOF_SIGNED_DWORD -- _deref_pbuc1=vbuc2
lda #'0'+SIZEOF_SIGNED_DWORD
sta SCREEN+$18
//SEG31 main::@return
//SEG32 [25] return
rts
}

View File

@ -0,0 +1,18 @@
(label) @1
(label) @begin
(label) @end
(byte*) SCREEN
(const byte*) SCREEN#0 SCREEN = ((byte*))(word/signed word/dword/signed dword) $400
(const byte) SIZEOF_BOOL SIZEOF_BOOL = (byte/signed byte/word/signed word/dword/signed dword) 1
(const byte) SIZEOF_BYTE SIZEOF_BYTE = (byte/signed byte/word/signed word/dword/signed dword) 1
(const byte) SIZEOF_DWORD SIZEOF_DWORD = (byte/signed byte/word/signed word/dword/signed dword) 4
(const byte) SIZEOF_POINTER SIZEOF_POINTER = (byte/signed byte/word/signed word/dword/signed dword) 2
(const byte) SIZEOF_SIGNED_BYTE SIZEOF_SIGNED_BYTE = (byte/signed byte/word/signed word/dword/signed dword) 1
(const byte) SIZEOF_SIGNED_DWORD SIZEOF_SIGNED_DWORD = (byte/signed byte/word/signed word/dword/signed dword) 4
(const byte) SIZEOF_SIGNED_WORD SIZEOF_SIGNED_WORD = (byte/signed byte/word/signed word/dword/signed dword) 2
(const byte) SIZEOF_VOID SIZEOF_VOID = (byte/signed byte/word/signed word/dword/signed dword) 0
(const byte) SIZEOF_WORD SIZEOF_WORD = (byte/signed byte/word/signed word/dword/signed dword) 2
(void()) main()
(label) main::@return
(byte) main::idx