diff --git a/src/main/java/dk/camelot64/kickc/model/symbols/SymbolVariable.java b/src/main/java/dk/camelot64/kickc/model/symbols/SymbolVariable.java index ca84945eb..b0ec217f3 100644 --- a/src/main/java/dk/camelot64/kickc/model/symbols/SymbolVariable.java +++ b/src/main/java/dk/camelot64/kickc/model/symbols/SymbolVariable.java @@ -48,7 +48,7 @@ public abstract class SymbolVariable implements Symbol { private boolean declaredAsRegister; /** Specifies that the variable must live in memory. */ - private boolean declaredAsMemory; + private boolean declaredAsNotRegister; /** Specifies a specific address where the variable must reside in memory. */ private Long declaredMemoryAddress; @@ -229,12 +229,12 @@ public abstract class SymbolVariable implements Symbol { this.declaredAsRegister = declaredAsRegister; } - public boolean isDeclaredAsMemory() { - return declaredAsMemory; + public boolean isDeclaredAsNotRegister() { + return declaredAsNotRegister; } - public void setDeclaredAsMemory(boolean declaredAsMemory) { - this.declaredAsMemory = declaredAsMemory; + public void setDeclaredNotRegister(boolean declaredAsMemory) { + this.declaredAsNotRegister = declaredAsMemory; } public Long getDeclaredMemoryAddress() { diff --git a/src/main/java/dk/camelot64/kickc/model/symbols/Variable.java b/src/main/java/dk/camelot64/kickc/model/symbols/Variable.java index b8b65b419..ed5cd0ff0 100644 --- a/src/main/java/dk/camelot64/kickc/model/symbols/Variable.java +++ b/src/main/java/dk/camelot64/kickc/model/symbols/Variable.java @@ -41,7 +41,7 @@ public class Variable extends SymbolVariable { super(phiMaster.getName() + "#" + version, phiMaster.getScope(), phiMaster.getType(), StorageStrategy.PHI_VERSION, phiMaster.getMemoryArea(), phiMaster.getDataSegment()); this.setDeclaredAlignment(phiMaster.getDeclaredAlignment()); this.setDeclaredAsRegister(phiMaster.isDeclaredAsRegister()); - this.setDeclaredAsMemory(phiMaster.isDeclaredAsMemory()); + this.setDeclaredNotRegister(phiMaster.isDeclaredAsNotRegister()); this.setDeclaredRegister(phiMaster.getDeclaredRegister()); this.setDeclaredMemoryAddress(phiMaster.getDeclaredMemoryAddress()); this.setDeclaredVolatile(phiMaster.isDeclaredVolatile()); diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCLexer.g4 b/src/main/java/dk/camelot64/kickc/parser/KickCLexer.g4 index 18fb7e2fb..77eb5838e 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCLexer.g4 +++ b/src/main/java/dk/camelot64/kickc/parser/KickCLexer.g4 @@ -78,7 +78,7 @@ EXTERN: 'extern' ; EXPORT: 'export' ; ALIGN: 'align' ; REGISTER: 'register' ; -MEMORY: 'memory' ; +NOTREGISTER: 'notregister' ; ZEROPAGE: '__zp' ; MAINMEM: '__mem' ; INLINE: 'inline' ; diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCLexer.java b/src/main/java/dk/camelot64/kickc/parser/KickCLexer.java index 63307ef7a..0fcbc2c9a 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCLexer.java +++ b/src/main/java/dk/camelot64/kickc/parser/KickCLexer.java @@ -27,8 +27,8 @@ public class KickCLexer extends Lexer { GREATER_THAN_EQUAL=32, GREATER_THAN=33, LOGIC_AND=34, LOGIC_OR=35, ASSIGN=36, ASSIGN_COMPOUND=37, IMPORT=38, TYPEDEF=39, PRAGMA=40, RESERVE=41, PC=42, TARGET=43, LINK=44, CPU=45, CODESEG=46, DATASEG=47, ENCODING=48, CONST=49, - EXTERN=50, EXPORT=51, ALIGN=52, REGISTER=53, MEMORY=54, ZEROPAGE=55, MAINMEM=56, - INLINE=57, VOLATILE=58, INTERRUPT=59, CALLING=60, CALLINGCONVENTION=61, + EXTERN=50, EXPORT=51, ALIGN=52, REGISTER=53, NOTREGISTER=54, ZEROPAGE=55, + MAINMEM=56, INLINE=57, VOLATILE=58, INTERRUPT=59, CALLING=60, CALLINGCONVENTION=61, IF=62, ELSE=63, WHILE=64, DO=65, FOR=66, SWITCH=67, RETURN=68, BREAK=69, CONTINUE=70, ASM=71, DEFAULT=72, CASE=73, STRUCT=74, ENUM=75, SIZEOF=76, TYPEID=77, KICKASM=78, RESOURCE=79, USES=80, CLOBBERS=81, BYTES=82, CYCLES=83, @@ -62,7 +62,7 @@ public class KickCLexer extends Lexer { "NOT_EQUAL", "LESS_THAN", "LESS_THAN_EQUAL", "GREATER_THAN_EQUAL", "GREATER_THAN", "LOGIC_AND", "LOGIC_OR", "ASSIGN", "ASSIGN_COMPOUND", "IMPORT", "TYPEDEF", "PRAGMA", "RESERVE", "PC", "TARGET", "LINK", "CPU", "CODESEG", "DATASEG", - "ENCODING", "CONST", "EXTERN", "EXPORT", "ALIGN", "REGISTER", "MEMORY", + "ENCODING", "CONST", "EXTERN", "EXPORT", "ALIGN", "REGISTER", "NOTREGISTER", "ZEROPAGE", "MAINMEM", "INLINE", "VOLATILE", "INTERRUPT", "CALLING", "CALLINGCONVENTION", "IF", "ELSE", "WHILE", "DO", "FOR", "SWITCH", "RETURN", "BREAK", "CONTINUE", "ASM", "DEFAULT", "CASE", "STRUCT", "ENUM", "SIZEOF", "TYPEID", "KICKASM", @@ -88,7 +88,7 @@ public class KickCLexer extends Lexer { null, "'&&'", "'||'", "'='", null, "'import'", "'typedef'", "'#pragma'", "'reserve'", "'pc'", "'target'", "'link'", "'cpu'", "'code_seg'", "'data_seg'", "'encoding'", "'const'", "'extern'", "'export'", "'align'", "'register'", - "'memory'", "'__zp'", "'__mem'", "'inline'", "'volatile'", "'interrupt'", + "'notregister'", "'__zp'", "'__mem'", "'inline'", "'volatile'", "'interrupt'", "'calling'", null, "'if'", "'else'", "'while'", "'do'", "'for'", "'switch'", "'return'", "'break'", "'continue'", "'asm'", "'default'", "'case'", "'struct'", "'enum'", "'sizeof'", "'typeid'", "'kickasm'", "'resource'", "'uses'", @@ -105,21 +105,21 @@ public class KickCLexer extends Lexer { "GREATER_THAN", "LOGIC_AND", "LOGIC_OR", "ASSIGN", "ASSIGN_COMPOUND", "IMPORT", "TYPEDEF", "PRAGMA", "RESERVE", "PC", "TARGET", "LINK", "CPU", "CODESEG", "DATASEG", "ENCODING", "CONST", "EXTERN", "EXPORT", "ALIGN", - "REGISTER", "MEMORY", "ZEROPAGE", "MAINMEM", "INLINE", "VOLATILE", "INTERRUPT", - "CALLING", "CALLINGCONVENTION", "IF", "ELSE", "WHILE", "DO", "FOR", "SWITCH", - "RETURN", "BREAK", "CONTINUE", "ASM", "DEFAULT", "CASE", "STRUCT", "ENUM", - "SIZEOF", "TYPEID", "KICKASM", "RESOURCE", "USES", "CLOBBERS", "BYTES", - "CYCLES", "LOGIC_NOT", "SIGNEDNESS", "SIMPLETYPE", "BOOLEAN", "KICKASM_BODY", - "STRING", "CHAR", "NUMBER", "NUMFLOAT", "BINFLOAT", "DECFLOAT", "HEXFLOAT", - "NUMINT", "BININTEGER", "DECINTEGER", "HEXINTEGER", "NAME", "WS", "COMMENT_LINE", - "COMMENT_BLOCK", "ASM_BYTE", "ASM_MNEMONIC", "ASM_IMM", "ASM_COLON", "ASM_COMMA", - "ASM_PAR_BEGIN", "ASM_PAR_END", "ASM_BRACKET_BEGIN", "ASM_BRACKET_END", - "ASM_DOT", "ASM_SHIFT_LEFT", "ASM_SHIFT_RIGHT", "ASM_PLUS", "ASM_MINUS", - "ASM_LESS_THAN", "ASM_GREATER_THAN", "ASM_MULTIPLY", "ASM_DIVIDE", "ASM_CURLY_BEGIN", - "ASM_CURLY_END", "ASM_NUMBER", "ASM_NUMFLOAT", "ASM_BINFLOAT", "ASM_DECFLOAT", - "ASM_HEXFLOAT", "ASM_NUMINT", "ASM_BININTEGER", "ASM_DECINTEGER", "ASM_HEXINTEGER", - "ASM_CHAR", "ASM_MULTI_REL", "ASM_MULTI_NAME", "ASM_NAME", "ASM_WS", "ASM_COMMENT_LINE", - "ASM_COMMENT_BLOCK" + "REGISTER", "NOTREGISTER", "ZEROPAGE", "MAINMEM", "INLINE", "VOLATILE", + "INTERRUPT", "CALLING", "CALLINGCONVENTION", "IF", "ELSE", "WHILE", "DO", + "FOR", "SWITCH", "RETURN", "BREAK", "CONTINUE", "ASM", "DEFAULT", "CASE", + "STRUCT", "ENUM", "SIZEOF", "TYPEID", "KICKASM", "RESOURCE", "USES", "CLOBBERS", + "BYTES", "CYCLES", "LOGIC_NOT", "SIGNEDNESS", "SIMPLETYPE", "BOOLEAN", + "KICKASM_BODY", "STRING", "CHAR", "NUMBER", "NUMFLOAT", "BINFLOAT", "DECFLOAT", + "HEXFLOAT", "NUMINT", "BININTEGER", "DECINTEGER", "HEXINTEGER", "NAME", + "WS", "COMMENT_LINE", "COMMENT_BLOCK", "ASM_BYTE", "ASM_MNEMONIC", "ASM_IMM", + "ASM_COLON", "ASM_COMMA", "ASM_PAR_BEGIN", "ASM_PAR_END", "ASM_BRACKET_BEGIN", + "ASM_BRACKET_END", "ASM_DOT", "ASM_SHIFT_LEFT", "ASM_SHIFT_RIGHT", "ASM_PLUS", + "ASM_MINUS", "ASM_LESS_THAN", "ASM_GREATER_THAN", "ASM_MULTIPLY", "ASM_DIVIDE", + "ASM_CURLY_BEGIN", "ASM_CURLY_END", "ASM_NUMBER", "ASM_NUMFLOAT", "ASM_BINFLOAT", + "ASM_DECFLOAT", "ASM_HEXFLOAT", "ASM_NUMINT", "ASM_BININTEGER", "ASM_DECINTEGER", + "ASM_HEXINTEGER", "ASM_CHAR", "ASM_MULTI_REL", "ASM_MULTI_NAME", "ASM_NAME", + "ASM_WS", "ASM_COMMENT_LINE", "ASM_COMMENT_BLOCK" }; public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); @@ -271,7 +271,7 @@ public class KickCLexer extends Lexer { } public static final String _serializedATN = - "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\u008d\u057f\b\1\b"+ + "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\u008d\u0584\b\1\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"+ @@ -303,158 +303,158 @@ public class KickCLexer extends Lexer { "\60\3\61\3\61\3\61\3\61\3\61\3\61\3\62\3\62\3\62\3\62\3\62\3\62\3\62\3"+ "\63\3\63\3\63\3\63\3\63\3\63\3\63\3\64\3\64\3\64\3\64\3\64\3\64\3\65\3"+ "\65\3\65\3\65\3\65\3\65\3\65\3\65\3\65\3\66\3\66\3\66\3\66\3\66\3\66\3"+ - "\66\3\67\3\67\3\67\3\67\3\67\38\38\38\38\38\38\39\39\39\39\39\39\39\3"+ - ":\3:\3:\3:\3:\3:\3:\3:\3:\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\3<\3<\3<\3<\3"+ - "<\3<\3<\3<\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3"+ - "=\5=\u0252\n=\3>\3>\3>\3?\3?\3?\3?\3?\3@\3@\3@\3@\3@\3@\3A\3A\3A\3B\3"+ - "B\3B\3B\3C\3C\3C\3C\3C\3C\3C\3D\3D\3D\3D\3D\3D\3D\3E\3E\3E\3E\3E\3E\3"+ - "F\3F\3F\3F\3F\3F\3F\3F\3F\3G\3G\3G\3G\3G\3G\3H\3H\3H\3H\3H\3H\3H\3H\3"+ - "I\3I\3I\3I\3I\3J\3J\3J\3J\3J\3J\3J\3K\3K\3K\3K\3K\3L\3L\3L\3L\3L\3L\3"+ - "L\3M\3M\3M\3M\3M\3M\3M\3N\3N\3N\3N\3N\3N\3N\3N\3O\3O\3O\3O\3O\3O\3O\3"+ - "O\3O\3P\3P\3P\3P\3P\3Q\3Q\3Q\3Q\3Q\3Q\3Q\3Q\3Q\3R\3R\3R\3R\3R\3R\3S\3"+ - "S\3S\3S\3S\3S\3S\3T\3T\3U\3U\3U\3U\3U\3U\3U\3U\3U\3U\3U\3U\3U\3U\5U\u02ef"+ - "\nU\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V"+ - "\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\5V\u0316\nV\3W\3W\3W\3W"+ - "\3W\3W\3W\3W\3W\5W\u0321\nW\3X\3X\3X\3X\7X\u0327\nX\fX\16X\u032a\13X\3"+ - "X\3X\3X\3Y\3Y\3Y\3Y\7Y\u0333\nY\fY\16Y\u0336\13Y\3Y\3Y\5Y\u033a\nY\3Y"+ - "\3Y\5Y\u033e\nY\5Y\u0340\nY\3Y\5Y\u0343\nY\3Y\3Y\3Z\3Z\3Z\3Z\5Z\u034b"+ - "\nZ\3Z\3Z\3[\3[\5[\u0351\n[\3\\\3\\\3\\\5\\\u0356\n\\\3]\3]\3]\3]\3]\5"+ - "]\u035d\n]\3]\7]\u0360\n]\f]\16]\u0363\13]\3]\3]\6]\u0367\n]\r]\16]\u0368"+ - "\3^\7^\u036c\n^\f^\16^\u036f\13^\3^\3^\6^\u0373\n^\r^\16^\u0374\3_\3_"+ - "\3_\3_\3_\5_\u037c\n_\3_\7_\u037f\n_\f_\16_\u0382\13_\3_\3_\6_\u0386\n"+ - "_\r_\16_\u0387\3`\3`\3`\5`\u038d\n`\3`\3`\3`\5`\u0392\n`\3a\3a\3a\6a\u0397"+ - "\na\ra\16a\u0398\3a\3a\6a\u039d\na\ra\16a\u039e\5a\u03a1\na\3b\6b\u03a4"+ - "\nb\rb\16b\u03a5\3c\3c\3c\3c\3c\5c\u03ad\nc\3c\6c\u03b0\nc\rc\16c\u03b1"+ - "\3d\3d\3e\3e\3f\3f\3g\3g\7g\u03bc\ng\fg\16g\u03bf\13g\3g\3g\3h\3h\3i\3"+ - "i\3j\6j\u03c8\nj\rj\16j\u03c9\3j\3j\3k\3k\3k\3k\7k\u03d2\nk\fk\16k\u03d5"+ - "\13k\3k\3k\3l\3l\3l\3l\7l\u03dd\nl\fl\16l\u03e0\13l\3l\3l\3l\3l\3l\3m"+ - "\3m\3m\3m\3m\3m\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n"+ - "\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n"+ - "\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n"+ - "\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n"+ - "\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n"+ - "\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n"+ - "\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n"+ - "\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n"+ - "\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n"+ - "\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\3n\5n\u04cb"+ - "\nn\3o\3o\3p\3p\3q\3q\3r\3r\3s\3s\3t\3t\3u\3u\3v\3v\3w\3w\3w\3x\3x\3x"+ - "\3y\3y\3z\3z\3{\3{\3|\3|\3}\3}\3~\3~\3\177\3\177\3\177\3\u0080\3\u0080"+ - "\3\u0080\3\u0081\3\u0081\5\u0081\u04f7\n\u0081\3\u0082\3\u0082\3\u0082"+ - "\5\u0082\u04fc\n\u0082\3\u0083\3\u0083\7\u0083\u0500\n\u0083\f\u0083\16"+ - "\u0083\u0503\13\u0083\3\u0083\3\u0083\6\u0083\u0507\n\u0083\r\u0083\16"+ - "\u0083\u0508\3\u0084\7\u0084\u050c\n\u0084\f\u0084\16\u0084\u050f\13\u0084"+ - "\3\u0084\3\u0084\6\u0084\u0513\n\u0084\r\u0084\16\u0084\u0514\3\u0085"+ - "\3\u0085\7\u0085\u0519\n\u0085\f\u0085\16\u0085\u051c\13\u0085\3\u0085"+ - "\3\u0085\6\u0085\u0520\n\u0085\r\u0085\16\u0085\u0521\3\u0086\3\u0086"+ - "\3\u0086\5\u0086\u0527\n\u0086\3\u0087\3\u0087\6\u0087\u052b\n\u0087\r"+ - "\u0087\16\u0087\u052c\3\u0088\6\u0088\u0530\n\u0088\r\u0088\16\u0088\u0531"+ - "\3\u0089\3\u0089\6\u0089\u0536\n\u0089\r\u0089\16\u0089\u0537\3\u008a"+ - "\3\u008a\3\u008b\3\u008b\3\u008c\3\u008c\3\u008d\3\u008d\3\u008d\3\u008d"+ - "\5\u008d\u0544\n\u008d\3\u008d\3\u008d\3\u008e\3\u008e\6\u008e\u054a\n"+ - "\u008e\r\u008e\16\u008e\u054b\3\u008f\3\u008f\7\u008f\u0550\n\u008f\f"+ - "\u008f\16\u008f\u0553\13\u008f\3\u0090\3\u0090\7\u0090\u0557\n\u0090\f"+ - "\u0090\16\u0090\u055a\13\u0090\3\u0091\3\u0091\3\u0092\3\u0092\3\u0093"+ - "\6\u0093\u0561\n\u0093\r\u0093\16\u0093\u0562\3\u0093\3\u0093\3\u0094"+ - "\3\u0094\3\u0094\3\u0094\7\u0094\u056b\n\u0094\f\u0094\16\u0094\u056e"+ - "\13\u0094\3\u0094\3\u0094\3\u0095\3\u0095\3\u0095\3\u0095\7\u0095\u0576"+ - "\n\u0095\f\u0095\16\u0095\u0579\13\u0095\3\u0095\3\u0095\3\u0095\3\u0095"+ - "\3\u0095\5\u0328\u03de\u0577\2\u0096\4\4\6\5\b\6\n\7\f\b\16\t\20\n\22"+ - "\13\24\f\26\r\30\16\32\17\34\20\36\21 \22\"\23$\24&\25(\26*\27,\30.\31"+ - "\60\32\62\33\64\34\66\358\36:\37< >!@\"B#D$F%H&J\'L(N)P*R+T,V-X.Z/\\\60"+ - "^\61`\62b\63d\64f\65h\66j\67l8n9p:r;t<v=x>z?|@~A\u0080B\u0082C\u0084D"+ - "\u0086E\u0088F\u008aG\u008cH\u008eI\u0090J\u0092K\u0094L\u0096M\u0098"+ - "N\u009aO\u009cP\u009eQ\u00a0R\u00a2S\u00a4T\u00a6U\u00a8V\u00aaW\u00ac"+ - "X\u00aeY\u00b0Z\u00b2[\u00b4\\\u00b6]\u00b8^\u00ba_\u00bc`\u00bea\u00c0"+ - "b\u00c2c\u00c4d\u00c6e\u00c8\2\u00ca\2\u00cc\2\u00cef\u00d0\2\u00d2\2"+ - "\u00d4g\u00d6h\u00d8i\u00daj\u00dck\u00del\u00e0m\u00e2n\u00e4o\u00e6"+ - "p\u00e8q\u00ear\u00ecs\u00eet\u00f0u\u00f2v\u00f4w\u00f6x\u00f8y\u00fa"+ - "z\u00fc{\u00fe|\u0100}\u0102~\u0104\177\u0106\u0080\u0108\u0081\u010a"+ - "\u0082\u010c\u0083\u010e\u0084\u0110\u0085\u0112\u0086\u0114\2\u0116\2"+ - "\u0118\2\u011a\u0087\u011c\u0088\u011e\u0089\u0120\u008a\u0122\2\u0124"+ - "\2\u0126\u008b\u0128\u008c\u012a\u008d\4\2\3\23\3\2$$\3\2||\4\2rruu\4"+ - "\2ooww\7\2$$))hhpptt\3\2))\4\2uuww\7\2dfkknnuuyy\4\2DDdd\3\2\62\63\3\2"+ - "\62;\5\2\62;CHch\5\2C\\aac|\6\2\62;C\\aac|\6\2\13\f\17\17\"\"\u00a2\u00a2"+ - "\4\2\f\f\17\17\4\2--//\2\u0609\2\4\3\2\2\2\2\6\3\2\2\2\2\b\3\2\2\2\2\n"+ - "\3\2\2\2\2\f\3\2\2\2\2\16\3\2\2\2\2\20\3\2\2\2\2\22\3\2\2\2\2\24\3\2\2"+ - "\2\2\26\3\2\2\2\2\30\3\2\2\2\2\32\3\2\2\2\2\34\3\2\2\2\2\36\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\60\3\2\2\2\2\62\3\2\2\2\2\64\3\2\2\2\2\66\3\2\2\2"+ - "\28\3\2\2\2\2:\3\2\2\2\2<\3\2\2\2\2>\3\2\2\2\2@\3\2\2\2\2B\3\2\2\2\2D"+ - "\3\2\2\2\2F\3\2\2\2\2H\3\2\2\2\2J\3\2\2\2\2L\3\2\2\2\2N\3\2\2\2\2P\3\2"+ - "\2\2\2R\3\2\2\2\2T\3\2\2\2\2V\3\2\2\2\2X\3\2\2\2\2Z\3\2\2\2\2\\\3\2\2"+ - "\2\2^\3\2\2\2\2`\3\2\2\2\2b\3\2\2\2\2d\3\2\2\2\2f\3\2\2\2\2h\3\2\2\2\2"+ - "j\3\2\2\2\2l\3\2\2\2\2n\3\2\2\2\2p\3\2\2\2\2r\3\2\2\2\2t\3\2\2\2\2v\3"+ - "\2\2\2\2x\3\2\2\2\2z\3\2\2\2\2|\3\2\2\2\2~\3\2\2\2\2\u0080\3\2\2\2\2\u0082"+ - "\3\2\2\2\2\u0084\3\2\2\2\2\u0086\3\2\2\2\2\u0088\3\2\2\2\2\u008a\3\2\2"+ - "\2\2\u008c\3\2\2\2\2\u008e\3\2\2\2\2\u0090\3\2\2\2\2\u0092\3\2\2\2\2\u0094"+ - "\3\2\2\2\2\u0096\3\2\2\2\2\u0098\3\2\2\2\2\u009a\3\2\2\2\2\u009c\3\2\2"+ - "\2\2\u009e\3\2\2\2\2\u00a0\3\2\2\2\2\u00a2\3\2\2\2\2\u00a4\3\2\2\2\2\u00a6"+ - "\3\2\2\2\2\u00a8\3\2\2\2\2\u00aa\3\2\2\2\2\u00ac\3\2\2\2\2\u00ae\3\2\2"+ - "\2\2\u00b0\3\2\2\2\2\u00b2\3\2\2\2\2\u00b4\3\2\2\2\2\u00b6\3\2\2\2\2\u00b8"+ - "\3\2\2\2\2\u00ba\3\2\2\2\2\u00bc\3\2\2\2\2\u00be\3\2\2\2\2\u00c0\3\2\2"+ - "\2\2\u00c2\3\2\2\2\2\u00c4\3\2\2\2\2\u00c6\3\2\2\2\2\u00ce\3\2\2\2\2\u00d4"+ - "\3\2\2\2\2\u00d6\3\2\2\2\2\u00d8\3\2\2\2\3\u00da\3\2\2\2\3\u00dc\3\2\2"+ - "\2\3\u00de\3\2\2\2\3\u00e0\3\2\2\2\3\u00e2\3\2\2\2\3\u00e4\3\2\2\2\3\u00e6"+ - "\3\2\2\2\3\u00e8\3\2\2\2\3\u00ea\3\2\2\2\3\u00ec\3\2\2\2\3\u00ee\3\2\2"+ - "\2\3\u00f0\3\2\2\2\3\u00f2\3\2\2\2\3\u00f4\3\2\2\2\3\u00f6\3\2\2\2\3\u00f8"+ - "\3\2\2\2\3\u00fa\3\2\2\2\3\u00fc\3\2\2\2\3\u00fe\3\2\2\2\3\u0100\3\2\2"+ - "\2\3\u0102\3\2\2\2\3\u0104\3\2\2\2\3\u0106\3\2\2\2\3\u0108\3\2\2\2\3\u010a"+ - "\3\2\2\2\3\u010c\3\2\2\2\3\u010e\3\2\2\2\3\u0110\3\2\2\2\3\u0112\3\2\2"+ - "\2\3\u011a\3\2\2\2\3\u011c\3\2\2\2\3\u011e\3\2\2\2\3\u0120\3\2\2\2\3\u0126"+ - "\3\2\2\2\3\u0128\3\2\2\2\3\u012a\3\2\2\2\4\u012c\3\2\2\2\6\u012f\3\2\2"+ - "\2\b\u0131\3\2\2\2\n\u0133\3\2\2\2\f\u0135\3\2\2\2\16\u0137\3\2\2\2\20"+ - "\u0139\3\2\2\2\22\u013b\3\2\2\2\24\u013d\3\2\2\2\26\u013f\3\2\2\2\30\u0142"+ - "\3\2\2\2\32\u0144\3\2\2\2\34\u0146\3\2\2\2\36\u0149\3\2\2\2 \u014b\3\2"+ - "\2\2\"\u014d\3\2\2\2$\u014f\3\2\2\2&\u0151\3\2\2\2(\u0153\3\2\2\2*\u0156"+ - "\3\2\2\2,\u0159\3\2\2\2.\u015b\3\2\2\2\60\u015d\3\2\2\2\62\u015f\3\2\2"+ - "\2\64\u0161\3\2\2\2\66\u0164\3\2\2\28\u0167\3\2\2\2:\u016a\3\2\2\2<\u016d"+ - "\3\2\2\2>\u016f\3\2\2\2@\u0172\3\2\2\2B\u0175\3\2\2\2D\u0177\3\2\2\2F"+ - "\u017a\3\2\2\2H\u017d\3\2\2\2J\u0195\3\2\2\2L\u0197\3\2\2\2N\u01a0\3\2"+ - "\2\2P\u01a8\3\2\2\2R\u01b0\3\2\2\2T\u01b8\3\2\2\2V\u01bb\3\2\2\2X\u01c2"+ - "\3\2\2\2Z\u01c7\3\2\2\2\\\u01cb\3\2\2\2^\u01d4\3\2\2\2`\u01dd\3\2\2\2"+ - "b\u01e6\3\2\2\2d\u01ec\3\2\2\2f\u01f3\3\2\2\2h\u01fa\3\2\2\2j\u0200\3"+ - "\2\2\2l\u0209\3\2\2\2n\u0210\3\2\2\2p\u0215\3\2\2\2r\u021b\3\2\2\2t\u0222"+ - "\3\2\2\2v\u022b\3\2\2\2x\u0235\3\2\2\2z\u0251\3\2\2\2|\u0253\3\2\2\2~"+ - "\u0256\3\2\2\2\u0080\u025b\3\2\2\2\u0082\u0261\3\2\2\2\u0084\u0264\3\2"+ - "\2\2\u0086\u0268\3\2\2\2\u0088\u026f\3\2\2\2\u008a\u0276\3\2\2\2\u008c"+ - "\u027c\3\2\2\2\u008e\u0285\3\2\2\2\u0090\u028b\3\2\2\2\u0092\u0293\3\2"+ - "\2\2\u0094\u0298\3\2\2\2\u0096\u029f\3\2\2\2\u0098\u02a4\3\2\2\2\u009a"+ - "\u02ab\3\2\2\2\u009c\u02b2\3\2\2\2\u009e\u02ba\3\2\2\2\u00a0\u02c3\3\2"+ - "\2\2\u00a2\u02c8\3\2\2\2\u00a4\u02d1\3\2\2\2\u00a6\u02d7\3\2\2\2\u00a8"+ - "\u02de\3\2\2\2\u00aa\u02ee\3\2\2\2\u00ac\u0315\3\2\2\2\u00ae\u0320\3\2"+ - "\2\2\u00b0\u0322\3\2\2\2\u00b2\u032e\3\2\2\2\u00b4\u0346\3\2\2\2\u00b6"+ - "\u0350\3\2\2\2\u00b8\u0355\3\2\2\2\u00ba\u035c\3\2\2\2\u00bc\u036d\3\2"+ - "\2\2\u00be\u037b\3\2\2\2\u00c0\u038c\3\2\2\2\u00c2\u03a0\3\2\2\2\u00c4"+ - "\u03a3\3\2\2\2\u00c6\u03ac\3\2\2\2\u00c8\u03b3\3\2\2\2\u00ca\u03b5\3\2"+ - "\2\2\u00cc\u03b7\3\2\2\2\u00ce\u03b9\3\2\2\2\u00d0\u03c2\3\2\2\2\u00d2"+ - "\u03c4\3\2\2\2\u00d4\u03c7\3\2\2\2\u00d6\u03cd\3\2\2\2\u00d8\u03d8\3\2"+ - "\2\2\u00da\u03e6\3\2\2\2\u00dc\u04ca\3\2\2\2\u00de\u04cc\3\2\2\2\u00e0"+ - "\u04ce\3\2\2\2\u00e2\u04d0\3\2\2\2\u00e4\u04d2\3\2\2\2\u00e6\u04d4\3\2"+ - "\2\2\u00e8\u04d6\3\2\2\2\u00ea\u04d8\3\2\2\2\u00ec\u04da\3\2\2\2\u00ee"+ - "\u04dc\3\2\2\2\u00f0\u04df\3\2\2\2\u00f2\u04e2\3\2\2\2\u00f4\u04e4\3\2"+ - "\2\2\u00f6\u04e6\3\2\2\2\u00f8\u04e8\3\2\2\2\u00fa\u04ea\3\2\2\2\u00fc"+ - "\u04ec\3\2\2\2\u00fe\u04ee\3\2\2\2\u0100\u04f1\3\2\2\2\u0102\u04f6\3\2"+ - "\2\2\u0104\u04fb\3\2\2\2\u0106\u04fd\3\2\2\2\u0108\u050d\3\2\2\2\u010a"+ - "\u0516\3\2\2\2\u010c\u0526\3\2\2\2\u010e\u0528\3\2\2\2\u0110\u052f\3\2"+ - "\2\2\u0112\u0533\3\2\2\2\u0114\u0539\3\2\2\2\u0116\u053b\3\2\2\2\u0118"+ - "\u053d\3\2\2\2\u011a\u053f\3\2\2\2\u011c\u0547\3\2\2\2\u011e\u054d\3\2"+ - "\2\2\u0120\u0554\3\2\2\2\u0122\u055b\3\2\2\2\u0124\u055d\3\2\2\2\u0126"+ - "\u0560\3\2\2\2\u0128\u0566\3\2\2\2\u012a\u0571\3\2\2\2\u012c\u012d\7}"+ - "\2\2\u012d\u012e\b\2\2\2\u012e\5\3\2\2\2\u012f\u0130\7\177\2\2\u0130\7"+ - "\3\2\2\2\u0131\u0132\7]\2\2\u0132\t\3\2\2\2\u0133\u0134\7_\2\2\u0134\13"+ - "\3\2\2\2\u0135\u0136\7*\2\2\u0136\r\3\2\2\2\u0137\u0138\7+\2\2\u0138\17"+ - "\3\2\2\2\u0139\u013a\7=\2\2\u013a\21\3\2\2\2\u013b\u013c\7<\2\2\u013c"+ - "\23\3\2\2\2\u013d\u013e\7.\2\2\u013e\25\3\2\2\2\u013f\u0140\7\60\2\2\u0140"+ - "\u0141\7\60\2\2\u0141\27\3\2\2\2\u0142\u0143\7A\2\2\u0143\31\3\2\2\2\u0144"+ - "\u0145\7\60\2\2\u0145\33\3\2\2\2\u0146\u0147\7/\2\2\u0147\u0148\7@\2\2"+ - "\u0148\35\3\2\2\2\u0149\u014a\7-\2\2\u014a\37\3\2\2\2\u014b\u014c\7/\2"+ - "\2\u014c!\3\2\2\2\u014d\u014e\7,\2\2\u014e#\3\2\2\2\u014f\u0150\7\61\2"+ - "\2\u0150%\3\2\2\2\u0151\u0152\7\'\2\2\u0152\'\3\2\2\2\u0153\u0154\7-\2"+ - "\2\u0154\u0155\7-\2\2\u0155)\3\2\2\2\u0156\u0157\7/\2\2\u0157\u0158\7"+ - "/\2\2\u0158+\3\2\2\2\u0159\u015a\7(\2\2\u015a-\3\2\2\2\u015b\u015c\7\u0080"+ - "\2\2\u015c/\3\2\2\2\u015d\u015e\7`\2\2\u015e\61\3\2\2\2\u015f\u0160\7"+ - "~\2\2\u0160\63\3\2\2\2\u0161\u0162\7>\2\2\u0162\u0163\7>\2\2\u0163\65"+ + "\66\3\66\3\66\3\66\3\66\3\66\3\67\3\67\3\67\3\67\3\67\38\38\38\38\38\3"+ + "8\39\39\39\39\39\39\39\3:\3:\3:\3:\3:\3:\3:\3:\3:\3;\3;\3;\3;\3;\3;\3"+ + ";\3;\3;\3;\3<\3<\3<\3<\3<\3<\3<\3<\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3=\3"+ + "=\3=\3=\3=\3=\3=\3=\3=\3=\5=\u0257\n=\3>\3>\3>\3?\3?\3?\3?\3?\3@\3@\3"+ + "@\3@\3@\3@\3A\3A\3A\3B\3B\3B\3B\3C\3C\3C\3C\3C\3C\3C\3D\3D\3D\3D\3D\3"+ + "D\3D\3E\3E\3E\3E\3E\3E\3F\3F\3F\3F\3F\3F\3F\3F\3F\3G\3G\3G\3G\3G\3G\3"+ + "H\3H\3H\3H\3H\3H\3H\3H\3I\3I\3I\3I\3I\3J\3J\3J\3J\3J\3J\3J\3K\3K\3K\3"+ + "K\3K\3L\3L\3L\3L\3L\3L\3L\3M\3M\3M\3M\3M\3M\3M\3N\3N\3N\3N\3N\3N\3N\3"+ + "N\3O\3O\3O\3O\3O\3O\3O\3O\3O\3P\3P\3P\3P\3P\3Q\3Q\3Q\3Q\3Q\3Q\3Q\3Q\3"+ + "Q\3R\3R\3R\3R\3R\3R\3S\3S\3S\3S\3S\3S\3S\3T\3T\3U\3U\3U\3U\3U\3U\3U\3"+ + "U\3U\3U\3U\3U\3U\3U\5U\u02f4\nU\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3"+ + "V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3V\3"+ + "V\3V\5V\u031b\nV\3W\3W\3W\3W\3W\3W\3W\3W\3W\5W\u0326\nW\3X\3X\3X\3X\7"+ + "X\u032c\nX\fX\16X\u032f\13X\3X\3X\3X\3Y\3Y\3Y\3Y\7Y\u0338\nY\fY\16Y\u033b"+ + "\13Y\3Y\3Y\5Y\u033f\nY\3Y\3Y\5Y\u0343\nY\5Y\u0345\nY\3Y\5Y\u0348\nY\3"+ + "Y\3Y\3Z\3Z\3Z\3Z\5Z\u0350\nZ\3Z\3Z\3[\3[\5[\u0356\n[\3\\\3\\\3\\\5\\\u035b"+ + "\n\\\3]\3]\3]\3]\3]\5]\u0362\n]\3]\7]\u0365\n]\f]\16]\u0368\13]\3]\3]"+ + "\6]\u036c\n]\r]\16]\u036d\3^\7^\u0371\n^\f^\16^\u0374\13^\3^\3^\6^\u0378"+ + "\n^\r^\16^\u0379\3_\3_\3_\3_\3_\5_\u0381\n_\3_\7_\u0384\n_\f_\16_\u0387"+ + "\13_\3_\3_\6_\u038b\n_\r_\16_\u038c\3`\3`\3`\5`\u0392\n`\3`\3`\3`\5`\u0397"+ + "\n`\3a\3a\3a\6a\u039c\na\ra\16a\u039d\3a\3a\6a\u03a2\na\ra\16a\u03a3\5"+ + "a\u03a6\na\3b\6b\u03a9\nb\rb\16b\u03aa\3c\3c\3c\3c\3c\5c\u03b2\nc\3c\6"+ + "c\u03b5\nc\rc\16c\u03b6\3d\3d\3e\3e\3f\3f\3g\3g\7g\u03c1\ng\fg\16g\u03c4"+ + "\13g\3g\3g\3h\3h\3i\3i\3j\6j\u03cd\nj\rj\16j\u03ce\3j\3j\3k\3k\3k\3k\7"+ + "k\u03d7\nk\fk\16k\u03da\13k\3k\3k\3l\3l\3l\3l\7l\u03e2\nl\fl\16l\u03e5"+ + "\13l\3l\3l\3l\3l\3l\3m\3m\3m\3m\3m\3m\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\3n\3n\3n\3n\3n\3n\3"+ + "n\3n\3n\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\3n\3n\3n\3n\3n\3n\3"+ + "n\3n\3n\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\3n\3n\3n\3n\3n\3n\3"+ + "n\3n\3n\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\3n\3n\3n\3n\3n\3n\3"+ + "n\3n\3n\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\3n\3n\3n\3n\3n\3n\3"+ + "n\3n\3n\3n\3n\5n\u04d0\nn\3o\3o\3p\3p\3q\3q\3r\3r\3s\3s\3t\3t\3u\3u\3"+ + "v\3v\3w\3w\3w\3x\3x\3x\3y\3y\3z\3z\3{\3{\3|\3|\3}\3}\3~\3~\3\177\3\177"+ + "\3\177\3\u0080\3\u0080\3\u0080\3\u0081\3\u0081\5\u0081\u04fc\n\u0081\3"+ + "\u0082\3\u0082\3\u0082\5\u0082\u0501\n\u0082\3\u0083\3\u0083\7\u0083\u0505"+ + "\n\u0083\f\u0083\16\u0083\u0508\13\u0083\3\u0083\3\u0083\6\u0083\u050c"+ + "\n\u0083\r\u0083\16\u0083\u050d\3\u0084\7\u0084\u0511\n\u0084\f\u0084"+ + "\16\u0084\u0514\13\u0084\3\u0084\3\u0084\6\u0084\u0518\n\u0084\r\u0084"+ + "\16\u0084\u0519\3\u0085\3\u0085\7\u0085\u051e\n\u0085\f\u0085\16\u0085"+ + "\u0521\13\u0085\3\u0085\3\u0085\6\u0085\u0525\n\u0085\r\u0085\16\u0085"+ + "\u0526\3\u0086\3\u0086\3\u0086\5\u0086\u052c\n\u0086\3\u0087\3\u0087\6"+ + "\u0087\u0530\n\u0087\r\u0087\16\u0087\u0531\3\u0088\6\u0088\u0535\n\u0088"+ + "\r\u0088\16\u0088\u0536\3\u0089\3\u0089\6\u0089\u053b\n\u0089\r\u0089"+ + "\16\u0089\u053c\3\u008a\3\u008a\3\u008b\3\u008b\3\u008c\3\u008c\3\u008d"+ + "\3\u008d\3\u008d\3\u008d\5\u008d\u0549\n\u008d\3\u008d\3\u008d\3\u008e"+ + "\3\u008e\6\u008e\u054f\n\u008e\r\u008e\16\u008e\u0550\3\u008f\3\u008f"+ + "\7\u008f\u0555\n\u008f\f\u008f\16\u008f\u0558\13\u008f\3\u0090\3\u0090"+ + "\7\u0090\u055c\n\u0090\f\u0090\16\u0090\u055f\13\u0090\3\u0091\3\u0091"+ + "\3\u0092\3\u0092\3\u0093\6\u0093\u0566\n\u0093\r\u0093\16\u0093\u0567"+ + "\3\u0093\3\u0093\3\u0094\3\u0094\3\u0094\3\u0094\7\u0094\u0570\n\u0094"+ + "\f\u0094\16\u0094\u0573\13\u0094\3\u0094\3\u0094\3\u0095\3\u0095\3\u0095"+ + "\3\u0095\7\u0095\u057b\n\u0095\f\u0095\16\u0095\u057e\13\u0095\3\u0095"+ + "\3\u0095\3\u0095\3\u0095\3\u0095\5\u032d\u03e3\u057c\2\u0096\4\4\6\5\b"+ + "\6\n\7\f\b\16\t\20\n\22\13\24\f\26\r\30\16\32\17\34\20\36\21 \22\"\23"+ + "$\24&\25(\26*\27,\30.\31\60\32\62\33\64\34\66\358\36:\37< >!@\"B#D$F%"+ + "H&J\'L(N)P*R+T,V-X.Z/\\\60^\61`\62b\63d\64f\65h\66j\67l8n9p:r;t<v=x>z"+ + "?|@~A\u0080B\u0082C\u0084D\u0086E\u0088F\u008aG\u008cH\u008eI\u0090J\u0092"+ + "K\u0094L\u0096M\u0098N\u009aO\u009cP\u009eQ\u00a0R\u00a2S\u00a4T\u00a6"+ + "U\u00a8V\u00aaW\u00acX\u00aeY\u00b0Z\u00b2[\u00b4\\\u00b6]\u00b8^\u00ba"+ + "_\u00bc`\u00bea\u00c0b\u00c2c\u00c4d\u00c6e\u00c8\2\u00ca\2\u00cc\2\u00ce"+ + "f\u00d0\2\u00d2\2\u00d4g\u00d6h\u00d8i\u00daj\u00dck\u00del\u00e0m\u00e2"+ + "n\u00e4o\u00e6p\u00e8q\u00ear\u00ecs\u00eet\u00f0u\u00f2v\u00f4w\u00f6"+ + "x\u00f8y\u00faz\u00fc{\u00fe|\u0100}\u0102~\u0104\177\u0106\u0080\u0108"+ + "\u0081\u010a\u0082\u010c\u0083\u010e\u0084\u0110\u0085\u0112\u0086\u0114"+ + "\2\u0116\2\u0118\2\u011a\u0087\u011c\u0088\u011e\u0089\u0120\u008a\u0122"+ + "\2\u0124\2\u0126\u008b\u0128\u008c\u012a\u008d\4\2\3\23\3\2$$\3\2||\4"+ + "\2rruu\4\2ooww\7\2$$))hhpptt\3\2))\4\2uuww\7\2dfkknnuuyy\4\2DDdd\3\2\62"+ + "\63\3\2\62;\5\2\62;CHch\5\2C\\aac|\6\2\62;C\\aac|\6\2\13\f\17\17\"\"\u00a2"+ + "\u00a2\4\2\f\f\17\17\4\2--//\2\u060e\2\4\3\2\2\2\2\6\3\2\2\2\2\b\3\2\2"+ + "\2\2\n\3\2\2\2\2\f\3\2\2\2\2\16\3\2\2\2\2\20\3\2\2\2\2\22\3\2\2\2\2\24"+ + "\3\2\2\2\2\26\3\2\2\2\2\30\3\2\2\2\2\32\3\2\2\2\2\34\3\2\2\2\2\36\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\60\3\2\2\2\2\62\3\2\2\2\2\64\3\2\2\2\2\66\3"+ + "\2\2\2\28\3\2\2\2\2:\3\2\2\2\2<\3\2\2\2\2>\3\2\2\2\2@\3\2\2\2\2B\3\2\2"+ + "\2\2D\3\2\2\2\2F\3\2\2\2\2H\3\2\2\2\2J\3\2\2\2\2L\3\2\2\2\2N\3\2\2\2\2"+ + "P\3\2\2\2\2R\3\2\2\2\2T\3\2\2\2\2V\3\2\2\2\2X\3\2\2\2\2Z\3\2\2\2\2\\\3"+ + "\2\2\2\2^\3\2\2\2\2`\3\2\2\2\2b\3\2\2\2\2d\3\2\2\2\2f\3\2\2\2\2h\3\2\2"+ + "\2\2j\3\2\2\2\2l\3\2\2\2\2n\3\2\2\2\2p\3\2\2\2\2r\3\2\2\2\2t\3\2\2\2\2"+ + "v\3\2\2\2\2x\3\2\2\2\2z\3\2\2\2\2|\3\2\2\2\2~\3\2\2\2\2\u0080\3\2\2\2"+ + "\2\u0082\3\2\2\2\2\u0084\3\2\2\2\2\u0086\3\2\2\2\2\u0088\3\2\2\2\2\u008a"+ + "\3\2\2\2\2\u008c\3\2\2\2\2\u008e\3\2\2\2\2\u0090\3\2\2\2\2\u0092\3\2\2"+ + "\2\2\u0094\3\2\2\2\2\u0096\3\2\2\2\2\u0098\3\2\2\2\2\u009a\3\2\2\2\2\u009c"+ + "\3\2\2\2\2\u009e\3\2\2\2\2\u00a0\3\2\2\2\2\u00a2\3\2\2\2\2\u00a4\3\2\2"+ + "\2\2\u00a6\3\2\2\2\2\u00a8\3\2\2\2\2\u00aa\3\2\2\2\2\u00ac\3\2\2\2\2\u00ae"+ + "\3\2\2\2\2\u00b0\3\2\2\2\2\u00b2\3\2\2\2\2\u00b4\3\2\2\2\2\u00b6\3\2\2"+ + "\2\2\u00b8\3\2\2\2\2\u00ba\3\2\2\2\2\u00bc\3\2\2\2\2\u00be\3\2\2\2\2\u00c0"+ + "\3\2\2\2\2\u00c2\3\2\2\2\2\u00c4\3\2\2\2\2\u00c6\3\2\2\2\2\u00ce\3\2\2"+ + "\2\2\u00d4\3\2\2\2\2\u00d6\3\2\2\2\2\u00d8\3\2\2\2\3\u00da\3\2\2\2\3\u00dc"+ + "\3\2\2\2\3\u00de\3\2\2\2\3\u00e0\3\2\2\2\3\u00e2\3\2\2\2\3\u00e4\3\2\2"+ + "\2\3\u00e6\3\2\2\2\3\u00e8\3\2\2\2\3\u00ea\3\2\2\2\3\u00ec\3\2\2\2\3\u00ee"+ + "\3\2\2\2\3\u00f0\3\2\2\2\3\u00f2\3\2\2\2\3\u00f4\3\2\2\2\3\u00f6\3\2\2"+ + "\2\3\u00f8\3\2\2\2\3\u00fa\3\2\2\2\3\u00fc\3\2\2\2\3\u00fe\3\2\2\2\3\u0100"+ + "\3\2\2\2\3\u0102\3\2\2\2\3\u0104\3\2\2\2\3\u0106\3\2\2\2\3\u0108\3\2\2"+ + "\2\3\u010a\3\2\2\2\3\u010c\3\2\2\2\3\u010e\3\2\2\2\3\u0110\3\2\2\2\3\u0112"+ + "\3\2\2\2\3\u011a\3\2\2\2\3\u011c\3\2\2\2\3\u011e\3\2\2\2\3\u0120\3\2\2"+ + "\2\3\u0126\3\2\2\2\3\u0128\3\2\2\2\3\u012a\3\2\2\2\4\u012c\3\2\2\2\6\u012f"+ + "\3\2\2\2\b\u0131\3\2\2\2\n\u0133\3\2\2\2\f\u0135\3\2\2\2\16\u0137\3\2"+ + "\2\2\20\u0139\3\2\2\2\22\u013b\3\2\2\2\24\u013d\3\2\2\2\26\u013f\3\2\2"+ + "\2\30\u0142\3\2\2\2\32\u0144\3\2\2\2\34\u0146\3\2\2\2\36\u0149\3\2\2\2"+ + " \u014b\3\2\2\2\"\u014d\3\2\2\2$\u014f\3\2\2\2&\u0151\3\2\2\2(\u0153\3"+ + "\2\2\2*\u0156\3\2\2\2,\u0159\3\2\2\2.\u015b\3\2\2\2\60\u015d\3\2\2\2\62"+ + "\u015f\3\2\2\2\64\u0161\3\2\2\2\66\u0164\3\2\2\28\u0167\3\2\2\2:\u016a"+ + "\3\2\2\2<\u016d\3\2\2\2>\u016f\3\2\2\2@\u0172\3\2\2\2B\u0175\3\2\2\2D"+ + "\u0177\3\2\2\2F\u017a\3\2\2\2H\u017d\3\2\2\2J\u0195\3\2\2\2L\u0197\3\2"+ + "\2\2N\u01a0\3\2\2\2P\u01a8\3\2\2\2R\u01b0\3\2\2\2T\u01b8\3\2\2\2V\u01bb"+ + "\3\2\2\2X\u01c2\3\2\2\2Z\u01c7\3\2\2\2\\\u01cb\3\2\2\2^\u01d4\3\2\2\2"+ + "`\u01dd\3\2\2\2b\u01e6\3\2\2\2d\u01ec\3\2\2\2f\u01f3\3\2\2\2h\u01fa\3"+ + "\2\2\2j\u0200\3\2\2\2l\u0209\3\2\2\2n\u0215\3\2\2\2p\u021a\3\2\2\2r\u0220"+ + "\3\2\2\2t\u0227\3\2\2\2v\u0230\3\2\2\2x\u023a\3\2\2\2z\u0256\3\2\2\2|"+ + "\u0258\3\2\2\2~\u025b\3\2\2\2\u0080\u0260\3\2\2\2\u0082\u0266\3\2\2\2"+ + "\u0084\u0269\3\2\2\2\u0086\u026d\3\2\2\2\u0088\u0274\3\2\2\2\u008a\u027b"+ + "\3\2\2\2\u008c\u0281\3\2\2\2\u008e\u028a\3\2\2\2\u0090\u0290\3\2\2\2\u0092"+ + "\u0298\3\2\2\2\u0094\u029d\3\2\2\2\u0096\u02a4\3\2\2\2\u0098\u02a9\3\2"+ + "\2\2\u009a\u02b0\3\2\2\2\u009c\u02b7\3\2\2\2\u009e\u02bf\3\2\2\2\u00a0"+ + "\u02c8\3\2\2\2\u00a2\u02cd\3\2\2\2\u00a4\u02d6\3\2\2\2\u00a6\u02dc\3\2"+ + "\2\2\u00a8\u02e3\3\2\2\2\u00aa\u02f3\3\2\2\2\u00ac\u031a\3\2\2\2\u00ae"+ + "\u0325\3\2\2\2\u00b0\u0327\3\2\2\2\u00b2\u0333\3\2\2\2\u00b4\u034b\3\2"+ + "\2\2\u00b6\u0355\3\2\2\2\u00b8\u035a\3\2\2\2\u00ba\u0361\3\2\2\2\u00bc"+ + "\u0372\3\2\2\2\u00be\u0380\3\2\2\2\u00c0\u0391\3\2\2\2\u00c2\u03a5\3\2"+ + "\2\2\u00c4\u03a8\3\2\2\2\u00c6\u03b1\3\2\2\2\u00c8\u03b8\3\2\2\2\u00ca"+ + "\u03ba\3\2\2\2\u00cc\u03bc\3\2\2\2\u00ce\u03be\3\2\2\2\u00d0\u03c7\3\2"+ + "\2\2\u00d2\u03c9\3\2\2\2\u00d4\u03cc\3\2\2\2\u00d6\u03d2\3\2\2\2\u00d8"+ + "\u03dd\3\2\2\2\u00da\u03eb\3\2\2\2\u00dc\u04cf\3\2\2\2\u00de\u04d1\3\2"+ + "\2\2\u00e0\u04d3\3\2\2\2\u00e2\u04d5\3\2\2\2\u00e4\u04d7\3\2\2\2\u00e6"+ + "\u04d9\3\2\2\2\u00e8\u04db\3\2\2\2\u00ea\u04dd\3\2\2\2\u00ec\u04df\3\2"+ + "\2\2\u00ee\u04e1\3\2\2\2\u00f0\u04e4\3\2\2\2\u00f2\u04e7\3\2\2\2\u00f4"+ + "\u04e9\3\2\2\2\u00f6\u04eb\3\2\2\2\u00f8\u04ed\3\2\2\2\u00fa\u04ef\3\2"+ + "\2\2\u00fc\u04f1\3\2\2\2\u00fe\u04f3\3\2\2\2\u0100\u04f6\3\2\2\2\u0102"+ + "\u04fb\3\2\2\2\u0104\u0500\3\2\2\2\u0106\u0502\3\2\2\2\u0108\u0512\3\2"+ + "\2\2\u010a\u051b\3\2\2\2\u010c\u052b\3\2\2\2\u010e\u052d\3\2\2\2\u0110"+ + "\u0534\3\2\2\2\u0112\u0538\3\2\2\2\u0114\u053e\3\2\2\2\u0116\u0540\3\2"+ + "\2\2\u0118\u0542\3\2\2\2\u011a\u0544\3\2\2\2\u011c\u054c\3\2\2\2\u011e"+ + "\u0552\3\2\2\2\u0120\u0559\3\2\2\2\u0122\u0560\3\2\2\2\u0124\u0562\3\2"+ + "\2\2\u0126\u0565\3\2\2\2\u0128\u056b\3\2\2\2\u012a\u0576\3\2\2\2\u012c"+ + "\u012d\7}\2\2\u012d\u012e\b\2\2\2\u012e\5\3\2\2\2\u012f\u0130\7\177\2"+ + "\2\u0130\7\3\2\2\2\u0131\u0132\7]\2\2\u0132\t\3\2\2\2\u0133\u0134\7_\2"+ + "\2\u0134\13\3\2\2\2\u0135\u0136\7*\2\2\u0136\r\3\2\2\2\u0137\u0138\7+"+ + "\2\2\u0138\17\3\2\2\2\u0139\u013a\7=\2\2\u013a\21\3\2\2\2\u013b\u013c"+ + "\7<\2\2\u013c\23\3\2\2\2\u013d\u013e\7.\2\2\u013e\25\3\2\2\2\u013f\u0140"+ + "\7\60\2\2\u0140\u0141\7\60\2\2\u0141\27\3\2\2\2\u0142\u0143\7A\2\2\u0143"+ + "\31\3\2\2\2\u0144\u0145\7\60\2\2\u0145\33\3\2\2\2\u0146\u0147\7/\2\2\u0147"+ + "\u0148\7@\2\2\u0148\35\3\2\2\2\u0149\u014a\7-\2\2\u014a\37\3\2\2\2\u014b"+ + "\u014c\7/\2\2\u014c!\3\2\2\2\u014d\u014e\7,\2\2\u014e#\3\2\2\2\u014f\u0150"+ + "\7\61\2\2\u0150%\3\2\2\2\u0151\u0152\7\'\2\2\u0152\'\3\2\2\2\u0153\u0154"+ + "\7-\2\2\u0154\u0155\7-\2\2\u0155)\3\2\2\2\u0156\u0157\7/\2\2\u0157\u0158"+ + "\7/\2\2\u0158+\3\2\2\2\u0159\u015a\7(\2\2\u015a-\3\2\2\2\u015b\u015c\7"+ + "\u0080\2\2\u015c/\3\2\2\2\u015d\u015e\7`\2\2\u015e\61\3\2\2\2\u015f\u0160"+ + "\7~\2\2\u0160\63\3\2\2\2\u0161\u0162\7>\2\2\u0162\u0163\7>\2\2\u0163\65"+ "\3\2\2\2\u0164\u0165\7@\2\2\u0165\u0166\7@\2\2\u0166\67\3\2\2\2\u0167"+ "\u0168\7?\2\2\u0168\u0169\7?\2\2\u01699\3\2\2\2\u016a\u016b\7#\2\2\u016b"+ "\u016c\7?\2\2\u016c;\3\2\2\2\u016d\u016e\7>\2\2\u016e=\3\2\2\2\u016f\u0170"+ @@ -500,300 +500,301 @@ public class KickCLexer extends Lexer { "\2\u01fc\u01fd\7k\2\2\u01fd\u01fe\7i\2\2\u01fe\u01ff\7p\2\2\u01ffi\3\2"+ "\2\2\u0200\u0201\7t\2\2\u0201\u0202\7g\2\2\u0202\u0203\7i\2\2\u0203\u0204"+ "\7k\2\2\u0204\u0205\7u\2\2\u0205\u0206\7v\2\2\u0206\u0207\7g\2\2\u0207"+ - "\u0208\7t\2\2\u0208k\3\2\2\2\u0209\u020a\7o\2\2\u020a\u020b\7g\2\2\u020b"+ - "\u020c\7o\2\2\u020c\u020d\7q\2\2\u020d\u020e\7t\2\2\u020e\u020f\7{\2\2"+ - "\u020fm\3\2\2\2\u0210\u0211\7a\2\2\u0211\u0212\7a\2\2\u0212\u0213\7|\2"+ - "\2\u0213\u0214\7r\2\2\u0214o\3\2\2\2\u0215\u0216\7a\2\2\u0216\u0217\7"+ - "a\2\2\u0217\u0218\7o\2\2\u0218\u0219\7g\2\2\u0219\u021a\7o\2\2\u021aq"+ - "\3\2\2\2\u021b\u021c\7k\2\2\u021c\u021d\7p\2\2\u021d\u021e\7n\2\2\u021e"+ - "\u021f\7k\2\2\u021f\u0220\7p\2\2\u0220\u0221\7g\2\2\u0221s\3\2\2\2\u0222"+ - "\u0223\7x\2\2\u0223\u0224\7q\2\2\u0224\u0225\7n\2\2\u0225\u0226\7c\2\2"+ - "\u0226\u0227\7v\2\2\u0227\u0228\7k\2\2\u0228\u0229\7n\2\2\u0229\u022a"+ - "\7g\2\2\u022au\3\2\2\2\u022b\u022c\7k\2\2\u022c\u022d\7p\2\2\u022d\u022e"+ - "\7v\2\2\u022e\u022f\7g\2\2\u022f\u0230\7t\2\2\u0230\u0231\7t\2\2\u0231"+ - "\u0232\7w\2\2\u0232\u0233\7r\2\2\u0233\u0234\7v\2\2\u0234w\3\2\2\2\u0235"+ - "\u0236\7e\2\2\u0236\u0237\7c\2\2\u0237\u0238\7n\2\2\u0238\u0239\7n\2\2"+ - "\u0239\u023a\7k\2\2\u023a\u023b\7p\2\2\u023b\u023c\7i\2\2\u023cy\3\2\2"+ - "\2\u023d\u023e\7a\2\2\u023e\u023f\7a\2\2\u023f\u0240\7u\2\2\u0240\u0241"+ - "\7v\2\2\u0241\u0242\7c\2\2\u0242\u0243\7e\2\2\u0243\u0244\7m\2\2\u0244"+ - "\u0245\7e\2\2\u0245\u0246\7c\2\2\u0246\u0247\7n\2\2\u0247\u0252\7n\2\2"+ - "\u0248\u0249\7a\2\2\u0249\u024a\7a\2\2\u024a\u024b\7r\2\2\u024b\u024c"+ - "\7j\2\2\u024c\u024d\7k\2\2\u024d\u024e\7e\2\2\u024e\u024f\7c\2\2\u024f"+ - "\u0250\7n\2\2\u0250\u0252\7n\2\2\u0251\u023d\3\2\2\2\u0251\u0248\3\2\2"+ - "\2\u0252{\3\2\2\2\u0253\u0254\7k\2\2\u0254\u0255\7h\2\2\u0255}\3\2\2\2"+ - "\u0256\u0257\7g\2\2\u0257\u0258\7n\2\2\u0258\u0259\7u\2\2\u0259\u025a"+ - "\7g\2\2\u025a\177\3\2\2\2\u025b\u025c\7y\2\2\u025c\u025d\7j\2\2\u025d"+ - "\u025e\7k\2\2\u025e\u025f\7n\2\2\u025f\u0260\7g\2\2\u0260\u0081\3\2\2"+ - "\2\u0261\u0262\7f\2\2\u0262\u0263\7q\2\2\u0263\u0083\3\2\2\2\u0264\u0265"+ - "\7h\2\2\u0265\u0266\7q\2\2\u0266\u0267\7t\2\2\u0267\u0085\3\2\2\2\u0268"+ - "\u0269\7u\2\2\u0269\u026a\7y\2\2\u026a\u026b\7k\2\2\u026b\u026c\7v\2\2"+ - "\u026c\u026d\7e\2\2\u026d\u026e\7j\2\2\u026e\u0087\3\2\2\2\u026f\u0270"+ - "\7t\2\2\u0270\u0271\7g\2\2\u0271\u0272\7v\2\2\u0272\u0273\7w\2\2\u0273"+ - "\u0274\7t\2\2\u0274\u0275\7p\2\2\u0275\u0089\3\2\2\2\u0276\u0277\7d\2"+ - "\2\u0277\u0278\7t\2\2\u0278\u0279\7g\2\2\u0279\u027a\7c\2\2\u027a\u027b"+ - "\7m\2\2\u027b\u008b\3\2\2\2\u027c\u027d\7e\2\2\u027d\u027e\7q\2\2\u027e"+ - "\u027f\7p\2\2\u027f\u0280\7v\2\2\u0280\u0281\7k\2\2\u0281\u0282\7p\2\2"+ - "\u0282\u0283\7w\2\2\u0283\u0284\7g\2\2\u0284\u008d\3\2\2\2\u0285\u0286"+ - "\7c\2\2\u0286\u0287\7u\2\2\u0287\u0288\7o\2\2\u0288\u0289\3\2\2\2\u0289"+ - "\u028a\bG\4\2\u028a\u008f\3\2\2\2\u028b\u028c\7f\2\2\u028c\u028d\7g\2"+ - "\2\u028d\u028e\7h\2\2\u028e\u028f\7c\2\2\u028f\u0290\7w\2\2\u0290\u0291"+ - "\7n\2\2\u0291\u0292\7v\2\2\u0292\u0091\3\2\2\2\u0293\u0294\7e\2\2\u0294"+ - "\u0295\7c\2\2\u0295\u0296\7u\2\2\u0296\u0297\7g\2\2\u0297\u0093\3\2\2"+ - "\2\u0298\u0299\7u\2\2\u0299\u029a\7v\2\2\u029a\u029b\7t\2\2\u029b\u029c"+ - "\7w\2\2\u029c\u029d\7e\2\2\u029d\u029e\7v\2\2\u029e\u0095\3\2\2\2\u029f"+ - "\u02a0\7g\2\2\u02a0\u02a1\7p\2\2\u02a1\u02a2\7w\2\2\u02a2\u02a3\7o\2\2"+ - "\u02a3\u0097\3\2\2\2\u02a4\u02a5\7u\2\2\u02a5\u02a6\7k\2\2\u02a6\u02a7"+ - "\7|\2\2\u02a7\u02a8\7g\2\2\u02a8\u02a9\7q\2\2\u02a9\u02aa\7h\2\2\u02aa"+ - "\u0099\3\2\2\2\u02ab\u02ac\7v\2\2\u02ac\u02ad\7{\2\2\u02ad\u02ae\7r\2"+ - "\2\u02ae\u02af\7g\2\2\u02af\u02b0\7k\2\2\u02b0\u02b1\7f\2\2\u02b1\u009b"+ - "\3\2\2\2\u02b2\u02b3\7m\2\2\u02b3\u02b4\7k\2\2\u02b4\u02b5\7e\2\2\u02b5"+ - "\u02b6\7m\2\2\u02b6\u02b7\7c\2\2\u02b7\u02b8\7u\2\2\u02b8\u02b9\7o\2\2"+ - "\u02b9\u009d\3\2\2\2\u02ba\u02bb\7t\2\2\u02bb\u02bc\7g\2\2\u02bc\u02bd"+ - "\7u\2\2\u02bd\u02be\7q\2\2\u02be\u02bf\7w\2\2\u02bf\u02c0\7t\2\2\u02c0"+ - "\u02c1\7e\2\2\u02c1\u02c2\7g\2\2\u02c2\u009f\3\2\2\2\u02c3\u02c4\7w\2"+ - "\2\u02c4\u02c5\7u\2\2\u02c5\u02c6\7g\2\2\u02c6\u02c7\7u\2\2\u02c7\u00a1"+ - "\3\2\2\2\u02c8\u02c9\7e\2\2\u02c9\u02ca\7n\2\2\u02ca\u02cb\7q\2\2\u02cb"+ - "\u02cc\7d\2\2\u02cc\u02cd\7d\2\2\u02cd\u02ce\7g\2\2\u02ce\u02cf\7t\2\2"+ - "\u02cf\u02d0\7u\2\2\u02d0\u00a3\3\2\2\2\u02d1\u02d2\7d\2\2\u02d2\u02d3"+ - "\7{\2\2\u02d3\u02d4\7v\2\2\u02d4\u02d5\7g\2\2\u02d5\u02d6\7u\2\2\u02d6"+ - "\u00a5\3\2\2\2\u02d7\u02d8\7e\2\2\u02d8\u02d9\7{\2\2\u02d9\u02da\7e\2"+ - "\2\u02da\u02db\7n\2\2\u02db\u02dc\7g\2\2\u02dc\u02dd\7u\2\2\u02dd\u00a7"+ - "\3\2\2\2\u02de\u02df\7#\2\2\u02df\u00a9\3\2\2\2\u02e0\u02e1\7u\2\2\u02e1"+ - "\u02e2\7k\2\2\u02e2\u02e3\7i\2\2\u02e3\u02e4\7p\2\2\u02e4\u02e5\7g\2\2"+ - "\u02e5\u02ef\7f\2\2\u02e6\u02e7\7w\2\2\u02e7\u02e8\7p\2\2\u02e8\u02e9"+ - "\7u\2\2\u02e9\u02ea\7k\2\2\u02ea\u02eb\7i\2\2\u02eb\u02ec\7p\2\2\u02ec"+ - "\u02ed\7g\2\2\u02ed\u02ef\7f\2\2\u02ee\u02e0\3\2\2\2\u02ee\u02e6\3\2\2"+ - "\2\u02ef\u00ab\3\2\2\2\u02f0\u02f1\7d\2\2\u02f1\u02f2\7{\2\2\u02f2\u02f3"+ - "\7v\2\2\u02f3\u0316\7g\2\2\u02f4\u02f5\7y\2\2\u02f5\u02f6\7q\2\2\u02f6"+ - "\u02f7\7t\2\2\u02f7\u0316\7f\2\2\u02f8\u02f9\7f\2\2\u02f9\u02fa\7y\2\2"+ - "\u02fa\u02fb\7q\2\2\u02fb\u02fc\7t\2\2\u02fc\u0316\7f\2\2\u02fd\u02fe"+ - "\7d\2\2\u02fe\u02ff\7q\2\2\u02ff\u0300\7q\2\2\u0300\u0316\7n\2\2\u0301"+ - "\u0302\7e\2\2\u0302\u0303\7j\2\2\u0303\u0304\7c\2\2\u0304\u0316\7t\2\2"+ - "\u0305\u0306\7u\2\2\u0306\u0307\7j\2\2\u0307\u0308\7q\2\2\u0308\u0309"+ - "\7t\2\2\u0309\u0316\7v\2\2\u030a\u030b\7k\2\2\u030b\u030c\7p\2\2\u030c"+ - "\u0316\7v\2\2\u030d\u030e\7n\2\2\u030e\u030f\7q\2\2\u030f\u0310\7p\2\2"+ - "\u0310\u0316\7i\2\2\u0311\u0312\7x\2\2\u0312\u0313\7q\2\2\u0313\u0314"+ - "\7k\2\2\u0314\u0316\7f\2\2\u0315\u02f0\3\2\2\2\u0315\u02f4\3\2\2\2\u0315"+ - "\u02f8\3\2\2\2\u0315\u02fd\3\2\2\2\u0315\u0301\3\2\2\2\u0315\u0305\3\2"+ - "\2\2\u0315\u030a\3\2\2\2\u0315\u030d\3\2\2\2\u0315\u0311\3\2\2\2\u0316"+ - "\u00ad\3\2\2\2\u0317\u0318\7v\2\2\u0318\u0319\7t\2\2\u0319\u031a\7w\2"+ - "\2\u031a\u0321\7g\2\2\u031b\u031c\7h\2\2\u031c\u031d\7c\2\2\u031d\u031e"+ - "\7n\2\2\u031e\u031f\7u\2\2\u031f\u0321\7g\2\2\u0320\u0317\3\2\2\2\u0320"+ - "\u031b\3\2\2\2\u0321\u00af\3\2\2\2\u0322\u0323\7}\2\2\u0323\u0324\7}\2"+ - "\2\u0324\u0328\3\2\2\2\u0325\u0327\13\2\2\2\u0326\u0325\3\2\2\2\u0327"+ - "\u032a\3\2\2\2\u0328\u0329\3\2\2\2\u0328\u0326\3\2\2\2\u0329\u032b\3\2"+ - "\2\2\u032a\u0328\3\2\2\2\u032b\u032c\7\177\2\2\u032c\u032d\7\177\2\2\u032d"+ - "\u00b1\3\2\2\2\u032e\u0334\7$\2\2\u032f\u0330\7^\2\2\u0330\u0333\7$\2"+ - "\2\u0331\u0333\n\2\2\2\u0332\u032f\3\2\2\2\u0332\u0331\3\2\2\2\u0333\u0336"+ - "\3\2\2\2\u0334\u0332\3\2\2\2\u0334\u0335\3\2\2\2\u0335\u0337\3\2\2\2\u0336"+ - "\u0334\3\2\2\2\u0337\u0339\7$\2\2\u0338\u033a\t\3\2\2\u0339\u0338\3\2"+ - "\2\2\u0339\u033a\3\2\2\2\u033a\u033f\3\2\2\2\u033b\u033d\t\4\2\2\u033c"+ - "\u033e\t\5\2\2\u033d\u033c\3\2\2\2\u033d\u033e\3\2\2\2\u033e\u0340\3\2"+ - "\2\2\u033f\u033b\3\2\2\2\u033f\u0340\3\2\2\2\u0340\u0342\3\2\2\2\u0341"+ - "\u0343\t\3\2\2\u0342\u0341\3\2\2\2\u0342\u0343\3\2\2\2\u0343\u0344\3\2"+ - "\2\2\u0344\u0345\bY\5\2\u0345\u00b3\3\2\2\2\u0346\u034a\7)\2\2\u0347\u0348"+ - "\7^\2\2\u0348\u034b\t\6\2\2\u0349\u034b\n\7\2\2\u034a\u0347\3\2\2\2\u034a"+ - "\u0349\3\2\2\2\u034b\u034c\3\2\2\2\u034c\u034d\7)\2\2\u034d\u00b5\3\2"+ - "\2\2\u034e\u0351\5\u00b8\\\2\u034f\u0351\5\u00c0`\2\u0350\u034e\3\2\2"+ - "\2\u0350\u034f\3\2\2\2\u0351\u00b7\3\2\2\2\u0352\u0356\5\u00ba]\2\u0353"+ - "\u0356\5\u00bc^\2\u0354\u0356\5\u00be_\2\u0355\u0352\3\2\2\2\u0355\u0353"+ - "\3\2\2\2\u0355\u0354\3\2\2\2\u0356\u00b9\3\2\2\2\u0357\u035d\7\'\2\2\u0358"+ - "\u0359\7\62\2\2\u0359\u035d\7d\2\2\u035a\u035b\7\62\2\2\u035b\u035d\7"+ - "D\2\2\u035c\u0357\3\2\2\2\u035c\u0358\3\2\2\2\u035c\u035a\3\2\2\2\u035d"+ - "\u0361\3\2\2\2\u035e\u0360\5\u00c8d\2\u035f\u035e\3\2\2\2\u0360\u0363"+ - "\3\2\2\2\u0361\u035f\3\2\2\2\u0361\u0362\3\2\2\2\u0362\u0364\3\2\2\2\u0363"+ - "\u0361\3\2\2\2\u0364\u0366\7\60\2\2\u0365\u0367\5\u00c8d\2\u0366\u0365"+ - "\3\2\2\2\u0367\u0368\3\2\2\2\u0368\u0366\3\2\2\2\u0368\u0369\3\2\2\2\u0369"+ - "\u00bb\3\2\2\2\u036a\u036c\5\u00cae\2\u036b\u036a\3\2\2\2\u036c\u036f"+ - "\3\2\2\2\u036d\u036b\3\2\2\2\u036d\u036e\3\2\2\2\u036e\u0370\3\2\2\2\u036f"+ - "\u036d\3\2\2\2\u0370\u0372\7\60\2\2\u0371\u0373\5\u00cae\2\u0372\u0371"+ - "\3\2\2\2\u0373\u0374\3\2\2\2\u0374\u0372\3\2\2\2\u0374\u0375\3\2\2\2\u0375"+ - "\u00bd\3\2\2\2\u0376\u037c\7&\2\2\u0377\u0378\7\62\2\2\u0378\u037c\7z"+ - "\2\2\u0379\u037a\7\62\2\2\u037a\u037c\7Z\2\2\u037b\u0376\3\2\2\2\u037b"+ - "\u0377\3\2\2\2\u037b\u0379\3\2\2\2\u037c\u0380\3\2\2\2\u037d\u037f\5\u00cc"+ - "f\2\u037e\u037d\3\2\2\2\u037f\u0382\3\2\2\2\u0380\u037e\3\2\2\2\u0380"+ - "\u0381\3\2\2\2\u0381\u0383\3\2\2\2\u0382\u0380\3\2\2\2\u0383\u0385\7\60"+ - "\2\2\u0384\u0386\5\u00ccf\2\u0385\u0384\3\2\2\2\u0386\u0387\3\2\2\2\u0387"+ - "\u0385\3\2\2\2\u0387\u0388\3\2\2\2\u0388\u00bf\3\2\2\2\u0389\u038d\5\u00c4"+ - "b\2\u038a\u038d\5\u00c6c\2\u038b\u038d\5\u00c2a\2\u038c\u0389\3\2\2\2"+ - "\u038c\u038a\3\2\2\2\u038c\u038b\3\2\2\2\u038d\u0391\3\2\2\2\u038e\u038f"+ - "\t\b\2\2\u038f\u0392\t\t\2\2\u0390\u0392\7n\2\2\u0391\u038e\3\2\2\2\u0391"+ - "\u0390\3\2\2\2\u0391\u0392\3\2\2\2\u0392\u00c1\3\2\2\2\u0393\u0394\7\62"+ - "\2\2\u0394\u0396\t\n\2\2\u0395\u0397\5\u00c8d\2\u0396\u0395\3\2\2\2\u0397"+ - "\u0398\3\2\2\2\u0398\u0396\3\2\2\2\u0398\u0399\3\2\2\2\u0399\u03a1\3\2"+ - "\2\2\u039a\u039c\7\'\2\2\u039b\u039d\5\u00c8d\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\u03a1\3\2"+ - "\2\2\u03a0\u0393\3\2\2\2\u03a0\u039a\3\2\2\2\u03a1\u00c3\3\2\2\2\u03a2"+ - "\u03a4\5\u00cae\2\u03a3\u03a2\3\2\2\2\u03a4\u03a5\3\2\2\2\u03a5\u03a3"+ - "\3\2\2\2\u03a5\u03a6\3\2\2\2\u03a6\u00c5\3\2\2\2\u03a7\u03ad\7&\2\2\u03a8"+ - "\u03a9\7\62\2\2\u03a9\u03ad\7z\2\2\u03aa\u03ab\7\62\2\2\u03ab\u03ad\7"+ - "Z\2\2\u03ac\u03a7\3\2\2\2\u03ac\u03a8\3\2\2\2\u03ac\u03aa\3\2\2\2\u03ad"+ - "\u03af\3\2\2\2\u03ae\u03b0\5\u00ccf\2\u03af\u03ae\3\2\2\2\u03b0\u03b1"+ - "\3\2\2\2\u03b1\u03af\3\2\2\2\u03b1\u03b2\3\2\2\2\u03b2\u00c7\3\2\2\2\u03b3"+ - "\u03b4\t\13\2\2\u03b4\u00c9\3\2\2\2\u03b5\u03b6\t\f\2\2\u03b6\u00cb\3"+ - "\2\2\2\u03b7\u03b8\t\r\2\2\u03b8\u00cd\3\2\2\2\u03b9\u03bd\5\u00d0h\2"+ - "\u03ba\u03bc\5\u00d2i\2\u03bb\u03ba\3\2\2\2\u03bc\u03bf\3\2\2\2\u03bd"+ - "\u03bb\3\2\2\2\u03bd\u03be\3\2\2\2\u03be\u03c0\3\2\2\2\u03bf\u03bd\3\2"+ - "\2\2\u03c0\u03c1\bg\6\2\u03c1\u00cf\3\2\2\2\u03c2\u03c3\t\16\2\2\u03c3"+ - "\u00d1\3\2\2\2\u03c4\u03c5\t\17\2\2\u03c5\u00d3\3\2\2\2\u03c6\u03c8\t"+ - "\20\2\2\u03c7\u03c6\3\2\2\2\u03c8\u03c9\3\2\2\2\u03c9\u03c7\3\2\2\2\u03c9"+ - "\u03ca\3\2\2\2\u03ca\u03cb\3\2\2\2\u03cb\u03cc\bj\7\2\u03cc\u00d5\3\2"+ - "\2\2\u03cd\u03ce\7\61\2\2\u03ce\u03cf\7\61\2\2\u03cf\u03d3\3\2\2\2\u03d0"+ - "\u03d2\n\21\2\2\u03d1\u03d0\3\2\2\2\u03d2\u03d5\3\2\2\2\u03d3\u03d1\3"+ - "\2\2\2\u03d3\u03d4\3\2\2\2\u03d4\u03d6\3\2\2\2\u03d5\u03d3\3\2\2\2\u03d6"+ - "\u03d7\bk\b\2\u03d7\u00d7\3\2\2\2\u03d8\u03d9\7\61\2\2\u03d9\u03da\7,"+ - "\2\2\u03da\u03de\3\2\2\2\u03db\u03dd\13\2\2\2\u03dc\u03db\3\2\2\2\u03dd"+ - "\u03e0\3\2\2\2\u03de\u03df\3\2\2\2\u03de\u03dc\3\2\2\2\u03df\u03e1\3\2"+ - "\2\2\u03e0\u03de\3\2\2\2\u03e1\u03e2\7,\2\2\u03e2\u03e3\7\61\2\2\u03e3"+ - "\u03e4\3\2\2\2\u03e4\u03e5\bl\b\2\u03e5\u00d9\3\2\2\2\u03e6\u03e7\7\60"+ - "\2\2\u03e7\u03e8\7d\2\2\u03e8\u03e9\7{\2\2\u03e9\u03ea\7v\2\2\u03ea\u03eb"+ - "\7g\2\2\u03eb\u00db\3\2\2\2\u03ec\u03ed\7d\2\2\u03ed\u03ee\7t\2\2\u03ee"+ - "\u04cb\7m\2\2\u03ef\u03f0\7q\2\2\u03f0\u03f1\7t\2\2\u03f1\u04cb\7c\2\2"+ - "\u03f2\u03f3\7m\2\2\u03f3\u03f4\7k\2\2\u03f4\u04cb\7n\2\2\u03f5\u03f6"+ - "\7u\2\2\u03f6\u03f7\7n\2\2\u03f7\u04cb\7q\2\2\u03f8\u03f9\7p\2\2\u03f9"+ - "\u03fa\7q\2\2\u03fa\u04cb\7r\2\2\u03fb\u03fc\7c\2\2\u03fc\u03fd\7u\2\2"+ - "\u03fd\u04cb\7n\2\2\u03fe\u03ff\7r\2\2\u03ff\u0400\7j\2\2\u0400\u04cb"+ - "\7r\2\2\u0401\u0402\7c\2\2\u0402\u0403\7p\2\2\u0403\u04cb\7e\2\2\u0404"+ - "\u0405\7d\2\2\u0405\u0406\7r\2\2\u0406\u04cb\7n\2\2\u0407\u0408\7e\2\2"+ - "\u0408\u0409\7n\2\2\u0409\u04cb\7e\2\2\u040a\u040b\7l\2\2\u040b\u040c"+ - "\7u\2\2\u040c\u04cb\7t\2\2\u040d\u040e\7c\2\2\u040e\u040f\7p\2\2\u040f"+ - "\u04cb\7f\2\2\u0410\u0411\7t\2\2\u0411\u0412\7n\2\2\u0412\u04cb\7c\2\2"+ - "\u0413\u0414\7d\2\2\u0414\u0415\7k\2\2\u0415\u04cb\7v\2\2\u0416\u0417"+ - "\7t\2\2\u0417\u0418\7q\2\2\u0418\u04cb\7n\2\2\u0419\u041a\7r\2\2\u041a"+ - "\u041b\7n\2\2\u041b\u04cb\7c\2\2\u041c\u041d\7r\2\2\u041d\u041e\7n\2\2"+ - "\u041e\u04cb\7r\2\2\u041f\u0420\7d\2\2\u0420\u0421\7o\2\2\u0421\u04cb"+ - "\7k\2\2\u0422\u0423\7u\2\2\u0423\u0424\7g\2\2\u0424\u04cb\7e\2\2\u0425"+ - "\u0426\7t\2\2\u0426\u0427\7v\2\2\u0427\u04cb\7k\2\2\u0428\u0429\7g\2\2"+ - "\u0429\u042a\7q\2\2\u042a\u04cb\7t\2\2\u042b\u042c\7u\2\2\u042c\u042d"+ - "\7t\2\2\u042d\u04cb\7g\2\2\u042e\u042f\7n\2\2\u042f\u0430\7u\2\2\u0430"+ - "\u04cb\7t\2\2\u0431\u0432\7r\2\2\u0432\u0433\7j\2\2\u0433\u04cb\7c\2\2"+ - "\u0434\u0435\7c\2\2\u0435\u0436\7n\2\2\u0436\u04cb\7t\2\2\u0437\u0438"+ - "\7l\2\2\u0438\u0439\7o\2\2\u0439\u04cb\7r\2\2\u043a\u043b\7d\2\2\u043b"+ - "\u043c\7x\2\2\u043c\u04cb\7e\2\2\u043d\u043e\7e\2\2\u043e\u043f\7n\2\2"+ - "\u043f\u04cb\7k\2\2\u0440\u0441\7t\2\2\u0441\u0442\7v\2\2\u0442\u04cb"+ - "\7u\2\2\u0443\u0444\7c\2\2\u0444\u0445\7f\2\2\u0445\u04cb\7e\2\2\u0446"+ - "\u0447\7t\2\2\u0447\u0448\7t\2\2\u0448\u04cb\7c\2\2\u0449\u044a\7d\2\2"+ - "\u044a\u044b\7x\2\2\u044b\u04cb\7u\2\2\u044c\u044d\7u\2\2\u044d\u044e"+ - "\7g\2\2\u044e\u04cb\7k\2\2\u044f\u0450\7u\2\2\u0450\u0451\7c\2\2\u0451"+ - "\u04cb\7z\2\2\u0452\u0453\7u\2\2\u0453\u0454\7v\2\2\u0454\u04cb\7{\2\2"+ - "\u0455\u0456\7u\2\2\u0456\u0457\7v\2\2\u0457\u04cb\7c\2\2\u0458\u0459"+ - "\7u\2\2\u0459\u045a\7v\2\2\u045a\u04cb\7z\2\2\u045b\u045c\7f\2\2\u045c"+ - "\u045d\7g\2\2\u045d\u04cb\7{\2\2\u045e\u045f\7v\2\2\u045f\u0460\7z\2\2"+ - "\u0460\u04cb\7c\2\2\u0461\u0462\7z\2\2\u0462\u0463\7c\2\2\u0463\u04cb"+ - "\7c\2\2\u0464\u0465\7d\2\2\u0465\u0466\7e\2\2\u0466\u04cb\7e\2\2\u0467"+ - "\u0468\7c\2\2\u0468\u0469\7j\2\2\u0469\u04cb\7z\2\2\u046a\u046b\7v\2\2"+ - "\u046b\u046c\7{\2\2\u046c\u04cb\7c\2\2\u046d\u046e\7v\2\2\u046e\u046f"+ - "\7z\2\2\u046f\u04cb\7u\2\2\u0470\u0471\7v\2\2\u0471\u0472\7c\2\2\u0472"+ - "\u04cb\7u\2\2\u0473\u0474\7u\2\2\u0474\u0475\7j\2\2\u0475\u04cb\7{\2\2"+ - "\u0476\u0477\7u\2\2\u0477\u0478\7j\2\2\u0478\u04cb\7z\2\2\u0479\u047a"+ - "\7n\2\2\u047a\u047b\7f\2\2\u047b\u04cb\7{\2\2\u047c\u047d\7n\2\2\u047d"+ - "\u047e\7f\2\2\u047e\u04cb\7c\2\2\u047f\u0480\7n\2\2\u0480\u0481\7f\2\2"+ - "\u0481\u04cb\7z\2\2\u0482\u0483\7n\2\2\u0483\u0484\7c\2\2\u0484\u04cb"+ - "\7z\2\2\u0485\u0486\7v\2\2\u0486\u0487\7c\2\2\u0487\u04cb\7{\2\2\u0488"+ - "\u0489\7v\2\2\u0489\u048a\7c\2\2\u048a\u04cb\7z\2\2\u048b\u048c\7d\2\2"+ - "\u048c\u048d\7e\2\2\u048d\u04cb\7u\2\2\u048e\u048f\7e\2\2\u048f\u0490"+ - "\7n\2\2\u0490\u04cb\7x\2\2\u0491\u0492\7v\2\2\u0492\u0493\7u\2\2\u0493"+ - "\u04cb\7z\2\2\u0494\u0495\7n\2\2\u0495\u0496\7c\2\2\u0496\u04cb\7u\2\2"+ - "\u0497\u0498\7e\2\2\u0498\u0499\7r\2\2\u0499\u04cb\7{\2\2\u049a\u049b"+ - "\7e\2\2\u049b\u049c\7o\2\2\u049c\u04cb\7r\2\2\u049d\u049e\7e\2\2\u049e"+ - "\u049f\7r\2\2\u049f\u04cb\7z\2\2\u04a0\u04a1\7f\2\2\u04a1\u04a2\7e\2\2"+ - "\u04a2\u04cb\7r\2\2\u04a3\u04a4\7f\2\2\u04a4\u04a5\7g\2\2\u04a5\u04cb"+ - "\7e\2\2\u04a6\u04a7\7k\2\2\u04a7\u04a8\7p\2\2\u04a8\u04cb\7e\2\2\u04a9"+ - "\u04aa\7c\2\2\u04aa\u04ab\7z\2\2\u04ab\u04cb\7u\2\2\u04ac\u04ad\7d\2\2"+ - "\u04ad\u04ae\7p\2\2\u04ae\u04cb\7g\2\2\u04af\u04b0\7e\2\2\u04b0\u04b1"+ - "\7n\2\2\u04b1\u04cb\7f\2\2\u04b2\u04b3\7u\2\2\u04b3\u04b4\7d\2\2\u04b4"+ - "\u04cb\7e\2\2\u04b5\u04b6\7k\2\2\u04b6\u04b7\7u\2\2\u04b7\u04cb\7e\2\2"+ - "\u04b8\u04b9\7k\2\2\u04b9\u04ba\7p\2\2\u04ba\u04cb\7z\2\2\u04bb\u04bc"+ - "\7d\2\2\u04bc\u04bd\7g\2\2\u04bd\u04cb\7s\2\2\u04be\u04bf\7u\2\2\u04bf"+ - "\u04c0\7g\2\2\u04c0\u04cb\7f\2\2\u04c1\u04c2\7f\2\2\u04c2\u04c3\7g\2\2"+ - "\u04c3\u04cb\7z\2\2\u04c4\u04c5\7k\2\2\u04c5\u04c6\7p\2\2\u04c6\u04cb"+ - "\7{\2\2\u04c7\u04c8\7t\2\2\u04c8\u04c9\7q\2\2\u04c9\u04cb\7t\2\2\u04ca"+ - "\u03ec\3\2\2\2\u04ca\u03ef\3\2\2\2\u04ca\u03f2\3\2\2\2\u04ca\u03f5\3\2"+ - "\2\2\u04ca\u03f8\3\2\2\2\u04ca\u03fb\3\2\2\2\u04ca\u03fe\3\2\2\2\u04ca"+ - "\u0401\3\2\2\2\u04ca\u0404\3\2\2\2\u04ca\u0407\3\2\2\2\u04ca\u040a\3\2"+ - "\2\2\u04ca\u040d\3\2\2\2\u04ca\u0410\3\2\2\2\u04ca\u0413\3\2\2\2\u04ca"+ - "\u0416\3\2\2\2\u04ca\u0419\3\2\2\2\u04ca\u041c\3\2\2\2\u04ca\u041f\3\2"+ - "\2\2\u04ca\u0422\3\2\2\2\u04ca\u0425\3\2\2\2\u04ca\u0428\3\2\2\2\u04ca"+ - "\u042b\3\2\2\2\u04ca\u042e\3\2\2\2\u04ca\u0431\3\2\2\2\u04ca\u0434\3\2"+ - "\2\2\u04ca\u0437\3\2\2\2\u04ca\u043a\3\2\2\2\u04ca\u043d\3\2\2\2\u04ca"+ - "\u0440\3\2\2\2\u04ca\u0443\3\2\2\2\u04ca\u0446\3\2\2\2\u04ca\u0449\3\2"+ - "\2\2\u04ca\u044c\3\2\2\2\u04ca\u044f\3\2\2\2\u04ca\u0452\3\2\2\2\u04ca"+ - "\u0455\3\2\2\2\u04ca\u0458\3\2\2\2\u04ca\u045b\3\2\2\2\u04ca\u045e\3\2"+ - "\2\2\u04ca\u0461\3\2\2\2\u04ca\u0464\3\2\2\2\u04ca\u0467\3\2\2\2\u04ca"+ - "\u046a\3\2\2\2\u04ca\u046d\3\2\2\2\u04ca\u0470\3\2\2\2\u04ca\u0473\3\2"+ - "\2\2\u04ca\u0476\3\2\2\2\u04ca\u0479\3\2\2\2\u04ca\u047c\3\2\2\2\u04ca"+ - "\u047f\3\2\2\2\u04ca\u0482\3\2\2\2\u04ca\u0485\3\2\2\2\u04ca\u0488\3\2"+ - "\2\2\u04ca\u048b\3\2\2\2\u04ca\u048e\3\2\2\2\u04ca\u0491\3\2\2\2\u04ca"+ - "\u0494\3\2\2\2\u04ca\u0497\3\2\2\2\u04ca\u049a\3\2\2\2\u04ca\u049d\3\2"+ - "\2\2\u04ca\u04a0\3\2\2\2\u04ca\u04a3\3\2\2\2\u04ca\u04a6\3\2\2\2\u04ca"+ - "\u04a9\3\2\2\2\u04ca\u04ac\3\2\2\2\u04ca\u04af\3\2\2\2\u04ca\u04b2\3\2"+ - "\2\2\u04ca\u04b5\3\2\2\2\u04ca\u04b8\3\2\2\2\u04ca\u04bb\3\2\2\2\u04ca"+ - "\u04be\3\2\2\2\u04ca\u04c1\3\2\2\2\u04ca\u04c4\3\2\2\2\u04ca\u04c7\3\2"+ - "\2\2\u04cb\u00dd\3\2\2\2\u04cc\u04cd\7%\2\2\u04cd\u00df\3\2\2\2\u04ce"+ - "\u04cf\7<\2\2\u04cf\u00e1\3\2\2\2\u04d0\u04d1\7.\2\2\u04d1\u00e3\3\2\2"+ - "\2\u04d2\u04d3\7*\2\2\u04d3\u00e5\3\2\2\2\u04d4\u04d5\7+\2\2\u04d5\u00e7"+ - "\3\2\2\2\u04d6\u04d7\7]\2\2\u04d7\u00e9\3\2\2\2\u04d8\u04d9\7_\2\2\u04d9"+ - "\u00eb\3\2\2\2\u04da\u04db\7\60\2\2\u04db\u00ed\3\2\2\2\u04dc\u04dd\7"+ - ">\2\2\u04dd\u04de\7>\2\2\u04de\u00ef\3\2\2\2\u04df\u04e0\7@\2\2\u04e0"+ - "\u04e1\7@\2\2\u04e1\u00f1\3\2\2\2\u04e2\u04e3\7-\2\2\u04e3\u00f3\3\2\2"+ - "\2\u04e4\u04e5\7/\2\2\u04e5\u00f5\3\2\2\2\u04e6\u04e7\7>\2\2\u04e7\u00f7"+ - "\3\2\2\2\u04e8\u04e9\7@\2\2\u04e9\u00f9\3\2\2\2\u04ea\u04eb\7,\2\2\u04eb"+ - "\u00fb\3\2\2\2\u04ec\u04ed\7\61\2\2\u04ed\u00fd\3\2\2\2\u04ee\u04ef\7"+ - "}\2\2\u04ef\u04f0\b\177\t\2\u04f0\u00ff\3\2\2\2\u04f1\u04f2\7\177\2\2"+ - "\u04f2\u04f3\b\u0080\n\2\u04f3\u0101\3\2\2\2\u04f4\u04f7\5\u0104\u0082"+ - "\2\u04f5\u04f7\5\u010c\u0086\2\u04f6\u04f4\3\2\2\2\u04f6\u04f5\3\2\2\2"+ - "\u04f7\u0103\3\2\2\2\u04f8\u04fc\5\u0106\u0083\2\u04f9\u04fc\5\u0108\u0084"+ - "\2\u04fa\u04fc\5\u010a\u0085\2\u04fb\u04f8\3\2\2\2\u04fb\u04f9\3\2\2\2"+ - "\u04fb\u04fa\3\2\2\2\u04fc\u0105\3\2\2\2\u04fd\u0501\7\'\2\2\u04fe\u0500"+ - "\5\u0114\u008a\2\u04ff\u04fe\3\2\2\2\u0500\u0503\3\2\2\2\u0501\u04ff\3"+ - "\2\2\2\u0501\u0502\3\2\2\2\u0502\u0504\3\2\2\2\u0503\u0501\3\2\2\2\u0504"+ - "\u0506\7\60\2\2\u0505\u0507\5\u0114\u008a\2\u0506\u0505\3\2\2\2\u0507"+ - "\u0508\3\2\2\2\u0508\u0506\3\2\2\2\u0508\u0509\3\2\2\2\u0509\u0107\3\2"+ - "\2\2\u050a\u050c\5\u0116\u008b\2\u050b\u050a\3\2\2\2\u050c\u050f\3\2\2"+ - "\2\u050d\u050b\3\2\2\2\u050d\u050e\3\2\2\2\u050e\u0510\3\2\2\2\u050f\u050d"+ - "\3\2\2\2\u0510\u0512\7\60\2\2\u0511\u0513\5\u0116\u008b\2\u0512\u0511"+ - "\3\2\2\2\u0513\u0514\3\2\2\2\u0514\u0512\3\2\2\2\u0514\u0515\3\2\2\2\u0515"+ - "\u0109\3\2\2\2\u0516\u051a\7&\2\2\u0517\u0519\5\u0118\u008c\2\u0518\u0517"+ - "\3\2\2\2\u0519\u051c\3\2\2\2\u051a\u0518\3\2\2\2\u051a\u051b\3\2\2\2\u051b"+ - "\u051d\3\2\2\2\u051c\u051a\3\2\2\2\u051d\u051f\7\60\2\2\u051e\u0520\5"+ - "\u0118\u008c\2\u051f\u051e\3\2\2\2\u0520\u0521\3\2\2\2\u0521\u051f\3\2"+ - "\2\2\u0521\u0522\3\2\2\2\u0522\u010b\3\2\2\2\u0523\u0527\5\u0110\u0088"+ - "\2\u0524\u0527\5\u0112\u0089\2\u0525\u0527\5\u010e\u0087\2\u0526\u0523"+ - "\3\2\2\2\u0526\u0524\3\2\2\2\u0526\u0525\3\2\2\2\u0527\u010d\3\2\2\2\u0528"+ - "\u052a\7\'\2\2\u0529\u052b\5\u0114\u008a\2\u052a\u0529\3\2\2\2\u052b\u052c"+ - "\3\2\2\2\u052c\u052a\3\2\2\2\u052c\u052d\3\2\2\2\u052d\u010f\3\2\2\2\u052e"+ - "\u0530\5\u0116\u008b\2\u052f\u052e\3\2\2\2\u0530\u0531\3\2\2\2\u0531\u052f"+ - "\3\2\2\2\u0531\u0532\3\2\2\2\u0532\u0111\3\2\2\2\u0533\u0535\7&\2\2\u0534"+ - "\u0536\5\u0118\u008c\2\u0535\u0534\3\2\2\2\u0536\u0537\3\2\2\2\u0537\u0535"+ - "\3\2\2\2\u0537\u0538\3\2\2\2\u0538\u0113\3\2\2\2\u0539\u053a\t\13\2\2"+ - "\u053a\u0115\3\2\2\2\u053b\u053c\t\f\2\2\u053c\u0117\3\2\2\2\u053d\u053e"+ - "\t\r\2\2\u053e\u0119\3\2\2\2\u053f\u0543\7)\2\2\u0540\u0541\7^\2\2\u0541"+ - "\u0544\t\6\2\2\u0542\u0544\n\7\2\2\u0543\u0540\3\2\2\2\u0543\u0542\3\2"+ - "\2\2\u0544\u0545\3\2\2\2\u0545\u0546\7)\2\2\u0546\u011b\3\2\2\2\u0547"+ - "\u0549\5\u011e\u008f\2\u0548\u054a\t\22\2\2\u0549\u0548\3\2\2\2\u054a"+ - "\u054b\3\2\2\2\u054b\u0549\3\2\2\2\u054b\u054c\3\2\2\2\u054c\u011d\3\2"+ - "\2\2\u054d\u0551\7#\2\2\u054e\u0550\5\u0124\u0092\2\u054f\u054e\3\2\2"+ - "\2\u0550\u0553\3\2\2\2\u0551\u054f\3\2\2\2\u0551\u0552\3\2\2\2\u0552\u011f"+ - "\3\2\2\2\u0553\u0551\3\2\2\2\u0554\u0558\5\u0122\u0091\2\u0555\u0557\5"+ - "\u0124\u0092\2\u0556\u0555\3\2\2\2\u0557\u055a\3\2\2\2\u0558\u0556\3\2"+ - "\2\2\u0558\u0559\3\2\2\2\u0559\u0121\3\2\2\2\u055a\u0558\3\2\2\2\u055b"+ - "\u055c\t\16\2\2\u055c\u0123\3\2\2\2\u055d\u055e\t\17\2\2\u055e\u0125\3"+ - "\2\2\2\u055f\u0561\t\20\2\2\u0560\u055f\3\2\2\2\u0561\u0562\3\2\2\2\u0562"+ - "\u0560\3\2\2\2\u0562\u0563\3\2\2\2\u0563\u0564\3\2\2\2\u0564\u0565\b\u0093"+ - "\7\2\u0565\u0127\3\2\2\2\u0566\u0567\7\61\2\2\u0567\u0568\7\61\2\2\u0568"+ - "\u056c\3\2\2\2\u0569\u056b\n\21\2\2\u056a\u0569\3\2\2\2\u056b\u056e\3"+ - "\2\2\2\u056c\u056a\3\2\2\2\u056c\u056d\3\2\2\2\u056d\u056f\3\2\2\2\u056e"+ - "\u056c\3\2\2\2\u056f\u0570\b\u0094\b\2\u0570\u0129\3\2\2\2\u0571\u0572"+ - "\7\61\2\2\u0572\u0573\7,\2\2\u0573\u0577\3\2\2\2\u0574\u0576\13\2\2\2"+ - "\u0575\u0574\3\2\2\2\u0576\u0579\3\2\2\2\u0577\u0578\3\2\2\2\u0577\u0575"+ - "\3\2\2\2\u0578\u057a\3\2\2\2\u0579\u0577\3\2\2\2\u057a\u057b\7,\2\2\u057b"+ - "\u057c\7\61\2\2\u057c\u057d\3\2\2\2\u057d\u057e\b\u0095\b\2\u057e\u012b"+ - "\3\2\2\2;\2\3\u0195\u0251\u02ee\u0315\u0320\u0328\u0332\u0334\u0339\u033d"+ - "\u033f\u0342\u034a\u0350\u0355\u035c\u0361\u0368\u036d\u0374\u037b\u0380"+ - "\u0387\u038c\u0391\u0398\u039e\u03a0\u03a5\u03ac\u03b1\u03bd\u03c9\u03d3"+ - "\u03de\u04ca\u04f6\u04fb\u0501\u0508\u050d\u0514\u051a\u0521\u0526\u052c"+ - "\u0531\u0537\u0543\u054b\u0551\u0558\u0562\u056c\u0577\13\3\2\2\3&\3\3"+ - "G\4\3Y\5\3g\6\2\3\2\2\4\2\3\177\7\3\u0080\b"; + "\u0208\7t\2\2\u0208k\3\2\2\2\u0209\u020a\7p\2\2\u020a\u020b\7q\2\2\u020b"+ + "\u020c\7v\2\2\u020c\u020d\7t\2\2\u020d\u020e\7g\2\2\u020e\u020f\7i\2\2"+ + "\u020f\u0210\7k\2\2\u0210\u0211\7u\2\2\u0211\u0212\7v\2\2\u0212\u0213"+ + "\7g\2\2\u0213\u0214\7t\2\2\u0214m\3\2\2\2\u0215\u0216\7a\2\2\u0216\u0217"+ + "\7a\2\2\u0217\u0218\7|\2\2\u0218\u0219\7r\2\2\u0219o\3\2\2\2\u021a\u021b"+ + "\7a\2\2\u021b\u021c\7a\2\2\u021c\u021d\7o\2\2\u021d\u021e\7g\2\2\u021e"+ + "\u021f\7o\2\2\u021fq\3\2\2\2\u0220\u0221\7k\2\2\u0221\u0222\7p\2\2\u0222"+ + "\u0223\7n\2\2\u0223\u0224\7k\2\2\u0224\u0225\7p\2\2\u0225\u0226\7g\2\2"+ + "\u0226s\3\2\2\2\u0227\u0228\7x\2\2\u0228\u0229\7q\2\2\u0229\u022a\7n\2"+ + "\2\u022a\u022b\7c\2\2\u022b\u022c\7v\2\2\u022c\u022d\7k\2\2\u022d\u022e"+ + "\7n\2\2\u022e\u022f\7g\2\2\u022fu\3\2\2\2\u0230\u0231\7k\2\2\u0231\u0232"+ + "\7p\2\2\u0232\u0233\7v\2\2\u0233\u0234\7g\2\2\u0234\u0235\7t\2\2\u0235"+ + "\u0236\7t\2\2\u0236\u0237\7w\2\2\u0237\u0238\7r\2\2\u0238\u0239\7v\2\2"+ + "\u0239w\3\2\2\2\u023a\u023b\7e\2\2\u023b\u023c\7c\2\2\u023c\u023d\7n\2"+ + "\2\u023d\u023e\7n\2\2\u023e\u023f\7k\2\2\u023f\u0240\7p\2\2\u0240\u0241"+ + "\7i\2\2\u0241y\3\2\2\2\u0242\u0243\7a\2\2\u0243\u0244\7a\2\2\u0244\u0245"+ + "\7u\2\2\u0245\u0246\7v\2\2\u0246\u0247\7c\2\2\u0247\u0248\7e\2\2\u0248"+ + "\u0249\7m\2\2\u0249\u024a\7e\2\2\u024a\u024b\7c\2\2\u024b\u024c\7n\2\2"+ + "\u024c\u0257\7n\2\2\u024d\u024e\7a\2\2\u024e\u024f\7a\2\2\u024f\u0250"+ + "\7r\2\2\u0250\u0251\7j\2\2\u0251\u0252\7k\2\2\u0252\u0253\7e\2\2\u0253"+ + "\u0254\7c\2\2\u0254\u0255\7n\2\2\u0255\u0257\7n\2\2\u0256\u0242\3\2\2"+ + "\2\u0256\u024d\3\2\2\2\u0257{\3\2\2\2\u0258\u0259\7k\2\2\u0259\u025a\7"+ + "h\2\2\u025a}\3\2\2\2\u025b\u025c\7g\2\2\u025c\u025d\7n\2\2\u025d\u025e"+ + "\7u\2\2\u025e\u025f\7g\2\2\u025f\177\3\2\2\2\u0260\u0261\7y\2\2\u0261"+ + "\u0262\7j\2\2\u0262\u0263\7k\2\2\u0263\u0264\7n\2\2\u0264\u0265\7g\2\2"+ + "\u0265\u0081\3\2\2\2\u0266\u0267\7f\2\2\u0267\u0268\7q\2\2\u0268\u0083"+ + "\3\2\2\2\u0269\u026a\7h\2\2\u026a\u026b\7q\2\2\u026b\u026c\7t\2\2\u026c"+ + "\u0085\3\2\2\2\u026d\u026e\7u\2\2\u026e\u026f\7y\2\2\u026f\u0270\7k\2"+ + "\2\u0270\u0271\7v\2\2\u0271\u0272\7e\2\2\u0272\u0273\7j\2\2\u0273\u0087"+ + "\3\2\2\2\u0274\u0275\7t\2\2\u0275\u0276\7g\2\2\u0276\u0277\7v\2\2\u0277"+ + "\u0278\7w\2\2\u0278\u0279\7t\2\2\u0279\u027a\7p\2\2\u027a\u0089\3\2\2"+ + "\2\u027b\u027c\7d\2\2\u027c\u027d\7t\2\2\u027d\u027e\7g\2\2\u027e\u027f"+ + "\7c\2\2\u027f\u0280\7m\2\2\u0280\u008b\3\2\2\2\u0281\u0282\7e\2\2\u0282"+ + "\u0283\7q\2\2\u0283\u0284\7p\2\2\u0284\u0285\7v\2\2\u0285\u0286\7k\2\2"+ + "\u0286\u0287\7p\2\2\u0287\u0288\7w\2\2\u0288\u0289\7g\2\2\u0289\u008d"+ + "\3\2\2\2\u028a\u028b\7c\2\2\u028b\u028c\7u\2\2\u028c\u028d\7o\2\2\u028d"+ + "\u028e\3\2\2\2\u028e\u028f\bG\4\2\u028f\u008f\3\2\2\2\u0290\u0291\7f\2"+ + "\2\u0291\u0292\7g\2\2\u0292\u0293\7h\2\2\u0293\u0294\7c\2\2\u0294\u0295"+ + "\7w\2\2\u0295\u0296\7n\2\2\u0296\u0297\7v\2\2\u0297\u0091\3\2\2\2\u0298"+ + "\u0299\7e\2\2\u0299\u029a\7c\2\2\u029a\u029b\7u\2\2\u029b\u029c\7g\2\2"+ + "\u029c\u0093\3\2\2\2\u029d\u029e\7u\2\2\u029e\u029f\7v\2\2\u029f\u02a0"+ + "\7t\2\2\u02a0\u02a1\7w\2\2\u02a1\u02a2\7e\2\2\u02a2\u02a3\7v\2\2\u02a3"+ + "\u0095\3\2\2\2\u02a4\u02a5\7g\2\2\u02a5\u02a6\7p\2\2\u02a6\u02a7\7w\2"+ + "\2\u02a7\u02a8\7o\2\2\u02a8\u0097\3\2\2\2\u02a9\u02aa\7u\2\2\u02aa\u02ab"+ + "\7k\2\2\u02ab\u02ac\7|\2\2\u02ac\u02ad\7g\2\2\u02ad\u02ae\7q\2\2\u02ae"+ + "\u02af\7h\2\2\u02af\u0099\3\2\2\2\u02b0\u02b1\7v\2\2\u02b1\u02b2\7{\2"+ + "\2\u02b2\u02b3\7r\2\2\u02b3\u02b4\7g\2\2\u02b4\u02b5\7k\2\2\u02b5\u02b6"+ + "\7f\2\2\u02b6\u009b\3\2\2\2\u02b7\u02b8\7m\2\2\u02b8\u02b9\7k\2\2\u02b9"+ + "\u02ba\7e\2\2\u02ba\u02bb\7m\2\2\u02bb\u02bc\7c\2\2\u02bc\u02bd\7u\2\2"+ + "\u02bd\u02be\7o\2\2\u02be\u009d\3\2\2\2\u02bf\u02c0\7t\2\2\u02c0\u02c1"+ + "\7g\2\2\u02c1\u02c2\7u\2\2\u02c2\u02c3\7q\2\2\u02c3\u02c4\7w\2\2\u02c4"+ + "\u02c5\7t\2\2\u02c5\u02c6\7e\2\2\u02c6\u02c7\7g\2\2\u02c7\u009f\3\2\2"+ + "\2\u02c8\u02c9\7w\2\2\u02c9\u02ca\7u\2\2\u02ca\u02cb\7g\2\2\u02cb\u02cc"+ + "\7u\2\2\u02cc\u00a1\3\2\2\2\u02cd\u02ce\7e\2\2\u02ce\u02cf\7n\2\2\u02cf"+ + "\u02d0\7q\2\2\u02d0\u02d1\7d\2\2\u02d1\u02d2\7d\2\2\u02d2\u02d3\7g\2\2"+ + "\u02d3\u02d4\7t\2\2\u02d4\u02d5\7u\2\2\u02d5\u00a3\3\2\2\2\u02d6\u02d7"+ + "\7d\2\2\u02d7\u02d8\7{\2\2\u02d8\u02d9\7v\2\2\u02d9\u02da\7g\2\2\u02da"+ + "\u02db\7u\2\2\u02db\u00a5\3\2\2\2\u02dc\u02dd\7e\2\2\u02dd\u02de\7{\2"+ + "\2\u02de\u02df\7e\2\2\u02df\u02e0\7n\2\2\u02e0\u02e1\7g\2\2\u02e1\u02e2"+ + "\7u\2\2\u02e2\u00a7\3\2\2\2\u02e3\u02e4\7#\2\2\u02e4\u00a9\3\2\2\2\u02e5"+ + "\u02e6\7u\2\2\u02e6\u02e7\7k\2\2\u02e7\u02e8\7i\2\2\u02e8\u02e9\7p\2\2"+ + "\u02e9\u02ea\7g\2\2\u02ea\u02f4\7f\2\2\u02eb\u02ec\7w\2\2\u02ec\u02ed"+ + "\7p\2\2\u02ed\u02ee\7u\2\2\u02ee\u02ef\7k\2\2\u02ef\u02f0\7i\2\2\u02f0"+ + "\u02f1\7p\2\2\u02f1\u02f2\7g\2\2\u02f2\u02f4\7f\2\2\u02f3\u02e5\3\2\2"+ + "\2\u02f3\u02eb\3\2\2\2\u02f4\u00ab\3\2\2\2\u02f5\u02f6\7d\2\2\u02f6\u02f7"+ + "\7{\2\2\u02f7\u02f8\7v\2\2\u02f8\u031b\7g\2\2\u02f9\u02fa\7y\2\2\u02fa"+ + "\u02fb\7q\2\2\u02fb\u02fc\7t\2\2\u02fc\u031b\7f\2\2\u02fd\u02fe\7f\2\2"+ + "\u02fe\u02ff\7y\2\2\u02ff\u0300\7q\2\2\u0300\u0301\7t\2\2\u0301\u031b"+ + "\7f\2\2\u0302\u0303\7d\2\2\u0303\u0304\7q\2\2\u0304\u0305\7q\2\2\u0305"+ + "\u031b\7n\2\2\u0306\u0307\7e\2\2\u0307\u0308\7j\2\2\u0308\u0309\7c\2\2"+ + "\u0309\u031b\7t\2\2\u030a\u030b\7u\2\2\u030b\u030c\7j\2\2\u030c\u030d"+ + "\7q\2\2\u030d\u030e\7t\2\2\u030e\u031b\7v\2\2\u030f\u0310\7k\2\2\u0310"+ + "\u0311\7p\2\2\u0311\u031b\7v\2\2\u0312\u0313\7n\2\2\u0313\u0314\7q\2\2"+ + "\u0314\u0315\7p\2\2\u0315\u031b\7i\2\2\u0316\u0317\7x\2\2\u0317\u0318"+ + "\7q\2\2\u0318\u0319\7k\2\2\u0319\u031b\7f\2\2\u031a\u02f5\3\2\2\2\u031a"+ + "\u02f9\3\2\2\2\u031a\u02fd\3\2\2\2\u031a\u0302\3\2\2\2\u031a\u0306\3\2"+ + "\2\2\u031a\u030a\3\2\2\2\u031a\u030f\3\2\2\2\u031a\u0312\3\2\2\2\u031a"+ + "\u0316\3\2\2\2\u031b\u00ad\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\u00af\3\2\2\2\u0327\u0328\7}"+ + "\2\2\u0328\u0329\7}\2\2\u0329\u032d\3\2\2\2\u032a\u032c\13\2\2\2\u032b"+ + "\u032a\3\2\2\2\u032c\u032f\3\2\2\2\u032d\u032e\3\2\2\2\u032d\u032b\3\2"+ + "\2\2\u032e\u0330\3\2\2\2\u032f\u032d\3\2\2\2\u0330\u0331\7\177\2\2\u0331"+ + "\u0332\7\177\2\2\u0332\u00b1\3\2\2\2\u0333\u0339\7$\2\2\u0334\u0335\7"+ + "^\2\2\u0335\u0338\7$\2\2\u0336\u0338\n\2\2\2\u0337\u0334\3\2\2\2\u0337"+ + "\u0336\3\2\2\2\u0338\u033b\3\2\2\2\u0339\u0337\3\2\2\2\u0339\u033a\3\2"+ + "\2\2\u033a\u033c\3\2\2\2\u033b\u0339\3\2\2\2\u033c\u033e\7$\2\2\u033d"+ + "\u033f\t\3\2\2\u033e\u033d\3\2\2\2\u033e\u033f\3\2\2\2\u033f\u0344\3\2"+ + "\2\2\u0340\u0342\t\4\2\2\u0341\u0343\t\5\2\2\u0342\u0341\3\2\2\2\u0342"+ + "\u0343\3\2\2\2\u0343\u0345\3\2\2\2\u0344\u0340\3\2\2\2\u0344\u0345\3\2"+ + "\2\2\u0345\u0347\3\2\2\2\u0346\u0348\t\3\2\2\u0347\u0346\3\2\2\2\u0347"+ + "\u0348\3\2\2\2\u0348\u0349\3\2\2\2\u0349\u034a\bY\5\2\u034a\u00b3\3\2"+ + "\2\2\u034b\u034f\7)\2\2\u034c\u034d\7^\2\2\u034d\u0350\t\6\2\2\u034e\u0350"+ + "\n\7\2\2\u034f\u034c\3\2\2\2\u034f\u034e\3\2\2\2\u0350\u0351\3\2\2\2\u0351"+ + "\u0352\7)\2\2\u0352\u00b5\3\2\2\2\u0353\u0356\5\u00b8\\\2\u0354\u0356"+ + "\5\u00c0`\2\u0355\u0353\3\2\2\2\u0355\u0354\3\2\2\2\u0356\u00b7\3\2\2"+ + "\2\u0357\u035b\5\u00ba]\2\u0358\u035b\5\u00bc^\2\u0359\u035b\5\u00be_"+ + "\2\u035a\u0357\3\2\2\2\u035a\u0358\3\2\2\2\u035a\u0359\3\2\2\2\u035b\u00b9"+ + "\3\2\2\2\u035c\u0362\7\'\2\2\u035d\u035e\7\62\2\2\u035e\u0362\7d\2\2\u035f"+ + "\u0360\7\62\2\2\u0360\u0362\7D\2\2\u0361\u035c\3\2\2\2\u0361\u035d\3\2"+ + "\2\2\u0361\u035f\3\2\2\2\u0362\u0366\3\2\2\2\u0363\u0365\5\u00c8d\2\u0364"+ + "\u0363\3\2\2\2\u0365\u0368\3\2\2\2\u0366\u0364\3\2\2\2\u0366\u0367\3\2"+ + "\2\2\u0367\u0369\3\2\2\2\u0368\u0366\3\2\2\2\u0369\u036b\7\60\2\2\u036a"+ + "\u036c\5\u00c8d\2\u036b\u036a\3\2\2\2\u036c\u036d\3\2\2\2\u036d\u036b"+ + "\3\2\2\2\u036d\u036e\3\2\2\2\u036e\u00bb\3\2\2\2\u036f\u0371\5\u00cae"+ + "\2\u0370\u036f\3\2\2\2\u0371\u0374\3\2\2\2\u0372\u0370\3\2\2\2\u0372\u0373"+ + "\3\2\2\2\u0373\u0375\3\2\2\2\u0374\u0372\3\2\2\2\u0375\u0377\7\60\2\2"+ + "\u0376\u0378\5\u00cae\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\u00bd\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\7Z\2\2\u0380\u037b\3\2\2\2\u0380\u037c\3\2\2\2\u0380\u037e\3\2"+ + "\2\2\u0381\u0385\3\2\2\2\u0382\u0384\5\u00ccf\2\u0383\u0382\3\2\2\2\u0384"+ + "\u0387\3\2\2\2\u0385\u0383\3\2\2\2\u0385\u0386\3\2\2\2\u0386\u0388\3\2"+ + "\2\2\u0387\u0385\3\2\2\2\u0388\u038a\7\60\2\2\u0389\u038b\5\u00ccf\2\u038a"+ + "\u0389\3\2\2\2\u038b\u038c\3\2\2\2\u038c\u038a\3\2\2\2\u038c\u038d\3\2"+ + "\2\2\u038d\u00bf\3\2\2\2\u038e\u0392\5\u00c4b\2\u038f\u0392\5\u00c6c\2"+ + "\u0390\u0392\5\u00c2a\2\u0391\u038e\3\2\2\2\u0391\u038f\3\2\2\2\u0391"+ + "\u0390\3\2\2\2\u0392\u0396\3\2\2\2\u0393\u0394\t\b\2\2\u0394\u0397\t\t"+ + "\2\2\u0395\u0397\7n\2\2\u0396\u0393\3\2\2\2\u0396\u0395\3\2\2\2\u0396"+ + "\u0397\3\2\2\2\u0397\u00c1\3\2\2\2\u0398\u0399\7\62\2\2\u0399\u039b\t"+ + "\n\2\2\u039a\u039c\5\u00c8d\2\u039b\u039a\3\2\2\2\u039c\u039d\3\2\2\2"+ + "\u039d\u039b\3\2\2\2\u039d\u039e\3\2\2\2\u039e\u03a6\3\2\2\2\u039f\u03a1"+ + "\7\'\2\2\u03a0\u03a2\5\u00c8d\2\u03a1\u03a0\3\2\2\2\u03a2\u03a3\3\2\2"+ + "\2\u03a3\u03a1\3\2\2\2\u03a3\u03a4\3\2\2\2\u03a4\u03a6\3\2\2\2\u03a5\u0398"+ + "\3\2\2\2\u03a5\u039f\3\2\2\2\u03a6\u00c3\3\2\2\2\u03a7\u03a9\5\u00cae"+ + "\2\u03a8\u03a7\3\2\2\2\u03a9\u03aa\3\2\2\2\u03aa\u03a8\3\2\2\2\u03aa\u03ab"+ + "\3\2\2\2\u03ab\u00c5\3\2\2\2\u03ac\u03b2\7&\2\2\u03ad\u03ae\7\62\2\2\u03ae"+ + "\u03b2\7z\2\2\u03af\u03b0\7\62\2\2\u03b0\u03b2\7Z\2\2\u03b1\u03ac\3\2"+ + "\2\2\u03b1\u03ad\3\2\2\2\u03b1\u03af\3\2\2\2\u03b2\u03b4\3\2\2\2\u03b3"+ + "\u03b5\5\u00ccf\2\u03b4\u03b3\3\2\2\2\u03b5\u03b6\3\2\2\2\u03b6\u03b4"+ + "\3\2\2\2\u03b6\u03b7\3\2\2\2\u03b7\u00c7\3\2\2\2\u03b8\u03b9\t\13\2\2"+ + "\u03b9\u00c9\3\2\2\2\u03ba\u03bb\t\f\2\2\u03bb\u00cb\3\2\2\2\u03bc\u03bd"+ + "\t\r\2\2\u03bd\u00cd\3\2\2\2\u03be\u03c2\5\u00d0h\2\u03bf\u03c1\5\u00d2"+ + "i\2\u03c0\u03bf\3\2\2\2\u03c1\u03c4\3\2\2\2\u03c2\u03c0\3\2\2\2\u03c2"+ + "\u03c3\3\2\2\2\u03c3\u03c5\3\2\2\2\u03c4\u03c2\3\2\2\2\u03c5\u03c6\bg"+ + "\6\2\u03c6\u00cf\3\2\2\2\u03c7\u03c8\t\16\2\2\u03c8\u00d1\3\2\2\2\u03c9"+ + "\u03ca\t\17\2\2\u03ca\u00d3\3\2\2\2\u03cb\u03cd\t\20\2\2\u03cc\u03cb\3"+ + "\2\2\2\u03cd\u03ce\3\2\2\2\u03ce\u03cc\3\2\2\2\u03ce\u03cf\3\2\2\2\u03cf"+ + "\u03d0\3\2\2\2\u03d0\u03d1\bj\7\2\u03d1\u00d5\3\2\2\2\u03d2\u03d3\7\61"+ + "\2\2\u03d3\u03d4\7\61\2\2\u03d4\u03d8\3\2\2\2\u03d5\u03d7\n\21\2\2\u03d6"+ + "\u03d5\3\2\2\2\u03d7\u03da\3\2\2\2\u03d8\u03d6\3\2\2\2\u03d8\u03d9\3\2"+ + "\2\2\u03d9\u03db\3\2\2\2\u03da\u03d8\3\2\2\2\u03db\u03dc\bk\b\2\u03dc"+ + "\u00d7\3\2\2\2\u03dd\u03de\7\61\2\2\u03de\u03df\7,\2\2\u03df\u03e3\3\2"+ + "\2\2\u03e0\u03e2\13\2\2\2\u03e1\u03e0\3\2\2\2\u03e2\u03e5\3\2\2\2\u03e3"+ + "\u03e4\3\2\2\2\u03e3\u03e1\3\2\2\2\u03e4\u03e6\3\2\2\2\u03e5\u03e3\3\2"+ + "\2\2\u03e6\u03e7\7,\2\2\u03e7\u03e8\7\61\2\2\u03e8\u03e9\3\2\2\2\u03e9"+ + "\u03ea\bl\b\2\u03ea\u00d9\3\2\2\2\u03eb\u03ec\7\60\2\2\u03ec\u03ed\7d"+ + "\2\2\u03ed\u03ee\7{\2\2\u03ee\u03ef\7v\2\2\u03ef\u03f0\7g\2\2\u03f0\u00db"+ + "\3\2\2\2\u03f1\u03f2\7d\2\2\u03f2\u03f3\7t\2\2\u03f3\u04d0\7m\2\2\u03f4"+ + "\u03f5\7q\2\2\u03f5\u03f6\7t\2\2\u03f6\u04d0\7c\2\2\u03f7\u03f8\7m\2\2"+ + "\u03f8\u03f9\7k\2\2\u03f9\u04d0\7n\2\2\u03fa\u03fb\7u\2\2\u03fb\u03fc"+ + "\7n\2\2\u03fc\u04d0\7q\2\2\u03fd\u03fe\7p\2\2\u03fe\u03ff\7q\2\2\u03ff"+ + "\u04d0\7r\2\2\u0400\u0401\7c\2\2\u0401\u0402\7u\2\2\u0402\u04d0\7n\2\2"+ + "\u0403\u0404\7r\2\2\u0404\u0405\7j\2\2\u0405\u04d0\7r\2\2\u0406\u0407"+ + "\7c\2\2\u0407\u0408\7p\2\2\u0408\u04d0\7e\2\2\u0409\u040a\7d\2\2\u040a"+ + "\u040b\7r\2\2\u040b\u04d0\7n\2\2\u040c\u040d\7e\2\2\u040d\u040e\7n\2\2"+ + "\u040e\u04d0\7e\2\2\u040f\u0410\7l\2\2\u0410\u0411\7u\2\2\u0411\u04d0"+ + "\7t\2\2\u0412\u0413\7c\2\2\u0413\u0414\7p\2\2\u0414\u04d0\7f\2\2\u0415"+ + "\u0416\7t\2\2\u0416\u0417\7n\2\2\u0417\u04d0\7c\2\2\u0418\u0419\7d\2\2"+ + "\u0419\u041a\7k\2\2\u041a\u04d0\7v\2\2\u041b\u041c\7t\2\2\u041c\u041d"+ + "\7q\2\2\u041d\u04d0\7n\2\2\u041e\u041f\7r\2\2\u041f\u0420\7n\2\2\u0420"+ + "\u04d0\7c\2\2\u0421\u0422\7r\2\2\u0422\u0423\7n\2\2\u0423\u04d0\7r\2\2"+ + "\u0424\u0425\7d\2\2\u0425\u0426\7o\2\2\u0426\u04d0\7k\2\2\u0427\u0428"+ + "\7u\2\2\u0428\u0429\7g\2\2\u0429\u04d0\7e\2\2\u042a\u042b\7t\2\2\u042b"+ + "\u042c\7v\2\2\u042c\u04d0\7k\2\2\u042d\u042e\7g\2\2\u042e\u042f\7q\2\2"+ + "\u042f\u04d0\7t\2\2\u0430\u0431\7u\2\2\u0431\u0432\7t\2\2\u0432\u04d0"+ + "\7g\2\2\u0433\u0434\7n\2\2\u0434\u0435\7u\2\2\u0435\u04d0\7t\2\2\u0436"+ + "\u0437\7r\2\2\u0437\u0438\7j\2\2\u0438\u04d0\7c\2\2\u0439\u043a\7c\2\2"+ + "\u043a\u043b\7n\2\2\u043b\u04d0\7t\2\2\u043c\u043d\7l\2\2\u043d\u043e"+ + "\7o\2\2\u043e\u04d0\7r\2\2\u043f\u0440\7d\2\2\u0440\u0441\7x\2\2\u0441"+ + "\u04d0\7e\2\2\u0442\u0443\7e\2\2\u0443\u0444\7n\2\2\u0444\u04d0\7k\2\2"+ + "\u0445\u0446\7t\2\2\u0446\u0447\7v\2\2\u0447\u04d0\7u\2\2\u0448\u0449"+ + "\7c\2\2\u0449\u044a\7f\2\2\u044a\u04d0\7e\2\2\u044b\u044c\7t\2\2\u044c"+ + "\u044d\7t\2\2\u044d\u04d0\7c\2\2\u044e\u044f\7d\2\2\u044f\u0450\7x\2\2"+ + "\u0450\u04d0\7u\2\2\u0451\u0452\7u\2\2\u0452\u0453\7g\2\2\u0453\u04d0"+ + "\7k\2\2\u0454\u0455\7u\2\2\u0455\u0456\7c\2\2\u0456\u04d0\7z\2\2\u0457"+ + "\u0458\7u\2\2\u0458\u0459\7v\2\2\u0459\u04d0\7{\2\2\u045a\u045b\7u\2\2"+ + "\u045b\u045c\7v\2\2\u045c\u04d0\7c\2\2\u045d\u045e\7u\2\2\u045e\u045f"+ + "\7v\2\2\u045f\u04d0\7z\2\2\u0460\u0461\7f\2\2\u0461\u0462\7g\2\2\u0462"+ + "\u04d0\7{\2\2\u0463\u0464\7v\2\2\u0464\u0465\7z\2\2\u0465\u04d0\7c\2\2"+ + "\u0466\u0467\7z\2\2\u0467\u0468\7c\2\2\u0468\u04d0\7c\2\2\u0469\u046a"+ + "\7d\2\2\u046a\u046b\7e\2\2\u046b\u04d0\7e\2\2\u046c\u046d\7c\2\2\u046d"+ + "\u046e\7j\2\2\u046e\u04d0\7z\2\2\u046f\u0470\7v\2\2\u0470\u0471\7{\2\2"+ + "\u0471\u04d0\7c\2\2\u0472\u0473\7v\2\2\u0473\u0474\7z\2\2\u0474\u04d0"+ + "\7u\2\2\u0475\u0476\7v\2\2\u0476\u0477\7c\2\2\u0477\u04d0\7u\2\2\u0478"+ + "\u0479\7u\2\2\u0479\u047a\7j\2\2\u047a\u04d0\7{\2\2\u047b\u047c\7u\2\2"+ + "\u047c\u047d\7j\2\2\u047d\u04d0\7z\2\2\u047e\u047f\7n\2\2\u047f\u0480"+ + "\7f\2\2\u0480\u04d0\7{\2\2\u0481\u0482\7n\2\2\u0482\u0483\7f\2\2\u0483"+ + "\u04d0\7c\2\2\u0484\u0485\7n\2\2\u0485\u0486\7f\2\2\u0486\u04d0\7z\2\2"+ + "\u0487\u0488\7n\2\2\u0488\u0489\7c\2\2\u0489\u04d0\7z\2\2\u048a\u048b"+ + "\7v\2\2\u048b\u048c\7c\2\2\u048c\u04d0\7{\2\2\u048d\u048e\7v\2\2\u048e"+ + "\u048f\7c\2\2\u048f\u04d0\7z\2\2\u0490\u0491\7d\2\2\u0491\u0492\7e\2\2"+ + "\u0492\u04d0\7u\2\2\u0493\u0494\7e\2\2\u0494\u0495\7n\2\2\u0495\u04d0"+ + "\7x\2\2\u0496\u0497\7v\2\2\u0497\u0498\7u\2\2\u0498\u04d0\7z\2\2\u0499"+ + "\u049a\7n\2\2\u049a\u049b\7c\2\2\u049b\u04d0\7u\2\2\u049c\u049d\7e\2\2"+ + "\u049d\u049e\7r\2\2\u049e\u04d0\7{\2\2\u049f\u04a0\7e\2\2\u04a0\u04a1"+ + "\7o\2\2\u04a1\u04d0\7r\2\2\u04a2\u04a3\7e\2\2\u04a3\u04a4\7r\2\2\u04a4"+ + "\u04d0\7z\2\2\u04a5\u04a6\7f\2\2\u04a6\u04a7\7e\2\2\u04a7\u04d0\7r\2\2"+ + "\u04a8\u04a9\7f\2\2\u04a9\u04aa\7g\2\2\u04aa\u04d0\7e\2\2\u04ab\u04ac"+ + "\7k\2\2\u04ac\u04ad\7p\2\2\u04ad\u04d0\7e\2\2\u04ae\u04af\7c\2\2\u04af"+ + "\u04b0\7z\2\2\u04b0\u04d0\7u\2\2\u04b1\u04b2\7d\2\2\u04b2\u04b3\7p\2\2"+ + "\u04b3\u04d0\7g\2\2\u04b4\u04b5\7e\2\2\u04b5\u04b6\7n\2\2\u04b6\u04d0"+ + "\7f\2\2\u04b7\u04b8\7u\2\2\u04b8\u04b9\7d\2\2\u04b9\u04d0\7e\2\2\u04ba"+ + "\u04bb\7k\2\2\u04bb\u04bc\7u\2\2\u04bc\u04d0\7e\2\2\u04bd\u04be\7k\2\2"+ + "\u04be\u04bf\7p\2\2\u04bf\u04d0\7z\2\2\u04c0\u04c1\7d\2\2\u04c1\u04c2"+ + "\7g\2\2\u04c2\u04d0\7s\2\2\u04c3\u04c4\7u\2\2\u04c4\u04c5\7g\2\2\u04c5"+ + "\u04d0\7f\2\2\u04c6\u04c7\7f\2\2\u04c7\u04c8\7g\2\2\u04c8\u04d0\7z\2\2"+ + "\u04c9\u04ca\7k\2\2\u04ca\u04cb\7p\2\2\u04cb\u04d0\7{\2\2\u04cc\u04cd"+ + "\7t\2\2\u04cd\u04ce\7q\2\2\u04ce\u04d0\7t\2\2\u04cf\u03f1\3\2\2\2\u04cf"+ + "\u03f4\3\2\2\2\u04cf\u03f7\3\2\2\2\u04cf\u03fa\3\2\2\2\u04cf\u03fd\3\2"+ + "\2\2\u04cf\u0400\3\2\2\2\u04cf\u0403\3\2\2\2\u04cf\u0406\3\2\2\2\u04cf"+ + "\u0409\3\2\2\2\u04cf\u040c\3\2\2\2\u04cf\u040f\3\2\2\2\u04cf\u0412\3\2"+ + "\2\2\u04cf\u0415\3\2\2\2\u04cf\u0418\3\2\2\2\u04cf\u041b\3\2\2\2\u04cf"+ + "\u041e\3\2\2\2\u04cf\u0421\3\2\2\2\u04cf\u0424\3\2\2\2\u04cf\u0427\3\2"+ + "\2\2\u04cf\u042a\3\2\2\2\u04cf\u042d\3\2\2\2\u04cf\u0430\3\2\2\2\u04cf"+ + "\u0433\3\2\2\2\u04cf\u0436\3\2\2\2\u04cf\u0439\3\2\2\2\u04cf\u043c\3\2"+ + "\2\2\u04cf\u043f\3\2\2\2\u04cf\u0442\3\2\2\2\u04cf\u0445\3\2\2\2\u04cf"+ + "\u0448\3\2\2\2\u04cf\u044b\3\2\2\2\u04cf\u044e\3\2\2\2\u04cf\u0451\3\2"+ + "\2\2\u04cf\u0454\3\2\2\2\u04cf\u0457\3\2\2\2\u04cf\u045a\3\2\2\2\u04cf"+ + "\u045d\3\2\2\2\u04cf\u0460\3\2\2\2\u04cf\u0463\3\2\2\2\u04cf\u0466\3\2"+ + "\2\2\u04cf\u0469\3\2\2\2\u04cf\u046c\3\2\2\2\u04cf\u046f\3\2\2\2\u04cf"+ + "\u0472\3\2\2\2\u04cf\u0475\3\2\2\2\u04cf\u0478\3\2\2\2\u04cf\u047b\3\2"+ + "\2\2\u04cf\u047e\3\2\2\2\u04cf\u0481\3\2\2\2\u04cf\u0484\3\2\2\2\u04cf"+ + "\u0487\3\2\2\2\u04cf\u048a\3\2\2\2\u04cf\u048d\3\2\2\2\u04cf\u0490\3\2"+ + "\2\2\u04cf\u0493\3\2\2\2\u04cf\u0496\3\2\2\2\u04cf\u0499\3\2\2\2\u04cf"+ + "\u049c\3\2\2\2\u04cf\u049f\3\2\2\2\u04cf\u04a2\3\2\2\2\u04cf\u04a5\3\2"+ + "\2\2\u04cf\u04a8\3\2\2\2\u04cf\u04ab\3\2\2\2\u04cf\u04ae\3\2\2\2\u04cf"+ + "\u04b1\3\2\2\2\u04cf\u04b4\3\2\2\2\u04cf\u04b7\3\2\2\2\u04cf\u04ba\3\2"+ + "\2\2\u04cf\u04bd\3\2\2\2\u04cf\u04c0\3\2\2\2\u04cf\u04c3\3\2\2\2\u04cf"+ + "\u04c6\3\2\2\2\u04cf\u04c9\3\2\2\2\u04cf\u04cc\3\2\2\2\u04d0\u00dd\3\2"+ + "\2\2\u04d1\u04d2\7%\2\2\u04d2\u00df\3\2\2\2\u04d3\u04d4\7<\2\2\u04d4\u00e1"+ + "\3\2\2\2\u04d5\u04d6\7.\2\2\u04d6\u00e3\3\2\2\2\u04d7\u04d8\7*\2\2\u04d8"+ + "\u00e5\3\2\2\2\u04d9\u04da\7+\2\2\u04da\u00e7\3\2\2\2\u04db\u04dc\7]\2"+ + "\2\u04dc\u00e9\3\2\2\2\u04dd\u04de\7_\2\2\u04de\u00eb\3\2\2\2\u04df\u04e0"+ + "\7\60\2\2\u04e0\u00ed\3\2\2\2\u04e1\u04e2\7>\2\2\u04e2\u04e3\7>\2\2\u04e3"+ + "\u00ef\3\2\2\2\u04e4\u04e5\7@\2\2\u04e5\u04e6\7@\2\2\u04e6\u00f1\3\2\2"+ + "\2\u04e7\u04e8\7-\2\2\u04e8\u00f3\3\2\2\2\u04e9\u04ea\7/\2\2\u04ea\u00f5"+ + "\3\2\2\2\u04eb\u04ec\7>\2\2\u04ec\u00f7\3\2\2\2\u04ed\u04ee\7@\2\2\u04ee"+ + "\u00f9\3\2\2\2\u04ef\u04f0\7,\2\2\u04f0\u00fb\3\2\2\2\u04f1\u04f2\7\61"+ + "\2\2\u04f2\u00fd\3\2\2\2\u04f3\u04f4\7}\2\2\u04f4\u04f5\b\177\t\2\u04f5"+ + "\u00ff\3\2\2\2\u04f6\u04f7\7\177\2\2\u04f7\u04f8\b\u0080\n\2\u04f8\u0101"+ + "\3\2\2\2\u04f9\u04fc\5\u0104\u0082\2\u04fa\u04fc\5\u010c\u0086\2\u04fb"+ + "\u04f9\3\2\2\2\u04fb\u04fa\3\2\2\2\u04fc\u0103\3\2\2\2\u04fd\u0501\5\u0106"+ + "\u0083\2\u04fe\u0501\5\u0108\u0084\2\u04ff\u0501\5\u010a\u0085\2\u0500"+ + "\u04fd\3\2\2\2\u0500\u04fe\3\2\2\2\u0500\u04ff\3\2\2\2\u0501\u0105\3\2"+ + "\2\2\u0502\u0506\7\'\2\2\u0503\u0505\5\u0114\u008a\2\u0504\u0503\3\2\2"+ + "\2\u0505\u0508\3\2\2\2\u0506\u0504\3\2\2\2\u0506\u0507\3\2\2\2\u0507\u0509"+ + "\3\2\2\2\u0508\u0506\3\2\2\2\u0509\u050b\7\60\2\2\u050a\u050c\5\u0114"+ + "\u008a\2\u050b\u050a\3\2\2\2\u050c\u050d\3\2\2\2\u050d\u050b\3\2\2\2\u050d"+ + "\u050e\3\2\2\2\u050e\u0107\3\2\2\2\u050f\u0511\5\u0116\u008b\2\u0510\u050f"+ + "\3\2\2\2\u0511\u0514\3\2\2\2\u0512\u0510\3\2\2\2\u0512\u0513\3\2\2\2\u0513"+ + "\u0515\3\2\2\2\u0514\u0512\3\2\2\2\u0515\u0517\7\60\2\2\u0516\u0518\5"+ + "\u0116\u008b\2\u0517\u0516\3\2\2\2\u0518\u0519\3\2\2\2\u0519\u0517\3\2"+ + "\2\2\u0519\u051a\3\2\2\2\u051a\u0109\3\2\2\2\u051b\u051f\7&\2\2\u051c"+ + "\u051e\5\u0118\u008c\2\u051d\u051c\3\2\2\2\u051e\u0521\3\2\2\2\u051f\u051d"+ + "\3\2\2\2\u051f\u0520\3\2\2\2\u0520\u0522\3\2\2\2\u0521\u051f\3\2\2\2\u0522"+ + "\u0524\7\60\2\2\u0523\u0525\5\u0118\u008c\2\u0524\u0523\3\2\2\2\u0525"+ + "\u0526\3\2\2\2\u0526\u0524\3\2\2\2\u0526\u0527\3\2\2\2\u0527\u010b\3\2"+ + "\2\2\u0528\u052c\5\u0110\u0088\2\u0529\u052c\5\u0112\u0089\2\u052a\u052c"+ + "\5\u010e\u0087\2\u052b\u0528\3\2\2\2\u052b\u0529\3\2\2\2\u052b\u052a\3"+ + "\2\2\2\u052c\u010d\3\2\2\2\u052d\u052f\7\'\2\2\u052e\u0530\5\u0114\u008a"+ + "\2\u052f\u052e\3\2\2\2\u0530\u0531\3\2\2\2\u0531\u052f\3\2\2\2\u0531\u0532"+ + "\3\2\2\2\u0532\u010f\3\2\2\2\u0533\u0535\5\u0116\u008b\2\u0534\u0533\3"+ + "\2\2\2\u0535\u0536\3\2\2\2\u0536\u0534\3\2\2\2\u0536\u0537\3\2\2\2\u0537"+ + "\u0111\3\2\2\2\u0538\u053a\7&\2\2\u0539\u053b\5\u0118\u008c\2\u053a\u0539"+ + "\3\2\2\2\u053b\u053c\3\2\2\2\u053c\u053a\3\2\2\2\u053c\u053d\3\2\2\2\u053d"+ + "\u0113\3\2\2\2\u053e\u053f\t\13\2\2\u053f\u0115\3\2\2\2\u0540\u0541\t"+ + "\f\2\2\u0541\u0117\3\2\2\2\u0542\u0543\t\r\2\2\u0543\u0119\3\2\2\2\u0544"+ + "\u0548\7)\2\2\u0545\u0546\7^\2\2\u0546\u0549\t\6\2\2\u0547\u0549\n\7\2"+ + "\2\u0548\u0545\3\2\2\2\u0548\u0547\3\2\2\2\u0549\u054a\3\2\2\2\u054a\u054b"+ + "\7)\2\2\u054b\u011b\3\2\2\2\u054c\u054e\5\u011e\u008f\2\u054d\u054f\t"+ + "\22\2\2\u054e\u054d\3\2\2\2\u054f\u0550\3\2\2\2\u0550\u054e\3\2\2\2\u0550"+ + "\u0551\3\2\2\2\u0551\u011d\3\2\2\2\u0552\u0556\7#\2\2\u0553\u0555\5\u0124"+ + "\u0092\2\u0554\u0553\3\2\2\2\u0555\u0558\3\2\2\2\u0556\u0554\3\2\2\2\u0556"+ + "\u0557\3\2\2\2\u0557\u011f\3\2\2\2\u0558\u0556\3\2\2\2\u0559\u055d\5\u0122"+ + "\u0091\2\u055a\u055c\5\u0124\u0092\2\u055b\u055a\3\2\2\2\u055c\u055f\3"+ + "\2\2\2\u055d\u055b\3\2\2\2\u055d\u055e\3\2\2\2\u055e\u0121\3\2\2\2\u055f"+ + "\u055d\3\2\2\2\u0560\u0561\t\16\2\2\u0561\u0123\3\2\2\2\u0562\u0563\t"+ + "\17\2\2\u0563\u0125\3\2\2\2\u0564\u0566\t\20\2\2\u0565\u0564\3\2\2\2\u0566"+ + "\u0567\3\2\2\2\u0567\u0565\3\2\2\2\u0567\u0568\3\2\2\2\u0568\u0569\3\2"+ + "\2\2\u0569\u056a\b\u0093\7\2\u056a\u0127\3\2\2\2\u056b\u056c\7\61\2\2"+ + "\u056c\u056d\7\61\2\2\u056d\u0571\3\2\2\2\u056e\u0570\n\21\2\2\u056f\u056e"+ + "\3\2\2\2\u0570\u0573\3\2\2\2\u0571\u056f\3\2\2\2\u0571\u0572\3\2\2\2\u0572"+ + "\u0574\3\2\2\2\u0573\u0571\3\2\2\2\u0574\u0575\b\u0094\b\2\u0575\u0129"+ + "\3\2\2\2\u0576\u0577\7\61\2\2\u0577\u0578\7,\2\2\u0578\u057c\3\2\2\2\u0579"+ + "\u057b\13\2\2\2\u057a\u0579\3\2\2\2\u057b\u057e\3\2\2\2\u057c\u057d\3"+ + "\2\2\2\u057c\u057a\3\2\2\2\u057d\u057f\3\2\2\2\u057e\u057c\3\2\2\2\u057f"+ + "\u0580\7,\2\2\u0580\u0581\7\61\2\2\u0581\u0582\3\2\2\2\u0582\u0583\b\u0095"+ + "\b\2\u0583\u012b\3\2\2\2;\2\3\u0195\u0256\u02f3\u031a\u0325\u032d\u0337"+ + "\u0339\u033e\u0342\u0344\u0347\u034f\u0355\u035a\u0361\u0366\u036d\u0372"+ + "\u0379\u0380\u0385\u038c\u0391\u0396\u039d\u03a3\u03a5\u03aa\u03b1\u03b6"+ + "\u03c2\u03ce\u03d8\u03e3\u04cf\u04fb\u0500\u0506\u050d\u0512\u0519\u051f"+ + "\u0526\u052b\u0531\u0536\u053c\u0548\u0550\u0556\u055d\u0567\u0571\u057c"+ + "\13\3\2\2\3&\3\3G\4\3Y\5\3g\6\2\3\2\2\4\2\3\177\7\3\u0080\b"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCLexer.tokens b/src/main/java/dk/camelot64/kickc/parser/KickCLexer.tokens index 7e920fee0..087846e20 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCLexer.tokens +++ b/src/main/java/dk/camelot64/kickc/parser/KickCLexer.tokens @@ -51,7 +51,7 @@ EXTERN=50 EXPORT=51 ALIGN=52 REGISTER=53 -MEMORY=54 +NOTREGISTER=54 ZEROPAGE=55 MAINMEM=56 INLINE=57 @@ -171,7 +171,7 @@ ASM_COMMENT_BLOCK=139 'export'=51 'align'=52 'register'=53 -'memory'=54 +'notregister'=54 '__zp'=55 '__mem'=56 'inline'=57 diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParser.g4 b/src/main/java/dk/camelot64/kickc/parser/KickCParser.g4 index 7df9cc529..b9e8beb24 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCParser.g4 +++ b/src/main/java/dk/camelot64/kickc/parser/KickCParser.g4 @@ -100,7 +100,7 @@ directive | EXPORT #directiveExport | ALIGN PAR_BEGIN NUMBER PAR_END #directiveAlign | REGISTER ( PAR_BEGIN ( NAME ) PAR_END)? #directiveRegister - | MEMORY #directiveMemory + | NOTREGISTER #directiveNotRegister | ( ZEROPAGE | MAINMEM ) ( PAR_BEGIN ( NUMBER ) PAR_END)? #directiveMemoryArea | INLINE #directiveInline | VOLATILE #directiveVolatile diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParser.java b/src/main/java/dk/camelot64/kickc/parser/KickCParser.java index 2aaa250aa..26a8a9486 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCParser.java +++ b/src/main/java/dk/camelot64/kickc/parser/KickCParser.java @@ -27,8 +27,8 @@ public class KickCParser extends Parser { GREATER_THAN_EQUAL=32, GREATER_THAN=33, LOGIC_AND=34, LOGIC_OR=35, ASSIGN=36, ASSIGN_COMPOUND=37, IMPORT=38, TYPEDEF=39, PRAGMA=40, RESERVE=41, PC=42, TARGET=43, LINK=44, CPU=45, CODESEG=46, DATASEG=47, ENCODING=48, CONST=49, - EXTERN=50, EXPORT=51, ALIGN=52, REGISTER=53, MEMORY=54, ZEROPAGE=55, MAINMEM=56, - INLINE=57, VOLATILE=58, INTERRUPT=59, CALLING=60, CALLINGCONVENTION=61, + EXTERN=50, EXPORT=51, ALIGN=52, REGISTER=53, NOTREGISTER=54, ZEROPAGE=55, + MAINMEM=56, INLINE=57, VOLATILE=58, INTERRUPT=59, CALLING=60, CALLINGCONVENTION=61, IF=62, ELSE=63, WHILE=64, DO=65, FOR=66, SWITCH=67, RETURN=68, BREAK=69, CONTINUE=70, ASM=71, DEFAULT=72, CASE=73, STRUCT=74, ENUM=75, SIZEOF=76, TYPEID=77, KICKASM=78, RESOURCE=79, USES=80, CLOBBERS=81, BYTES=82, CYCLES=83, @@ -75,7 +75,7 @@ public class KickCParser extends Parser { null, "'&&'", "'||'", "'='", null, "'import'", "'typedef'", "'#pragma'", "'reserve'", "'pc'", "'target'", "'link'", "'cpu'", "'code_seg'", "'data_seg'", "'encoding'", "'const'", "'extern'", "'export'", "'align'", "'register'", - "'memory'", "'__zp'", "'__mem'", "'inline'", "'volatile'", "'interrupt'", + "'notregister'", "'__zp'", "'__mem'", "'inline'", "'volatile'", "'interrupt'", "'calling'", null, "'if'", "'else'", "'while'", "'do'", "'for'", "'switch'", "'return'", "'break'", "'continue'", "'asm'", "'default'", "'case'", "'struct'", "'enum'", "'sizeof'", "'typeid'", "'kickasm'", "'resource'", "'uses'", @@ -92,21 +92,21 @@ public class KickCParser extends Parser { "GREATER_THAN", "LOGIC_AND", "LOGIC_OR", "ASSIGN", "ASSIGN_COMPOUND", "IMPORT", "TYPEDEF", "PRAGMA", "RESERVE", "PC", "TARGET", "LINK", "CPU", "CODESEG", "DATASEG", "ENCODING", "CONST", "EXTERN", "EXPORT", "ALIGN", - "REGISTER", "MEMORY", "ZEROPAGE", "MAINMEM", "INLINE", "VOLATILE", "INTERRUPT", - "CALLING", "CALLINGCONVENTION", "IF", "ELSE", "WHILE", "DO", "FOR", "SWITCH", - "RETURN", "BREAK", "CONTINUE", "ASM", "DEFAULT", "CASE", "STRUCT", "ENUM", - "SIZEOF", "TYPEID", "KICKASM", "RESOURCE", "USES", "CLOBBERS", "BYTES", - "CYCLES", "LOGIC_NOT", "SIGNEDNESS", "SIMPLETYPE", "BOOLEAN", "KICKASM_BODY", - "STRING", "CHAR", "NUMBER", "NUMFLOAT", "BINFLOAT", "DECFLOAT", "HEXFLOAT", - "NUMINT", "BININTEGER", "DECINTEGER", "HEXINTEGER", "NAME", "WS", "COMMENT_LINE", - "COMMENT_BLOCK", "ASM_BYTE", "ASM_MNEMONIC", "ASM_IMM", "ASM_COLON", "ASM_COMMA", - "ASM_PAR_BEGIN", "ASM_PAR_END", "ASM_BRACKET_BEGIN", "ASM_BRACKET_END", - "ASM_DOT", "ASM_SHIFT_LEFT", "ASM_SHIFT_RIGHT", "ASM_PLUS", "ASM_MINUS", - "ASM_LESS_THAN", "ASM_GREATER_THAN", "ASM_MULTIPLY", "ASM_DIVIDE", "ASM_CURLY_BEGIN", - "ASM_CURLY_END", "ASM_NUMBER", "ASM_NUMFLOAT", "ASM_BINFLOAT", "ASM_DECFLOAT", - "ASM_HEXFLOAT", "ASM_NUMINT", "ASM_BININTEGER", "ASM_DECINTEGER", "ASM_HEXINTEGER", - "ASM_CHAR", "ASM_MULTI_REL", "ASM_MULTI_NAME", "ASM_NAME", "ASM_WS", "ASM_COMMENT_LINE", - "ASM_COMMENT_BLOCK" + "REGISTER", "NOTREGISTER", "ZEROPAGE", "MAINMEM", "INLINE", "VOLATILE", + "INTERRUPT", "CALLING", "CALLINGCONVENTION", "IF", "ELSE", "WHILE", "DO", + "FOR", "SWITCH", "RETURN", "BREAK", "CONTINUE", "ASM", "DEFAULT", "CASE", + "STRUCT", "ENUM", "SIZEOF", "TYPEID", "KICKASM", "RESOURCE", "USES", "CLOBBERS", + "BYTES", "CYCLES", "LOGIC_NOT", "SIGNEDNESS", "SIMPLETYPE", "BOOLEAN", + "KICKASM_BODY", "STRING", "CHAR", "NUMBER", "NUMFLOAT", "BINFLOAT", "DECFLOAT", + "HEXFLOAT", "NUMINT", "BININTEGER", "DECINTEGER", "HEXINTEGER", "NAME", + "WS", "COMMENT_LINE", "COMMENT_BLOCK", "ASM_BYTE", "ASM_MNEMONIC", "ASM_IMM", + "ASM_COLON", "ASM_COMMA", "ASM_PAR_BEGIN", "ASM_PAR_END", "ASM_BRACKET_BEGIN", + "ASM_BRACKET_END", "ASM_DOT", "ASM_SHIFT_LEFT", "ASM_SHIFT_RIGHT", "ASM_PLUS", + "ASM_MINUS", "ASM_LESS_THAN", "ASM_GREATER_THAN", "ASM_MULTIPLY", "ASM_DIVIDE", + "ASM_CURLY_BEGIN", "ASM_CURLY_END", "ASM_NUMBER", "ASM_NUMFLOAT", "ASM_BINFLOAT", + "ASM_DECFLOAT", "ASM_HEXFLOAT", "ASM_NUMINT", "ASM_BININTEGER", "ASM_DECINTEGER", + "ASM_HEXINTEGER", "ASM_CHAR", "ASM_MULTI_REL", "ASM_MULTI_NAME", "ASM_NAME", + "ASM_WS", "ASM_COMMENT_LINE", "ASM_COMMENT_BLOCK" }; public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES); @@ -296,7 +296,7 @@ public class KickCParser extends Parser { setState(95); _errHandler.sync(this); _la = _input.LA(1); - while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << IMPORT) | (1L << TYPEDEF) | (1L << PRAGMA) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (STRUCT - 74)) | (1L << (ENUM - 74)) | (1L << (KICKASM - 74)) | (1L << (SIGNEDNESS - 74)) | (1L << (SIMPLETYPE - 74)))) != 0)) { + while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << IMPORT) | (1L << TYPEDEF) | (1L << PRAGMA) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (STRUCT - 74)) | (1L << (ENUM - 74)) | (1L << (KICKASM - 74)) | (1L << (SIGNEDNESS - 74)) | (1L << (SIMPLETYPE - 74)))) != 0)) { { { setState(92); @@ -363,7 +363,7 @@ public class KickCParser extends Parser { case EXPORT: case ALIGN: case REGISTER: - case MEMORY: + case NOTREGISTER: case ZEROPAGE: case MAINMEM: case INLINE: @@ -657,7 +657,7 @@ public class KickCParser extends Parser { setState(130); _errHandler.sync(this); _la = _input.LA(1); - while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0)) { + while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0)) { { { setState(127); @@ -673,7 +673,7 @@ public class KickCParser extends Parser { setState(137); _errHandler.sync(this); _la = _input.LA(1); - while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0)) { + while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0)) { { { setState(134); @@ -984,7 +984,7 @@ public class KickCParser extends Parser { setState(168); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (STRUCT - 74)) | (1L << (ENUM - 74)) | (1L << (SIGNEDNESS - 74)) | (1L << (SIMPLETYPE - 74)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (STRUCT - 74)) | (1L << (ENUM - 74)) | (1L << (SIGNEDNESS - 74)) | (1L << (SIMPLETYPE - 74)))) != 0)) { { setState(167); parameterListDecl(); @@ -998,7 +998,7 @@ public class KickCParser extends Parser { setState(173); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION) | (1L << IF))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION) | (1L << IF))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0)) { { setState(172); stmtSeq(); @@ -1685,6 +1685,23 @@ public class KickCParser extends Parser { else return visitor.visitChildren(this); } } + public static class DirectiveNotRegisterContext extends DirectiveContext { + public TerminalNode NOTREGISTER() { return getToken(KickCParser.NOTREGISTER, 0); } + public DirectiveNotRegisterContext(DirectiveContext ctx) { copyFrom(ctx); } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof KickCParserListener ) ((KickCParserListener)listener).enterDirectiveNotRegister(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof KickCParserListener ) ((KickCParserListener)listener).exitDirectiveNotRegister(this); + } + @Override + public <T> T accept(ParseTreeVisitor<? extends T> visitor) { + if ( visitor instanceof KickCParserVisitor ) return ((KickCParserVisitor<? extends T>)visitor).visitDirectiveNotRegister(this); + else return visitor.visitChildren(this); + } + } public static class DirectiveReserveZpContext extends DirectiveContext { public TerminalNode RESERVE() { return getToken(KickCParser.RESERVE, 0); } public TerminalNode PAR_BEGIN() { return getToken(KickCParser.PAR_BEGIN, 0); } @@ -1766,23 +1783,6 @@ public class KickCParser extends Parser { else return visitor.visitChildren(this); } } - public static class DirectiveMemoryContext extends DirectiveContext { - public TerminalNode MEMORY() { return getToken(KickCParser.MEMORY, 0); } - public DirectiveMemoryContext(DirectiveContext ctx) { copyFrom(ctx); } - @Override - public void enterRule(ParseTreeListener listener) { - if ( listener instanceof KickCParserListener ) ((KickCParserListener)listener).enterDirectiveMemory(this); - } - @Override - public void exitRule(ParseTreeListener listener) { - if ( listener instanceof KickCParserListener ) ((KickCParserListener)listener).exitDirectiveMemory(this); - } - @Override - public <T> T accept(ParseTreeVisitor<? extends T> visitor) { - if ( visitor instanceof KickCParserVisitor ) return ((KickCParserVisitor<? extends T>)visitor).visitDirectiveMemory(this); - else return visitor.visitChildren(this); - } - } public static class DirectiveCallingConventionContext extends DirectiveContext { public TerminalNode CALLINGCONVENTION() { return getToken(KickCParser.CALLINGCONVENTION, 0); } public DirectiveCallingConventionContext(DirectiveContext ctx) { copyFrom(ctx); } @@ -1891,12 +1891,12 @@ public class KickCParser extends Parser { } } break; - case MEMORY: - _localctx = new DirectiveMemoryContext(_localctx); + case NOTREGISTER: + _localctx = new DirectiveNotRegisterContext(_localctx); enterOuterAlt(_localctx, 6); { setState(267); - match(MEMORY); + match(NOTREGISTER); } break; case ZEROPAGE: @@ -2069,7 +2069,7 @@ public class KickCParser extends Parser { setState(299); _errHandler.sync(this); _la = _input.LA(1); - } while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION) | (1L << IF))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0) ); + } while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION) | (1L << IF))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0) ); } } catch (RecognitionException re) { @@ -2429,7 +2429,7 @@ public class KickCParser extends Parser { setState(306); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION) | (1L << IF))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION) | (1L << IF))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0)) { { setState(305); stmtSeq(); @@ -2485,7 +2485,7 @@ public class KickCParser extends Parser { setState(324); _errHandler.sync(this); _la = _input.LA(1); - while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0)) { + while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0)) { { { setState(321); @@ -2515,7 +2515,7 @@ public class KickCParser extends Parser { setState(336); _errHandler.sync(this); _la = _input.LA(1); - while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0)) { + while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0)) { { { setState(333); @@ -2549,7 +2549,7 @@ public class KickCParser extends Parser { setState(350); _errHandler.sync(this); _la = _input.LA(1); - while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0)) { + while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0)) { { { setState(347); @@ -2741,7 +2741,7 @@ public class KickCParser extends Parser { setState(395); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION) | (1L << IF))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION) | (1L << IF))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0)) { { setState(394); stmtSeq(); @@ -2808,7 +2808,7 @@ public class KickCParser extends Parser { setState(403); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION) | (1L << IF))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << CURLY_BEGIN) | (1L << PAR_BEGIN) | (1L << PLUS) | (1L << MINUS) | (1L << ASTERISK) | (1L << INC) | (1L << DEC) | (1L << AND) | (1L << BIT_NOT) | (1L << LESS_THAN) | (1L << GREATER_THAN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION) | (1L << IF))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (WHILE - 64)) | (1L << (DO - 64)) | (1L << (FOR - 64)) | (1L << (SWITCH - 64)) | (1L << (RETURN - 64)) | (1L << (BREAK - 64)) | (1L << (CONTINUE - 64)) | (1L << (ASM - 64)) | (1L << (STRUCT - 64)) | (1L << (ENUM - 64)) | (1L << (SIZEOF - 64)) | (1L << (TYPEID - 64)) | (1L << (KICKASM - 64)) | (1L << (LOGIC_NOT - 64)) | (1L << (SIGNEDNESS - 64)) | (1L << (SIMPLETYPE - 64)) | (1L << (BOOLEAN - 64)) | (1L << (STRING - 64)) | (1L << (CHAR - 64)) | (1L << (NUMBER - 64)) | (1L << (NAME - 64)))) != 0)) { { setState(402); stmtSeq(); @@ -2931,7 +2931,7 @@ public class KickCParser extends Parser { setState(413); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (STRUCT - 74)) | (1L << (ENUM - 74)) | (1L << (SIGNEDNESS - 74)) | (1L << (SIMPLETYPE - 74)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (STRUCT - 74)) | (1L << (ENUM - 74)) | (1L << (SIGNEDNESS - 74)) | (1L << (SIMPLETYPE - 74)))) != 0)) { { setState(412); declTypes(); @@ -3028,7 +3028,7 @@ public class KickCParser extends Parser { setState(424); _errHandler.sync(this); _la = _input.LA(1); - if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (STRUCT - 74)) | (1L << (ENUM - 74)) | (1L << (SIGNEDNESS - 74)) | (1L << (SIMPLETYPE - 74)))) != 0)) { + if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (STRUCT - 74)) | (1L << (ENUM - 74)) | (1L << (SIGNEDNESS - 74)) | (1L << (SIMPLETYPE - 74)))) != 0)) { { setState(423); declVariables(); @@ -3576,7 +3576,7 @@ public class KickCParser extends Parser { setState(473); _errHandler.sync(this); _la = _input.LA(1); - } while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << MEMORY) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (STRUCT - 74)) | (1L << (ENUM - 74)) | (1L << (SIGNEDNESS - 74)) | (1L << (SIMPLETYPE - 74)))) != 0) ); + } while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << TYPEDEFNAME) | (1L << PAR_BEGIN) | (1L << RESERVE) | (1L << CONST) | (1L << EXTERN) | (1L << EXPORT) | (1L << ALIGN) | (1L << REGISTER) | (1L << NOTREGISTER) | (1L << ZEROPAGE) | (1L << MAINMEM) | (1L << INLINE) | (1L << VOLATILE) | (1L << INTERRUPT) | (1L << CALLINGCONVENTION))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (STRUCT - 74)) | (1L << (ENUM - 74)) | (1L << (SIGNEDNESS - 74)) | (1L << (SIMPLETYPE - 74)))) != 0) ); setState(475); match(CURLY_END); } diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParser.tokens b/src/main/java/dk/camelot64/kickc/parser/KickCParser.tokens index 7e920fee0..087846e20 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCParser.tokens +++ b/src/main/java/dk/camelot64/kickc/parser/KickCParser.tokens @@ -51,7 +51,7 @@ EXTERN=50 EXPORT=51 ALIGN=52 REGISTER=53 -MEMORY=54 +NOTREGISTER=54 ZEROPAGE=55 MAINMEM=56 INLINE=57 @@ -171,7 +171,7 @@ ASM_COMMENT_BLOCK=139 'export'=51 'align'=52 'register'=53 -'memory'=54 +'notregister'=54 '__zp'=55 '__mem'=56 'inline'=57 diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseListener.java b/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseListener.java index 598f4349e..533dc5503 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseListener.java +++ b/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseListener.java @@ -378,13 +378,13 @@ public class KickCParserBaseListener implements KickCParserListener { * * <p>The default implementation does nothing.</p> */ - @Override public void enterDirectiveMemory(KickCParser.DirectiveMemoryContext ctx) { } + @Override public void enterDirectiveNotRegister(KickCParser.DirectiveNotRegisterContext ctx) { } /** * {@inheritDoc} * * <p>The default implementation does nothing.</p> */ - @Override public void exitDirectiveMemory(KickCParser.DirectiveMemoryContext ctx) { } + @Override public void exitDirectiveNotRegister(KickCParser.DirectiveNotRegisterContext ctx) { } /** * {@inheritDoc} * diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseVisitor.java b/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseVisitor.java index dd7fb39a0..f55e88be7 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseVisitor.java +++ b/src/main/java/dk/camelot64/kickc/parser/KickCParserBaseVisitor.java @@ -229,7 +229,7 @@ public class KickCParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> imple * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ - @Override public T visitDirectiveMemory(KickCParser.DirectiveMemoryContext ctx) { return visitChildren(ctx); } + @Override public T visitDirectiveNotRegister(KickCParser.DirectiveNotRegisterContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParserListener.java b/src/main/java/dk/camelot64/kickc/parser/KickCParserListener.java index c4134d584..ec702ff1d 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCParserListener.java +++ b/src/main/java/dk/camelot64/kickc/parser/KickCParserListener.java @@ -346,17 +346,17 @@ public interface KickCParserListener extends ParseTreeListener { */ void exitDirectiveRegister(KickCParser.DirectiveRegisterContext ctx); /** - * Enter a parse tree produced by the {@code directiveMemory} + * Enter a parse tree produced by the {@code directiveNotRegister} * labeled alternative in {@link KickCParser#directive}. * @param ctx the parse tree */ - void enterDirectiveMemory(KickCParser.DirectiveMemoryContext ctx); + void enterDirectiveNotRegister(KickCParser.DirectiveNotRegisterContext ctx); /** - * Exit a parse tree produced by the {@code directiveMemory} + * Exit a parse tree produced by the {@code directiveNotRegister} * labeled alternative in {@link KickCParser#directive}. * @param ctx the parse tree */ - void exitDirectiveMemory(KickCParser.DirectiveMemoryContext ctx); + void exitDirectiveNotRegister(KickCParser.DirectiveNotRegisterContext ctx); /** * Enter a parse tree produced by the {@code directiveMemoryArea} * labeled alternative in {@link KickCParser#directive}. diff --git a/src/main/java/dk/camelot64/kickc/parser/KickCParserVisitor.java b/src/main/java/dk/camelot64/kickc/parser/KickCParserVisitor.java index c000f77b0..bef095ca9 100644 --- a/src/main/java/dk/camelot64/kickc/parser/KickCParserVisitor.java +++ b/src/main/java/dk/camelot64/kickc/parser/KickCParserVisitor.java @@ -211,12 +211,12 @@ public interface KickCParserVisitor<T> extends ParseTreeVisitor<T> { */ T visitDirectiveRegister(KickCParser.DirectiveRegisterContext ctx); /** - * Visit a parse tree produced by the {@code directiveMemory} + * Visit a parse tree produced by the {@code directiveNotRegister} * labeled alternative in {@link KickCParser#directive}. * @param ctx the parse tree * @return the visitor result */ - T visitDirectiveMemory(KickCParser.DirectiveMemoryContext ctx); + T visitDirectiveNotRegister(KickCParser.DirectiveNotRegisterContext ctx); /** * Visit a parse tree produced by the {@code directiveMemoryArea} * labeled alternative in {@link KickCParser#directive}. diff --git a/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java b/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java index 682a777cc..60f2efa3b 100644 --- a/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java +++ b/src/main/java/dk/camelot64/kickc/passes/Pass0GenerateStatementSequence.java @@ -712,10 +712,10 @@ public class Pass0GenerateStatementSequence extends KickCParserBaseVisitor<Objec lValue.setDeclaredMemoryAddress(directiveMemoryArea.address); } } - } else if(directive instanceof DirectiveMemory) { - lValue.setDeclaredAsMemory(true); + } else if(directive instanceof DirectiveNotRegister) { + lValue.setDeclaredNotRegister(true); lValue.setStorageStrategy(SymbolVariable.StorageStrategy.LOAD_STORE); - lValue.setMemoryArea(SymbolVariable.MemoryArea.MAIN_MEMORY); + //lValue.setMemoryArea(SymbolVariable.MemoryArea.MAIN_MEMORY); } else if(directive instanceof DirectiveRegister) { DirectiveRegister directiveRegister = (DirectiveRegister) directive; lValue.setDeclaredAsRegister(true); @@ -833,8 +833,8 @@ public class Pass0GenerateStatementSequence extends KickCParserBaseVisitor<Objec } @Override - public Object visitDirectiveMemory(KickCParser.DirectiveMemoryContext ctx) { - return new DirectiveMemory(); + public Object visitDirectiveNotRegister(KickCParser.DirectiveNotRegisterContext ctx) { + return new DirectiveNotRegister(); } @Override @@ -1355,6 +1355,8 @@ public class Pass0GenerateStatementSequence extends KickCParserBaseVisitor<Objec CharStream stream = tokenStart.getInputStream(); int startIndex = tokenStart.getStartIndex(); int stopIndex = tokenStop.getStopIndex(); + if(stopIndex<startIndex) + return ""; Interval interval = new Interval(startIndex, stopIndex); return stream.getText(interval); } @@ -2252,10 +2254,10 @@ public class Pass0GenerateStatementSequence extends KickCParserBaseVisitor<Objec } - /** Variable memory declaration. */ - private static class DirectiveMemory implements Directive { + /** Variable not regsiter declaration. */ + private static class DirectiveNotRegister implements Directive { - public DirectiveMemory() { + public DirectiveNotRegister() { } } diff --git a/src/main/java/dk/camelot64/kickc/passes/Pass1PointifyMemoryVariables.java b/src/main/java/dk/camelot64/kickc/passes/Pass1PointifyMemoryVariables.java deleted file mode 100644 index 8d942b720..000000000 --- a/src/main/java/dk/camelot64/kickc/passes/Pass1PointifyMemoryVariables.java +++ /dev/null @@ -1,54 +0,0 @@ -package dk.camelot64.kickc.passes; - -import dk.camelot64.kickc.model.Program; -import dk.camelot64.kickc.model.iterator.ProgramValue; -import dk.camelot64.kickc.model.iterator.ProgramValueIterator; -import dk.camelot64.kickc.model.statements.StatementAssignment; -import dk.camelot64.kickc.model.symbols.ConstantVar; -import dk.camelot64.kickc.model.symbols.Scope; -import dk.camelot64.kickc.model.symbols.Variable; -import dk.camelot64.kickc.model.types.SymbolTypePointer; -import dk.camelot64.kickc.model.values.*; - -import java.util.HashMap; -import java.util.Map; - -/** Find memory variables and turn them into pointers */ -public class Pass1PointifyMemoryVariables extends Pass1Base { - - public Pass1PointifyMemoryVariables(Program program) { - super(program); - } - - @Override - public boolean step() { - Map<VariableRef, ConstantRef> memoryVarPointers = new HashMap<>(); - for(Variable variable : getScope().getAllVariables(true)) { - if(variable.isDeclaredAsMemory()) { - Scope scope = variable.getScope(); - String pointerName = variable.getLocalName() + "_ptr"; - if(scope.getSymbol(pointerName) == null) { - ConstantVar constantPointer = new ConstantVar(pointerName, scope, new SymbolTypePointer(variable.getType()), new ConstantSymbolPointer(variable.getRef()), variable.getDataSegment()); - scope.add(constantPointer); - memoryVarPointers.put(variable.getRef(), constantPointer.getRef()); - getLog().append("Adding memory variable constant pointer " + constantPointer.toString(getProgram())); - } - } - } - - ProgramValueIterator.execute(getGraph(), (programValue, currentStmt, stmtIt, currentBlock) -> { - Value value = programValue.get(); - if(memoryVarPointers.containsKey(value)) { - if(programValue instanceof ProgramValue.ProgramValueLValue && currentStmt instanceof StatementAssignment) { - if(((StatementAssignment) currentStmt).getrValue2() instanceof StructUnwoundPlaceholder) - // Skip unwound structs! - return; - } - programValue.set(new PointerDereferenceSimple(memoryVarPointers.get(value))); - getLog().append("Updating memory variable reference " + programValue.get().toString(getProgram())); - } - }); - return memoryVarPointers.size() > 0; - } - -} diff --git a/src/main/java/dk/camelot64/kickc/passes/Pass1ProcedureInline.java b/src/main/java/dk/camelot64/kickc/passes/Pass1ProcedureInline.java index db79e69c9..7ce0eb3da 100644 --- a/src/main/java/dk/camelot64/kickc/passes/Pass1ProcedureInline.java +++ b/src/main/java/dk/camelot64/kickc/passes/Pass1ProcedureInline.java @@ -305,7 +305,7 @@ public class Pass1ProcedureInline extends Pass1Base { inlineVar.setDeclaredAlignment(procVar.getDeclaredAlignment()); inlineVar.setDeclaredConstant(procVar.isDeclaredConstant()); inlineVar.setDeclaredAsRegister(procVar.isDeclaredAsRegister()); - inlineVar.setDeclaredAsMemory(procVar.isDeclaredAsMemory()); + inlineVar.setDeclaredNotRegister(procVar.isDeclaredAsNotRegister()); inlineVar.setDeclaredRegister(procVar.getDeclaredRegister()); inlineVar.setDeclaredMemoryAddress(procVar.getDeclaredMemoryAddress()); inlineVar.setStorageStrategy(procVar.getStorageStrategy()); diff --git a/src/main/java/dk/camelot64/kickc/passes/Pass2ConstantIdentification.java b/src/main/java/dk/camelot64/kickc/passes/Pass2ConstantIdentification.java index be35a8359..a57dd9f7d 100644 --- a/src/main/java/dk/camelot64/kickc/passes/Pass2ConstantIdentification.java +++ b/src/main/java/dk/camelot64/kickc/passes/Pass2ConstantIdentification.java @@ -83,7 +83,7 @@ public class Pass2ConstantIdentification extends Pass2SsaOptimization { constantVar.setDeclaredAlignment(variable.getDeclaredAlignment()); constantVar.setDeclaredAsRegister(variable.isDeclaredAsRegister()); constantVar.setDeclaredRegister(variable.getDeclaredRegister()); - constantVar.setDeclaredAsMemory(variable.isDeclaredAsMemory()); + constantVar.setDeclaredNotRegister(variable.isDeclaredAsNotRegister()); constantVar.setDeclaredMemoryAddress(variable.getDeclaredMemoryAddress()); constantVar.setDeclaredExport(variable.isDeclaredExport()); if(variable.getComments().size() > 0) { diff --git a/src/main/java/dk/camelot64/kickc/passes/utils/Unroller.java b/src/main/java/dk/camelot64/kickc/passes/utils/Unroller.java index a7327ec43..4899c458f 100644 --- a/src/main/java/dk/camelot64/kickc/passes/utils/Unroller.java +++ b/src/main/java/dk/camelot64/kickc/passes/utils/Unroller.java @@ -233,7 +233,7 @@ public class Unroller { newVar.setType(definedVar.getType()); newVar.setDeclaredAsRegister(definedVar.isDeclaredAsRegister()); newVar.setDeclaredRegister(definedVar.getDeclaredRegister()); - newVar.setDeclaredAsMemory(definedVar.isDeclaredAsMemory()); + newVar.setDeclaredNotRegister(definedVar.isDeclaredAsNotRegister()); newVar.setDeclaredMemoryAddress(definedVar.getDeclaredMemoryAddress()); newVar.setStorageStrategy(definedVar.getStorageStrategy()); newVar.setMemoryArea(definedVar.getMemoryArea()); diff --git a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java index f507f1a47..b5741de81 100644 --- a/src/test/java/dk/camelot64/kickc/test/TestPrograms.java +++ b/src/test/java/dk/camelot64/kickc/test/TestPrograms.java @@ -37,6 +37,11 @@ public class TestPrograms { public TestPrograms() { } + @Test + public void testDeclaredMemoryVar6() throws IOException, URISyntaxException { + compileAndCompare("declared-memory-var-6"); + } + @Test public void testDeclaredMemoryVar5() throws IOException, URISyntaxException { compileAndCompare("declared-memory-var-5"); diff --git a/src/test/kc/declared-memory-var-0.kc b/src/test/kc/declared-memory-var-0.kc index 198f87789..d29c6e716 100644 --- a/src/test/kc/declared-memory-var-0.kc +++ b/src/test/kc/declared-memory-var-0.kc @@ -1,6 +1,6 @@ // Test declaring a variable as "memory", meaning it will be stored in memory and accessed through an implicit pointer (using load/store) -memory char idx; +notregister __mem char idx; const char* SCREEN = 0x0400; diff --git a/src/test/kc/declared-memory-var-1.kc b/src/test/kc/declared-memory-var-1.kc index 1b83b6ea7..fd84683c1 100644 --- a/src/test/kc/declared-memory-var-1.kc +++ b/src/test/kc/declared-memory-var-1.kc @@ -1,7 +1,7 @@ // Test declaring a variable as "memory", meaning it will be stored in memory and accessed through an implicit pointer (using load/store) // Test a pointer to a memory variable -memory char idx; +notregister __mem char idx; char* idx_p = &idx; const char* SCREEN = 0x0400; diff --git a/src/test/kc/declared-memory-var-2.kc b/src/test/kc/declared-memory-var-2.kc index 248a3abbf..4088f3b0c 100644 --- a/src/test/kc/declared-memory-var-2.kc +++ b/src/test/kc/declared-memory-var-2.kc @@ -3,7 +3,7 @@ const char* SCREEN = 0x0400; -memory char* cursor = SCREEN; +notregister __mem char* cursor = SCREEN; void main() { for( char i: 0..24 ) { diff --git a/src/test/kc/declared-memory-var-3.kc b/src/test/kc/declared-memory-var-3.kc index 0e3bab13c..9d56f3418 100644 --- a/src/test/kc/declared-memory-var-3.kc +++ b/src/test/kc/declared-memory-var-3.kc @@ -6,7 +6,7 @@ struct foo { char thing2; }; -memory struct foo bar = { 'a', 'b' }; +notregister __mem struct foo bar = { 'a', 'b' }; void main(void) { struct foo* barp = &bar; diff --git a/src/test/kc/declared-memory-var-4.kc b/src/test/kc/declared-memory-var-4.kc index 06ac3295d..4136e494c 100644 --- a/src/test/kc/declared-memory-var-4.kc +++ b/src/test/kc/declared-memory-var-4.kc @@ -7,7 +7,7 @@ struct foo { char[12] thing3; }; -memory struct foo bar = { 'a', 'b', "qwe" }; +notregister __mem struct foo bar = { 'a', 'b', "qwe" }; void main(void) { struct foo* barp = &bar; diff --git a/src/test/kc/declared-memory-var-5.kc b/src/test/kc/declared-memory-var-5.kc index 2bc4a7020..2c89e5d58 100644 --- a/src/test/kc/declared-memory-var-5.kc +++ b/src/test/kc/declared-memory-var-5.kc @@ -6,7 +6,7 @@ struct foo { char thing2; }; -memory struct foo bar = { 'a', 'b' }; +notregister __mem struct foo bar = { 'a', 'b' }; void main(void) { const char* SCREEN = 0x0400; diff --git a/src/test/kc/declared-memory-var-6.kc b/src/test/kc/declared-memory-var-6.kc new file mode 100644 index 000000000..d8c7cb22f --- /dev/null +++ b/src/test/kc/declared-memory-var-6.kc @@ -0,0 +1,49 @@ +// Test declaring a variable as "memory", meaning it will be stored in memory and accessed through an implicit pointer (using load/store) + +const char* SCREEN = 0x0400; +char i=0; + +void main(void) { + + char register __zp reg_zp_flex = '.'; + char register __zp(0x10) reg_zp_abs = '.'; + char register __mem reg_mem_flex = '.'; + char register __mem(0x1000) reg_mem_abs = '.'; + char notregister __zp notreg_zp_flex = '.'; + char notregister __zp(0x10) notreg_zp_abs = '.'; + char notregister __mem notreg_mem_flex = '.'; + char notregister __mem(0x1000) notreg_mem_abs = '.'; + + char default_default = '.'; + char register reg_default = '.'; + char notregister notreg_default = '.'; + char __zp default_zp_flex = '.'; + char __zp(0x10) default_zp_abs = '.'; + char __mem default_mem_flex = '.'; + char __mem(0x1000) default_mem_abs = '.'; + + out(reg_zp_flex); + out(reg_zp_abs); + out(reg_mem_flex); + out(reg_mem_abs); + out(notreg_zp_flex); + out(notreg_zp_abs); + out(notreg_mem_flex); + out(notreg_mem_abs); + + out(default_default); + out(reg_default); + out(notreg_default); + out(default_zp_flex); + out(default_zp_abs); + out(default_mem_flex); + out(default_mem_abs); + +} + +void out(char c) { + SCREEN[i++] = c; +} + + + diff --git a/src/test/ref/declared-memory-var-6.asm b/src/test/ref/declared-memory-var-6.asm new file mode 100644 index 000000000..eff87523f --- /dev/null +++ b/src/test/ref/declared-memory-var-6.asm @@ -0,0 +1,67 @@ +// Test declaring a variable as "memory", meaning it will be stored in memory and accessed through an implicit pointer (using load/store) +.pc = $801 "Basic" +:BasicUpstart(main) +.pc = $80d "Program" + .label SCREEN = $400 +main: { + .const reg_zp_flex = '.' + .const reg_zp_abs = '.' + .const reg_mem_flex = '.' + .const reg_mem_abs = '.' + .const default_default = '.' + .const reg_default = '.' + .const default_zp_flex = '.' + .const default_zp_abs = '.' + .const default_mem_flex = '.' + .const default_mem_abs = '.' + .label notreg_zp_flex = 2 + .label notreg_zp_abs = $10 + .label notreg_default = 3 + lda #'.' + sta.z notreg_zp_flex + sta.z notreg_zp_abs + sta notreg_mem_flex + sta notreg_mem_abs + sta.z notreg_default + ldy #0 + ldx #reg_zp_flex + jsr out + ldx #reg_zp_abs + jsr out + ldx #reg_mem_flex + jsr out + ldx #reg_mem_abs + jsr out + ldx.z notreg_zp_flex + jsr out + ldx.z notreg_zp_abs + jsr out + ldx notreg_mem_flex + jsr out + ldx notreg_mem_abs + jsr out + ldx #default_default + jsr out + ldx #reg_default + jsr out + ldx.z notreg_default + jsr out + ldx #default_zp_flex + jsr out + ldx #default_zp_abs + jsr out + ldx #default_mem_flex + jsr out + ldx #default_mem_abs + jsr out + rts + notreg_mem_flex: .byte 0 + notreg_mem_abs: .byte 0 +} +// out(byte register(X) c) +out: { + txa + sta SCREEN,y + iny + rts +} diff --git a/src/test/ref/declared-memory-var-6.cfg b/src/test/ref/declared-memory-var-6.cfg new file mode 100644 index 000000000..66f655503 --- /dev/null +++ b/src/test/ref/declared-memory-var-6.cfg @@ -0,0 +1,89 @@ +@begin: scope:[] from + [0] phi() + to:@1 +@1: scope:[] from @begin + [1] phi() + [2] call main + to:@end +@end: scope:[] from @1 + [3] phi() + +(void()) main() +main: scope:[main] from @1 + [4] (byte) main::notreg_zp_flex ← (byte) '.' + [5] (byte) main::notreg_zp_abs ← (byte) '.' + [6] (byte) main::notreg_mem_flex ← (byte) '.' + [7] (byte) main::notreg_mem_abs ← (byte) '.' + [8] (byte) main::notreg_default ← (byte) '.' + [9] call out + to:main::@1 +main::@1: scope:[main] from main + [10] phi() + [11] call out + to:main::@2 +main::@2: scope:[main] from main::@1 + [12] phi() + [13] call out + to:main::@3 +main::@3: scope:[main] from main::@2 + [14] phi() + [15] call out + to:main::@4 +main::@4: scope:[main] from main::@3 + [16] (byte) out::c#4 ← (byte) main::notreg_zp_flex + [17] call out + to:main::@5 +main::@5: scope:[main] from main::@4 + [18] (byte) out::c#5 ← (byte) main::notreg_zp_abs + [19] call out + to:main::@6 +main::@6: scope:[main] from main::@5 + [20] (byte) out::c#6 ← (byte) main::notreg_mem_flex + [21] call out + to:main::@7 +main::@7: scope:[main] from main::@6 + [22] (byte) out::c#7 ← (byte) main::notreg_mem_abs + [23] call out + to:main::@8 +main::@8: scope:[main] from main::@7 + [24] phi() + [25] call out + to:main::@9 +main::@9: scope:[main] from main::@8 + [26] phi() + [27] call out + to:main::@10 +main::@10: scope:[main] from main::@9 + [28] (byte) out::c#10 ← (byte) main::notreg_default + [29] call out + to:main::@11 +main::@11: scope:[main] from main::@10 + [30] phi() + [31] call out + to:main::@12 +main::@12: scope:[main] from main::@11 + [32] phi() + [33] call out + to:main::@13 +main::@13: scope:[main] from main::@12 + [34] phi() + [35] call out + to:main::@14 +main::@14: scope:[main] from main::@13 + [36] phi() + [37] call out + to:main::@return +main::@return: scope:[main] from main::@14 + [38] return + to:@return + +(void()) out((byte) out::c) +out: scope:[out] from main main::@1 main::@10 main::@11 main::@12 main::@13 main::@14 main::@2 main::@3 main::@4 main::@5 main::@6 main::@7 main::@8 main::@9 + [39] (byte) i#36 ← phi( main/(byte) 0 main::@1/(byte) i#17 main::@10/(byte) i#17 main::@11/(byte) i#17 main::@12/(byte) i#17 main::@13/(byte) i#17 main::@14/(byte) i#17 main::@2/(byte) i#17 main::@3/(byte) i#17 main::@4/(byte) i#17 main::@5/(byte) i#17 main::@6/(byte) i#17 main::@7/(byte) i#17 main::@8/(byte) i#17 main::@9/(byte) i#17 ) + [39] (byte) out::c#15 ← phi( main/(const byte) main::reg_zp_flex main::@1/(const byte) main::reg_zp_abs main::@10/(byte) out::c#10 main::@11/(const byte) main::default_zp_flex main::@12/(const byte) main::default_zp_abs main::@13/(const byte) main::default_mem_flex main::@14/(const byte) main::default_mem_abs main::@2/(const byte) main::reg_mem_flex main::@3/(const byte) main::reg_mem_abs main::@4/(byte) out::c#4 main::@5/(byte) out::c#5 main::@6/(byte) out::c#6 main::@7/(byte) out::c#7 main::@8/(const byte) main::default_default main::@9/(const byte) main::reg_default ) + [40] *((const byte*) SCREEN + (byte) i#36) ← (byte) out::c#15 + [41] (byte) i#17 ← ++ (byte) i#36 + to:out::@return +out::@return: scope:[out] from out + [42] return + to:@return diff --git a/src/test/ref/declared-memory-var-6.log b/src/test/ref/declared-memory-var-6.log new file mode 100644 index 000000000..39812234a --- /dev/null +++ b/src/test/ref/declared-memory-var-6.log @@ -0,0 +1,1418 @@ +Identified constant variable (byte) main::reg_zp_flex +Identified constant variable (byte) main::reg_zp_abs +Identified constant variable (byte) main::reg_mem_flex +Identified constant variable (byte) main::reg_mem_abs +Identified constant variable (byte) main::default_default +Identified constant variable (byte) main::reg_default +Identified constant variable (byte) main::default_zp_flex +Identified constant variable (byte) main::default_zp_abs +Identified constant variable (byte) main::default_mem_flex +Identified constant variable (byte) main::default_mem_abs +Culled Empty Block (label) @1 + +CONTROL FLOW GRAPH SSA +@begin: scope:[] from + (byte*) SCREEN ← ((byte*)) (number) $400 + (byte) i#0 ← (number) 0 + to:@2 + +(void()) main() +main: scope:[main] from @2 + (byte) i#39 ← phi( @2/(byte) i#40 ) + (byte) main::reg_zp_flex ← (byte) '.' + (byte) main::reg_zp_abs ← (byte) '.' + (byte) main::reg_mem_flex ← (byte) '.' + (byte) main::reg_mem_abs ← (byte) '.' + (byte) main::notreg_zp_flex ← (byte) '.' + (byte) main::notreg_zp_abs ← (byte) '.' + (byte) main::notreg_mem_flex ← (byte) '.' + (byte) main::notreg_mem_abs ← (byte) '.' + (byte) main::default_default ← (byte) '.' + (byte) main::reg_default ← (byte) '.' + (byte) main::notreg_default ← (byte) '.' + (byte) main::default_zp_flex ← (byte) '.' + (byte) main::default_zp_abs ← (byte) '.' + (byte) main::default_mem_flex ← (byte) '.' + (byte) main::default_mem_abs ← (byte) '.' + (byte) out::c#0 ← (byte) main::reg_zp_flex + call out + to:main::@1 +main::@1: scope:[main] from main + (byte) i#20 ← phi( main/(byte) i#18 ) + (byte) i#1 ← (byte) i#20 + (byte) out::c#1 ← (byte) main::reg_zp_abs + call out + to:main::@2 +main::@2: scope:[main] from main::@1 + (byte) i#21 ← phi( main::@1/(byte) i#18 ) + (byte) i#2 ← (byte) i#21 + (byte) out::c#2 ← (byte) main::reg_mem_flex + call out + to:main::@3 +main::@3: scope:[main] from main::@2 + (byte) i#22 ← phi( main::@2/(byte) i#18 ) + (byte) i#3 ← (byte) i#22 + (byte) out::c#3 ← (byte) main::reg_mem_abs + call out + to:main::@4 +main::@4: scope:[main] from main::@3 + (byte) i#23 ← phi( main::@3/(byte) i#18 ) + (byte) i#4 ← (byte) i#23 + (byte) out::c#4 ← (byte) main::notreg_zp_flex + call out + to:main::@5 +main::@5: scope:[main] from main::@4 + (byte) i#24 ← phi( main::@4/(byte) i#18 ) + (byte) i#5 ← (byte) i#24 + (byte) out::c#5 ← (byte) main::notreg_zp_abs + call out + to:main::@6 +main::@6: scope:[main] from main::@5 + (byte) i#25 ← phi( main::@5/(byte) i#18 ) + (byte) i#6 ← (byte) i#25 + (byte) out::c#6 ← (byte) main::notreg_mem_flex + call out + to:main::@7 +main::@7: scope:[main] from main::@6 + (byte) i#26 ← phi( main::@6/(byte) i#18 ) + (byte) i#7 ← (byte) i#26 + (byte) out::c#7 ← (byte) main::notreg_mem_abs + call out + to:main::@8 +main::@8: scope:[main] from main::@7 + (byte) i#27 ← phi( main::@7/(byte) i#18 ) + (byte) i#8 ← (byte) i#27 + (byte) out::c#8 ← (byte) main::default_default + call out + to:main::@9 +main::@9: scope:[main] from main::@8 + (byte) i#28 ← phi( main::@8/(byte) i#18 ) + (byte) i#9 ← (byte) i#28 + (byte) out::c#9 ← (byte) main::reg_default + call out + to:main::@10 +main::@10: scope:[main] from main::@9 + (byte) i#29 ← phi( main::@9/(byte) i#18 ) + (byte) i#10 ← (byte) i#29 + (byte) out::c#10 ← (byte) main::notreg_default + call out + to:main::@11 +main::@11: scope:[main] from main::@10 + (byte) i#30 ← phi( main::@10/(byte) i#18 ) + (byte) i#11 ← (byte) i#30 + (byte) out::c#11 ← (byte) main::default_zp_flex + call out + to:main::@12 +main::@12: scope:[main] from main::@11 + (byte) i#31 ← phi( main::@11/(byte) i#18 ) + (byte) i#12 ← (byte) i#31 + (byte) out::c#12 ← (byte) main::default_zp_abs + call out + to:main::@13 +main::@13: scope:[main] from main::@12 + (byte) i#32 ← phi( main::@12/(byte) i#18 ) + (byte) i#13 ← (byte) i#32 + (byte) out::c#13 ← (byte) main::default_mem_flex + call out + to:main::@14 +main::@14: scope:[main] from main::@13 + (byte) i#33 ← phi( main::@13/(byte) i#18 ) + (byte) i#14 ← (byte) i#33 + (byte) out::c#14 ← (byte) main::default_mem_abs + call out + to:main::@15 +main::@15: scope:[main] from main::@14 + (byte) i#34 ← phi( main::@14/(byte) i#18 ) + (byte) i#15 ← (byte) i#34 + to:main::@return +main::@return: scope:[main] from main::@15 + (byte) i#35 ← phi( main::@15/(byte) i#15 ) + (byte) i#16 ← (byte) i#35 + return + to:@return + +(void()) out((byte) out::c) +out: scope:[out] from main main::@1 main::@10 main::@11 main::@12 main::@13 main::@14 main::@2 main::@3 main::@4 main::@5 main::@6 main::@7 main::@8 main::@9 + (byte) i#36 ← phi( main/(byte) i#39 main::@1/(byte) i#1 main::@10/(byte) i#10 main::@11/(byte) i#11 main::@12/(byte) i#12 main::@13/(byte) i#13 main::@14/(byte) i#14 main::@2/(byte) i#2 main::@3/(byte) i#3 main::@4/(byte) i#4 main::@5/(byte) i#5 main::@6/(byte) i#6 main::@7/(byte) i#7 main::@8/(byte) i#8 main::@9/(byte) i#9 ) + (byte) out::c#15 ← phi( main/(byte) out::c#0 main::@1/(byte) out::c#1 main::@10/(byte) out::c#10 main::@11/(byte) out::c#11 main::@12/(byte) out::c#12 main::@13/(byte) out::c#13 main::@14/(byte) out::c#14 main::@2/(byte) out::c#2 main::@3/(byte) out::c#3 main::@4/(byte) out::c#4 main::@5/(byte) out::c#5 main::@6/(byte) out::c#6 main::@7/(byte) out::c#7 main::@8/(byte) out::c#8 main::@9/(byte) out::c#9 ) + *((byte*) SCREEN + (byte) i#36) ← (byte) out::c#15 + (byte) i#17 ← ++ (byte) i#36 + to:out::@return +out::@return: scope:[out] from out + (byte) i#37 ← phi( out/(byte) i#17 ) + (byte) i#18 ← (byte) i#37 + return + to:@return +@2: scope:[] from @begin + (byte) i#40 ← phi( @begin/(byte) i#0 ) + call main + to:@3 +@3: scope:[] from @2 + (byte) i#38 ← phi( @2/(byte) i#16 ) + (byte) i#19 ← (byte) i#38 + to:@end +@end: scope:[] from @3 + +SYMBOL TABLE SSA +(label) @2 +(label) @3 +(label) @begin +(label) @end +(byte*) SCREEN +(byte) i +(byte) i#0 +(byte) i#1 +(byte) i#10 +(byte) i#11 +(byte) i#12 +(byte) i#13 +(byte) i#14 +(byte) i#15 +(byte) i#16 +(byte) i#17 +(byte) i#18 +(byte) i#19 +(byte) i#2 +(byte) i#20 +(byte) i#21 +(byte) i#22 +(byte) i#23 +(byte) i#24 +(byte) i#25 +(byte) i#26 +(byte) i#27 +(byte) i#28 +(byte) i#29 +(byte) i#3 +(byte) i#30 +(byte) i#31 +(byte) i#32 +(byte) i#33 +(byte) i#34 +(byte) i#35 +(byte) i#36 +(byte) i#37 +(byte) i#38 +(byte) i#39 +(byte) i#4 +(byte) i#40 +(byte) i#5 +(byte) i#6 +(byte) i#7 +(byte) i#8 +(byte) i#9 +(void()) main() +(label) main::@1 +(label) main::@10 +(label) main::@11 +(label) main::@12 +(label) main::@13 +(label) main::@14 +(label) main::@15 +(label) main::@2 +(label) main::@3 +(label) main::@4 +(label) main::@5 +(label) main::@6 +(label) main::@7 +(label) main::@8 +(label) main::@9 +(label) main::@return +(byte) main::default_default +(byte) main::default_mem_abs +(byte) main::default_mem_flex +(byte) main::default_zp_abs !zp[-1]:16 +(byte) main::default_zp_flex +(byte) main::notreg_default memory +(byte) main::notreg_mem_abs memory +(byte) main::notreg_mem_flex memory +(byte) main::notreg_zp_abs memory !zp[-1]:16 +(byte) main::notreg_zp_flex memory +(byte) main::reg_default +(byte) main::reg_mem_abs +(byte) main::reg_mem_flex +(byte) main::reg_zp_abs !zp[-1]:16 +(byte) main::reg_zp_flex +(void()) out((byte) out::c) +(label) out::@return +(byte) out::c +(byte) out::c#0 +(byte) out::c#1 +(byte) out::c#10 +(byte) out::c#11 +(byte) out::c#12 +(byte) out::c#13 +(byte) out::c#14 +(byte) out::c#15 +(byte) out::c#2 +(byte) out::c#3 +(byte) out::c#4 +(byte) out::c#5 +(byte) out::c#6 +(byte) out::c#7 +(byte) out::c#8 +(byte) out::c#9 + +Adding number conversion cast (unumber) 0 in (byte) i#0 ← (number) 0 +Successful SSA optimization PassNAddNumberTypeConversions +Inlining cast (byte*) SCREEN ← (byte*)(number) $400 +Inlining cast (byte) i#0 ← (unumber)(number) 0 +Successful SSA optimization Pass2InlineCast +Simplifying constant pointer cast (byte*) 1024 +Simplifying constant integer cast 0 +Successful SSA optimization PassNCastSimplification +Finalized unsigned number type (byte) 0 +Successful SSA optimization PassNFinalizeNumberTypeConversions +Alias (byte) i#1 = (byte) i#20 +Alias (byte) i#2 = (byte) i#21 +Alias (byte) i#22 = (byte) i#3 +Alias (byte) i#23 = (byte) i#4 +Alias (byte) i#24 = (byte) i#5 +Alias (byte) i#25 = (byte) i#6 +Alias (byte) i#26 = (byte) i#7 +Alias (byte) i#27 = (byte) i#8 +Alias (byte) i#28 = (byte) i#9 +Alias (byte) i#10 = (byte) i#29 +Alias (byte) i#11 = (byte) i#30 +Alias (byte) i#12 = (byte) i#31 +Alias (byte) i#13 = (byte) i#32 +Alias (byte) i#14 = (byte) i#33 +Alias (byte) i#15 = (byte) i#34 (byte) i#35 (byte) i#16 +Alias (byte) i#17 = (byte) i#37 (byte) i#18 +Alias (byte) i#0 = (byte) i#40 +Alias (byte) i#19 = (byte) i#38 +Successful SSA optimization Pass2AliasElimination +Identical Phi Values (byte) i#39 (byte) i#0 +Identical Phi Values (byte) i#1 (byte) i#17 +Identical Phi Values (byte) i#2 (byte) i#17 +Identical Phi Values (byte) i#22 (byte) i#17 +Identical Phi Values (byte) i#23 (byte) i#17 +Identical Phi Values (byte) i#24 (byte) i#17 +Identical Phi Values (byte) i#25 (byte) i#17 +Identical Phi Values (byte) i#26 (byte) i#17 +Identical Phi Values (byte) i#27 (byte) i#17 +Identical Phi Values (byte) i#28 (byte) i#17 +Identical Phi Values (byte) i#10 (byte) i#17 +Identical Phi Values (byte) i#11 (byte) i#17 +Identical Phi Values (byte) i#12 (byte) i#17 +Identical Phi Values (byte) i#13 (byte) i#17 +Identical Phi Values (byte) i#14 (byte) i#17 +Identical Phi Values (byte) i#15 (byte) i#17 +Identical Phi Values (byte) i#19 (byte) i#15 +Successful SSA optimization Pass2IdenticalPhiElimination +Constant (const byte*) SCREEN = (byte*) 1024 +Constant (const byte) i#0 = 0 +Constant (const byte) main::reg_zp_flex = '.' +Constant (const byte) main::reg_zp_abs = '.' +Constant (const byte) main::reg_mem_flex = '.' +Constant (const byte) main::reg_mem_abs = '.' +Constant (const byte) main::default_default = '.' +Constant (const byte) main::reg_default = '.' +Constant (const byte) main::default_zp_flex = '.' +Constant (const byte) main::default_zp_abs = '.' +Constant (const byte) main::default_mem_flex = '.' +Constant (const byte) main::default_mem_abs = '.' +Successful SSA optimization Pass2ConstantIdentification +Constant (const byte) out::c#0 = main::reg_zp_flex +Constant (const byte) out::c#1 = main::reg_zp_abs +Constant (const byte) out::c#2 = main::reg_mem_flex +Constant (const byte) out::c#3 = main::reg_mem_abs +Constant (const byte) out::c#8 = main::default_default +Constant (const byte) out::c#9 = main::reg_default +Constant (const byte) out::c#11 = main::default_zp_flex +Constant (const byte) out::c#12 = main::default_zp_abs +Constant (const byte) out::c#13 = main::default_mem_flex +Constant (const byte) out::c#14 = main::default_mem_abs +Successful SSA optimization Pass2ConstantIdentification +Inlining constant with var siblings (const byte) out::c#0 +Inlining constant with var siblings (const byte) out::c#1 +Inlining constant with var siblings (const byte) out::c#2 +Inlining constant with var siblings (const byte) out::c#3 +Inlining constant with var siblings (const byte) out::c#8 +Inlining constant with var siblings (const byte) out::c#9 +Inlining constant with var siblings (const byte) out::c#11 +Inlining constant with var siblings (const byte) out::c#12 +Inlining constant with var siblings (const byte) out::c#13 +Inlining constant with var siblings (const byte) out::c#14 +Inlining constant with var siblings (const byte) i#0 +Constant inlined out::c#8 = (const byte) main::default_default +Constant inlined out::c#13 = (const byte) main::default_mem_flex +Constant inlined out::c#9 = (const byte) main::reg_default +Constant inlined out::c#14 = (const byte) main::default_mem_abs +Constant inlined i#0 = (byte) 0 +Constant inlined out::c#0 = (const byte) main::reg_zp_flex +Constant inlined out::c#1 = (const byte) main::reg_zp_abs +Constant inlined out::c#2 = (const byte) main::reg_mem_flex +Constant inlined out::c#11 = (const byte) main::default_zp_flex +Constant inlined out::c#3 = (const byte) main::reg_mem_abs +Constant inlined out::c#12 = (const byte) main::default_zp_abs +Successful SSA optimization Pass2ConstantInlining +Adding NOP phi() at start of @begin +Adding NOP phi() at start of @2 +Adding NOP phi() at start of @3 +Adding NOP phi() at start of @end +Adding NOP phi() at start of main::@15 +CALL GRAPH +Calls in [] to main:2 +Calls in [main] to out:10 out:12 out:14 out:16 out:20 out:24 out:28 out:32 out:34 out:36 out:40 out:42 out:44 out:46 out:48 + +Created 2 initial phi equivalence classes +Coalesced [11] i#41 ← i#17 +Coalesced (already) [13] i#47 ← i#17 +Coalesced (already) [15] i#48 ← i#17 +Coalesced [18] out::c#17 ← out::c#4 +Coalesced (already) [19] i#49 ← i#17 +Coalesced [22] out::c#18 ← out::c#5 +Coalesced (already) [23] i#50 ← i#17 +Coalesced [26] out::c#19 ← out::c#6 +Coalesced (already) [27] i#51 ← i#17 +Coalesced [30] out::c#20 ← out::c#7 +Coalesced (already) [31] i#52 ← i#17 +Coalesced (already) [33] i#53 ← i#17 +Coalesced (already) [35] i#54 ← i#17 +Coalesced [38] out::c#16 ← out::c#10 +Coalesced (already) [39] i#42 ← i#17 +Coalesced (already) [41] i#43 ← i#17 +Coalesced (already) [43] i#44 ← i#17 +Coalesced (already) [45] i#45 ← i#17 +Coalesced (already) [47] i#46 ← i#17 +Coalesced down to 2 phi equivalence classes +Culled Empty Block (label) @3 +Culled Empty Block (label) main::@15 +Renumbering block @2 to @1 +Adding NOP phi() at start of @begin +Adding NOP phi() at start of @1 +Adding NOP phi() at start of @end +Adding NOP phi() at start of main::@1 +Adding NOP phi() at start of main::@2 +Adding NOP phi() at start of main::@3 +Adding NOP phi() at start of main::@8 +Adding NOP phi() at start of main::@9 +Adding NOP phi() at start of main::@11 +Adding NOP phi() at start of main::@12 +Adding NOP phi() at start of main::@13 +Adding NOP phi() at start of main::@14 + +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() + +(void()) main() +main: scope:[main] from @1 + [4] (byte) main::notreg_zp_flex ← (byte) '.' + [5] (byte) main::notreg_zp_abs ← (byte) '.' + [6] (byte) main::notreg_mem_flex ← (byte) '.' + [7] (byte) main::notreg_mem_abs ← (byte) '.' + [8] (byte) main::notreg_default ← (byte) '.' + [9] call out + to:main::@1 +main::@1: scope:[main] from main + [10] phi() + [11] call out + to:main::@2 +main::@2: scope:[main] from main::@1 + [12] phi() + [13] call out + to:main::@3 +main::@3: scope:[main] from main::@2 + [14] phi() + [15] call out + to:main::@4 +main::@4: scope:[main] from main::@3 + [16] (byte) out::c#4 ← (byte) main::notreg_zp_flex + [17] call out + to:main::@5 +main::@5: scope:[main] from main::@4 + [18] (byte) out::c#5 ← (byte) main::notreg_zp_abs + [19] call out + to:main::@6 +main::@6: scope:[main] from main::@5 + [20] (byte) out::c#6 ← (byte) main::notreg_mem_flex + [21] call out + to:main::@7 +main::@7: scope:[main] from main::@6 + [22] (byte) out::c#7 ← (byte) main::notreg_mem_abs + [23] call out + to:main::@8 +main::@8: scope:[main] from main::@7 + [24] phi() + [25] call out + to:main::@9 +main::@9: scope:[main] from main::@8 + [26] phi() + [27] call out + to:main::@10 +main::@10: scope:[main] from main::@9 + [28] (byte) out::c#10 ← (byte) main::notreg_default + [29] call out + to:main::@11 +main::@11: scope:[main] from main::@10 + [30] phi() + [31] call out + to:main::@12 +main::@12: scope:[main] from main::@11 + [32] phi() + [33] call out + to:main::@13 +main::@13: scope:[main] from main::@12 + [34] phi() + [35] call out + to:main::@14 +main::@14: scope:[main] from main::@13 + [36] phi() + [37] call out + to:main::@return +main::@return: scope:[main] from main::@14 + [38] return + to:@return + +(void()) out((byte) out::c) +out: scope:[out] from main main::@1 main::@10 main::@11 main::@12 main::@13 main::@14 main::@2 main::@3 main::@4 main::@5 main::@6 main::@7 main::@8 main::@9 + [39] (byte) i#36 ← phi( main/(byte) 0 main::@1/(byte) i#17 main::@10/(byte) i#17 main::@11/(byte) i#17 main::@12/(byte) i#17 main::@13/(byte) i#17 main::@14/(byte) i#17 main::@2/(byte) i#17 main::@3/(byte) i#17 main::@4/(byte) i#17 main::@5/(byte) i#17 main::@6/(byte) i#17 main::@7/(byte) i#17 main::@8/(byte) i#17 main::@9/(byte) i#17 ) + [39] (byte) out::c#15 ← phi( main/(const byte) main::reg_zp_flex main::@1/(const byte) main::reg_zp_abs main::@10/(byte) out::c#10 main::@11/(const byte) main::default_zp_flex main::@12/(const byte) main::default_zp_abs main::@13/(const byte) main::default_mem_flex main::@14/(const byte) main::default_mem_abs main::@2/(const byte) main::reg_mem_flex main::@3/(const byte) main::reg_mem_abs main::@4/(byte) out::c#4 main::@5/(byte) out::c#5 main::@6/(byte) out::c#6 main::@7/(byte) out::c#7 main::@8/(const byte) main::default_default main::@9/(const byte) main::reg_default ) + [40] *((const byte*) SCREEN + (byte) i#36) ← (byte) out::c#15 + [41] (byte) i#17 ← ++ (byte) i#36 + to:out::@return +out::@return: scope:[out] from out + [42] return + to:@return + + +VARIABLE REGISTER WEIGHTS +(byte) i +(byte) i#17 0.9999999999999999 +(byte) i#36 16.0 +(void()) main() +(byte) main::notreg_default memory 0.2 +(byte) main::notreg_mem_abs memory 0.26666666666666666 +(byte) main::notreg_mem_flex memory 0.2857142857142857 +(byte) main::notreg_zp_abs memory !zp[-1]:16 0.3076923076923077 +(byte) main::notreg_zp_flex memory 0.3333333333333333 +(void()) out((byte) out::c) +(byte) out::c +(byte) out::c#10 4.0 +(byte) out::c#15 12.0 +(byte) out::c#4 4.0 +(byte) out::c#5 4.0 +(byte) out::c#6 4.0 +(byte) out::c#7 4.0 + +Initial phi equivalence classes +[ out::c#15 out::c#10 out::c#4 out::c#5 out::c#6 out::c#7 ] +[ i#36 i#17 ] +Added variable main::notreg_zp_flex to zero page equivalence class [ main::notreg_zp_flex ] +Added variable main::notreg_zp_abs to zero page equivalence class [ main::notreg_zp_abs ] +Added variable main::notreg_mem_flex to zero page equivalence class [ main::notreg_mem_flex ] +Added variable main::notreg_mem_abs to zero page equivalence class [ main::notreg_mem_abs ] +Added variable main::notreg_default to zero page equivalence class [ main::notreg_default ] +Complete equivalence classes +[ out::c#15 out::c#10 out::c#4 out::c#5 out::c#6 out::c#7 ] +[ i#36 i#17 ] +[ main::notreg_zp_flex ] +[ main::notreg_zp_abs ] +[ main::notreg_mem_flex ] +[ main::notreg_mem_abs ] +[ main::notreg_default ] +Allocated zp[1]:2 [ out::c#15 out::c#10 out::c#4 out::c#5 out::c#6 out::c#7 ] +Allocated zp[1]:3 [ i#36 i#17 ] +Allocated zp[1]:4 [ main::notreg_zp_flex ] +Allocated mem[1]:main::notreg_mem_flex [ main::notreg_mem_flex ] +Allocated mem[1]:main::notreg_mem_abs [ main::notreg_mem_abs ] +Allocated zp[1]:5 [ main::notreg_default ] + +INITIAL ASM +Target platform is c64basic / MOS6502X + // File Comments +// Test declaring a variable as "memory", meaning it will be stored in memory and accessed through an implicit pointer (using load/store) + // Upstart +.pc = $801 "Basic" +:BasicUpstart(__bbegin) +.pc = $80d "Program" + // Global Constants & labels + .label SCREEN = $400 + .label i = 3 + // @begin +__bbegin: + // [1] phi from @begin to @1 [phi:@begin->@1] +__b1_from___bbegin: + jmp __b1 + // @1 +__b1: + // [2] call main + jsr main + // [3] phi from @1 to @end [phi:@1->@end] +__bend_from___b1: + jmp __bend + // @end +__bend: + // main +main: { + .const reg_zp_flex = '.' + .const reg_zp_abs = '.' + .const reg_mem_flex = '.' + .const reg_mem_abs = '.' + .const default_default = '.' + .const reg_default = '.' + .const default_zp_flex = '.' + .const default_zp_abs = '.' + .const default_mem_flex = '.' + .const default_mem_abs = '.' + .label notreg_zp_flex = 4 + .label notreg_zp_abs = $10 + .label notreg_default = 5 + // [4] (byte) main::notreg_zp_flex ← (byte) '.' -- vbuz1=vbuc1 + lda #'.' + sta.z notreg_zp_flex + // [5] (byte) main::notreg_zp_abs ← (byte) '.' -- vbuz1=vbuc1 + lda #'.' + sta.z notreg_zp_abs + // [6] (byte) main::notreg_mem_flex ← (byte) '.' -- vbum1=vbuc1 + lda #'.' + sta notreg_mem_flex + // [7] (byte) main::notreg_mem_abs ← (byte) '.' -- vbum1=vbuc1 + lda #'.' + sta notreg_mem_abs + // [8] (byte) main::notreg_default ← (byte) '.' -- vbuz1=vbuc1 + lda #'.' + sta.z notreg_default + // [9] call out + // [39] phi from main to out [phi:main->out] + out_from_main: + // [39] phi (byte) i#36 = (byte) 0 [phi:main->out#0] -- vbuz1=vbuc1 + lda #0 + sta.z i + // [39] phi (byte) out::c#15 = (const byte) main::reg_zp_flex [phi:main->out#1] -- vbuz1=vbuc1 + lda #reg_zp_flex + sta.z out.c + jsr out + // [10] phi from main to main::@1 [phi:main->main::@1] + __b1_from_main: + jmp __b1 + // main::@1 + __b1: + // [11] call out + // [39] phi from main::@1 to out [phi:main::@1->out] + out_from___b1: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@1->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::reg_zp_abs [phi:main::@1->out#1] -- vbuz1=vbuc1 + lda #reg_zp_abs + sta.z out.c + jsr out + // [12] phi from main::@1 to main::@2 [phi:main::@1->main::@2] + __b2_from___b1: + jmp __b2 + // main::@2 + __b2: + // [13] call out + // [39] phi from main::@2 to out [phi:main::@2->out] + out_from___b2: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@2->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::reg_mem_flex [phi:main::@2->out#1] -- vbuz1=vbuc1 + lda #reg_mem_flex + sta.z out.c + jsr out + // [14] phi from main::@2 to main::@3 [phi:main::@2->main::@3] + __b3_from___b2: + jmp __b3 + // main::@3 + __b3: + // [15] call out + // [39] phi from main::@3 to out [phi:main::@3->out] + out_from___b3: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@3->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::reg_mem_abs [phi:main::@3->out#1] -- vbuz1=vbuc1 + lda #reg_mem_abs + sta.z out.c + jsr out + jmp __b4 + // main::@4 + __b4: + // [16] (byte) out::c#4 ← (byte) main::notreg_zp_flex -- vbuz1=vbuz2 + lda.z notreg_zp_flex + sta.z out.c + // [17] call out + // [39] phi from main::@4 to out [phi:main::@4->out] + out_from___b4: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@4->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#4 [phi:main::@4->out#1] -- register_copy + jsr out + jmp __b5 + // main::@5 + __b5: + // [18] (byte) out::c#5 ← (byte) main::notreg_zp_abs -- vbuz1=vbuz2 + lda.z notreg_zp_abs + sta.z out.c + // [19] call out + // [39] phi from main::@5 to out [phi:main::@5->out] + out_from___b5: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@5->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#5 [phi:main::@5->out#1] -- register_copy + jsr out + jmp __b6 + // main::@6 + __b6: + // [20] (byte) out::c#6 ← (byte) main::notreg_mem_flex -- vbuz1=vbum2 + lda notreg_mem_flex + sta.z out.c + // [21] call out + // [39] phi from main::@6 to out [phi:main::@6->out] + out_from___b6: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@6->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#6 [phi:main::@6->out#1] -- register_copy + jsr out + jmp __b7 + // main::@7 + __b7: + // [22] (byte) out::c#7 ← (byte) main::notreg_mem_abs -- vbuz1=vbum2 + lda notreg_mem_abs + sta.z out.c + // [23] call out + // [39] phi from main::@7 to out [phi:main::@7->out] + out_from___b7: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@7->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#7 [phi:main::@7->out#1] -- register_copy + jsr out + // [24] phi from main::@7 to main::@8 [phi:main::@7->main::@8] + __b8_from___b7: + jmp __b8 + // main::@8 + __b8: + // [25] call out + // [39] phi from main::@8 to out [phi:main::@8->out] + out_from___b8: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@8->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_default [phi:main::@8->out#1] -- vbuz1=vbuc1 + lda #default_default + sta.z out.c + jsr out + // [26] phi from main::@8 to main::@9 [phi:main::@8->main::@9] + __b9_from___b8: + jmp __b9 + // main::@9 + __b9: + // [27] call out + // [39] phi from main::@9 to out [phi:main::@9->out] + out_from___b9: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@9->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::reg_default [phi:main::@9->out#1] -- vbuz1=vbuc1 + lda #reg_default + sta.z out.c + jsr out + jmp __b10 + // main::@10 + __b10: + // [28] (byte) out::c#10 ← (byte) main::notreg_default -- vbuz1=vbuz2 + lda.z notreg_default + sta.z out.c + // [29] call out + // [39] phi from main::@10 to out [phi:main::@10->out] + out_from___b10: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@10->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#10 [phi:main::@10->out#1] -- register_copy + jsr out + // [30] phi from main::@10 to main::@11 [phi:main::@10->main::@11] + __b11_from___b10: + jmp __b11 + // main::@11 + __b11: + // [31] call out + // [39] phi from main::@11 to out [phi:main::@11->out] + out_from___b11: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@11->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_zp_flex [phi:main::@11->out#1] -- vbuz1=vbuc1 + lda #default_zp_flex + sta.z out.c + jsr out + // [32] phi from main::@11 to main::@12 [phi:main::@11->main::@12] + __b12_from___b11: + jmp __b12 + // main::@12 + __b12: + // [33] call out + // [39] phi from main::@12 to out [phi:main::@12->out] + out_from___b12: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@12->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_zp_abs [phi:main::@12->out#1] -- vbuz1=vbuc1 + lda #default_zp_abs + sta.z out.c + jsr out + // [34] phi from main::@12 to main::@13 [phi:main::@12->main::@13] + __b13_from___b12: + jmp __b13 + // main::@13 + __b13: + // [35] call out + // [39] phi from main::@13 to out [phi:main::@13->out] + out_from___b13: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@13->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_mem_flex [phi:main::@13->out#1] -- vbuz1=vbuc1 + lda #default_mem_flex + sta.z out.c + jsr out + // [36] phi from main::@13 to main::@14 [phi:main::@13->main::@14] + __b14_from___b13: + jmp __b14 + // main::@14 + __b14: + // [37] call out + // [39] phi from main::@14 to out [phi:main::@14->out] + out_from___b14: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@14->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_mem_abs [phi:main::@14->out#1] -- vbuz1=vbuc1 + lda #default_mem_abs + sta.z out.c + jsr out + jmp __breturn + // main::@return + __breturn: + // [38] return + rts + notreg_mem_flex: .byte 0 + notreg_mem_abs: .byte 0 +} + // out +// out(byte zeropage(2) c) +out: { + .label c = 2 + // [40] *((const byte*) SCREEN + (byte) i#36) ← (byte) out::c#15 -- pbuc1_derefidx_vbuz1=vbuz2 + lda.z c + ldy.z i + sta SCREEN,y + // [41] (byte) i#17 ← ++ (byte) i#36 -- vbuz1=_inc_vbuz1 + inc.z i + jmp __breturn + // out::@return + __breturn: + // [42] return + rts +} + // File Data + +REGISTER UPLIFT POTENTIAL REGISTERS +Statement [4] (byte) main::notreg_zp_flex ← (byte) '.' [ main::notreg_zp_flex ] ( main:2 [ main::notreg_zp_flex ] ) always clobbers reg byte a +Statement [5] (byte) main::notreg_zp_abs ← (byte) '.' [ main::notreg_zp_flex main::notreg_zp_abs ] ( main:2 [ main::notreg_zp_flex main::notreg_zp_abs ] ) always clobbers reg byte a +Statement [6] (byte) main::notreg_mem_flex ← (byte) '.' [ main::notreg_zp_flex main::notreg_zp_abs main::notreg_mem_flex ] ( main:2 [ main::notreg_zp_flex main::notreg_zp_abs main::notreg_mem_flex ] ) always clobbers reg byte a +Statement [7] (byte) main::notreg_mem_abs ← (byte) '.' [ main::notreg_zp_flex main::notreg_zp_abs main::notreg_mem_flex main::notreg_mem_abs ] ( main:2 [ main::notreg_zp_flex main::notreg_zp_abs main::notreg_mem_flex main::notreg_mem_abs ] ) always clobbers reg byte a +Statement [8] (byte) main::notreg_default ← (byte) '.' [ main::notreg_zp_flex main::notreg_zp_abs main::notreg_mem_flex main::notreg_mem_abs main::notreg_default ] ( main:2 [ main::notreg_zp_flex main::notreg_zp_abs main::notreg_mem_flex main::notreg_mem_abs main::notreg_default ] ) always clobbers reg byte a +Potential registers zp[1]:2 [ out::c#15 out::c#10 out::c#4 out::c#5 out::c#6 out::c#7 ] : zp[1]:2 , reg byte a , reg byte x , reg byte y , +Potential registers zp[1]:3 [ i#36 i#17 ] : zp[1]:3 , reg byte a , reg byte x , reg byte y , +Potential registers zp[1]:4 [ main::notreg_zp_flex ] : zp[1]:4 , +Potential registers zp[1]:16 [ main::notreg_zp_abs ] : zp[1]:16 , +Potential registers mem[1]:main::notreg_mem_flex [ main::notreg_mem_flex ] : mem[1]:main::notreg_mem_flex , +Potential registers mem[1]:main::notreg_mem_abs [ main::notreg_mem_abs ] : mem[1]:main::notreg_mem_abs , +Potential registers zp[1]:5 [ main::notreg_default ] : zp[1]:5 , + +REGISTER UPLIFT SCOPES +Uplift Scope [out] 32: zp[1]:2 [ out::c#15 out::c#10 out::c#4 out::c#5 out::c#6 out::c#7 ] +Uplift Scope [] 17: zp[1]:3 [ i#36 i#17 ] +Uplift Scope [main] 0.33: zp[1]:4 [ main::notreg_zp_flex ] 0.31: zp[1]:16 [ main::notreg_zp_abs ] 0.29: mem[1]:main::notreg_mem_flex [ main::notreg_mem_flex ] 0.27: mem[1]:main::notreg_mem_abs [ main::notreg_mem_abs ] 0.2: zp[1]:5 [ main::notreg_default ] + +Uplifting [out] best 246 combination reg byte x [ out::c#15 out::c#10 out::c#4 out::c#5 out::c#6 out::c#7 ] +Uplifting [] best 237 combination reg byte y [ i#36 i#17 ] +Uplifting [main] best 237 combination zp[1]:4 [ main::notreg_zp_flex ] zp[1]:16 [ main::notreg_zp_abs ] mem[1]:main::notreg_mem_flex [ main::notreg_mem_flex ] mem[1]:main::notreg_mem_abs [ main::notreg_mem_abs ] zp[1]:5 [ main::notreg_default ] +Attempting to uplift remaining variables inzp[1]:4 [ main::notreg_zp_flex ] +Uplifting [main] best 237 combination zp[1]:4 [ main::notreg_zp_flex ] +Attempting to uplift remaining variables inzp[1]:16 [ main::notreg_zp_abs ] +Uplifting [main] best 237 combination zp[1]:16 [ main::notreg_zp_abs ] +Attempting to uplift remaining variables inzp[1]:5 [ main::notreg_default ] +Uplifting [main] best 237 combination zp[1]:5 [ main::notreg_default ] +Allocated (was zp[1]:4) zp[1]:2 [ main::notreg_zp_flex ] +Allocated (was zp[1]:5) zp[1]:3 [ main::notreg_default ] + +ASSEMBLER BEFORE OPTIMIZATION + // File Comments +// Test declaring a variable as "memory", meaning it will be stored in memory and accessed through an implicit pointer (using load/store) + // Upstart +.pc = $801 "Basic" +:BasicUpstart(__bbegin) +.pc = $80d "Program" + // Global Constants & labels + .label SCREEN = $400 + // @begin +__bbegin: + // [1] phi from @begin to @1 [phi:@begin->@1] +__b1_from___bbegin: + jmp __b1 + // @1 +__b1: + // [2] call main + jsr main + // [3] phi from @1 to @end [phi:@1->@end] +__bend_from___b1: + jmp __bend + // @end +__bend: + // main +main: { + .const reg_zp_flex = '.' + .const reg_zp_abs = '.' + .const reg_mem_flex = '.' + .const reg_mem_abs = '.' + .const default_default = '.' + .const reg_default = '.' + .const default_zp_flex = '.' + .const default_zp_abs = '.' + .const default_mem_flex = '.' + .const default_mem_abs = '.' + .label notreg_zp_flex = 2 + .label notreg_zp_abs = $10 + .label notreg_default = 3 + // [4] (byte) main::notreg_zp_flex ← (byte) '.' -- vbuz1=vbuc1 + lda #'.' + sta.z notreg_zp_flex + // [5] (byte) main::notreg_zp_abs ← (byte) '.' -- vbuz1=vbuc1 + lda #'.' + sta.z notreg_zp_abs + // [6] (byte) main::notreg_mem_flex ← (byte) '.' -- vbum1=vbuc1 + lda #'.' + sta notreg_mem_flex + // [7] (byte) main::notreg_mem_abs ← (byte) '.' -- vbum1=vbuc1 + lda #'.' + sta notreg_mem_abs + // [8] (byte) main::notreg_default ← (byte) '.' -- vbuz1=vbuc1 + lda #'.' + sta.z notreg_default + // [9] call out + // [39] phi from main to out [phi:main->out] + out_from_main: + // [39] phi (byte) i#36 = (byte) 0 [phi:main->out#0] -- vbuyy=vbuc1 + ldy #0 + // [39] phi (byte) out::c#15 = (const byte) main::reg_zp_flex [phi:main->out#1] -- vbuxx=vbuc1 + ldx #reg_zp_flex + jsr out + // [10] phi from main to main::@1 [phi:main->main::@1] + __b1_from_main: + jmp __b1 + // main::@1 + __b1: + // [11] call out + // [39] phi from main::@1 to out [phi:main::@1->out] + out_from___b1: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@1->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::reg_zp_abs [phi:main::@1->out#1] -- vbuxx=vbuc1 + ldx #reg_zp_abs + jsr out + // [12] phi from main::@1 to main::@2 [phi:main::@1->main::@2] + __b2_from___b1: + jmp __b2 + // main::@2 + __b2: + // [13] call out + // [39] phi from main::@2 to out [phi:main::@2->out] + out_from___b2: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@2->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::reg_mem_flex [phi:main::@2->out#1] -- vbuxx=vbuc1 + ldx #reg_mem_flex + jsr out + // [14] phi from main::@2 to main::@3 [phi:main::@2->main::@3] + __b3_from___b2: + jmp __b3 + // main::@3 + __b3: + // [15] call out + // [39] phi from main::@3 to out [phi:main::@3->out] + out_from___b3: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@3->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::reg_mem_abs [phi:main::@3->out#1] -- vbuxx=vbuc1 + ldx #reg_mem_abs + jsr out + jmp __b4 + // main::@4 + __b4: + // [16] (byte) out::c#4 ← (byte) main::notreg_zp_flex -- vbuxx=vbuz1 + ldx.z notreg_zp_flex + // [17] call out + // [39] phi from main::@4 to out [phi:main::@4->out] + out_from___b4: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@4->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#4 [phi:main::@4->out#1] -- register_copy + jsr out + jmp __b5 + // main::@5 + __b5: + // [18] (byte) out::c#5 ← (byte) main::notreg_zp_abs -- vbuxx=vbuz1 + ldx.z notreg_zp_abs + // [19] call out + // [39] phi from main::@5 to out [phi:main::@5->out] + out_from___b5: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@5->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#5 [phi:main::@5->out#1] -- register_copy + jsr out + jmp __b6 + // main::@6 + __b6: + // [20] (byte) out::c#6 ← (byte) main::notreg_mem_flex -- vbuxx=vbum1 + ldx notreg_mem_flex + // [21] call out + // [39] phi from main::@6 to out [phi:main::@6->out] + out_from___b6: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@6->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#6 [phi:main::@6->out#1] -- register_copy + jsr out + jmp __b7 + // main::@7 + __b7: + // [22] (byte) out::c#7 ← (byte) main::notreg_mem_abs -- vbuxx=vbum1 + ldx notreg_mem_abs + // [23] call out + // [39] phi from main::@7 to out [phi:main::@7->out] + out_from___b7: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@7->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#7 [phi:main::@7->out#1] -- register_copy + jsr out + // [24] phi from main::@7 to main::@8 [phi:main::@7->main::@8] + __b8_from___b7: + jmp __b8 + // main::@8 + __b8: + // [25] call out + // [39] phi from main::@8 to out [phi:main::@8->out] + out_from___b8: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@8->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_default [phi:main::@8->out#1] -- vbuxx=vbuc1 + ldx #default_default + jsr out + // [26] phi from main::@8 to main::@9 [phi:main::@8->main::@9] + __b9_from___b8: + jmp __b9 + // main::@9 + __b9: + // [27] call out + // [39] phi from main::@9 to out [phi:main::@9->out] + out_from___b9: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@9->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::reg_default [phi:main::@9->out#1] -- vbuxx=vbuc1 + ldx #reg_default + jsr out + jmp __b10 + // main::@10 + __b10: + // [28] (byte) out::c#10 ← (byte) main::notreg_default -- vbuxx=vbuz1 + ldx.z notreg_default + // [29] call out + // [39] phi from main::@10 to out [phi:main::@10->out] + out_from___b10: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@10->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#10 [phi:main::@10->out#1] -- register_copy + jsr out + // [30] phi from main::@10 to main::@11 [phi:main::@10->main::@11] + __b11_from___b10: + jmp __b11 + // main::@11 + __b11: + // [31] call out + // [39] phi from main::@11 to out [phi:main::@11->out] + out_from___b11: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@11->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_zp_flex [phi:main::@11->out#1] -- vbuxx=vbuc1 + ldx #default_zp_flex + jsr out + // [32] phi from main::@11 to main::@12 [phi:main::@11->main::@12] + __b12_from___b11: + jmp __b12 + // main::@12 + __b12: + // [33] call out + // [39] phi from main::@12 to out [phi:main::@12->out] + out_from___b12: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@12->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_zp_abs [phi:main::@12->out#1] -- vbuxx=vbuc1 + ldx #default_zp_abs + jsr out + // [34] phi from main::@12 to main::@13 [phi:main::@12->main::@13] + __b13_from___b12: + jmp __b13 + // main::@13 + __b13: + // [35] call out + // [39] phi from main::@13 to out [phi:main::@13->out] + out_from___b13: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@13->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_mem_flex [phi:main::@13->out#1] -- vbuxx=vbuc1 + ldx #default_mem_flex + jsr out + // [36] phi from main::@13 to main::@14 [phi:main::@13->main::@14] + __b14_from___b13: + jmp __b14 + // main::@14 + __b14: + // [37] call out + // [39] phi from main::@14 to out [phi:main::@14->out] + out_from___b14: + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@14->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_mem_abs [phi:main::@14->out#1] -- vbuxx=vbuc1 + ldx #default_mem_abs + jsr out + jmp __breturn + // main::@return + __breturn: + // [38] return + rts + notreg_mem_flex: .byte 0 + notreg_mem_abs: .byte 0 +} + // out +// out(byte register(X) c) +out: { + // [40] *((const byte*) SCREEN + (byte) i#36) ← (byte) out::c#15 -- pbuc1_derefidx_vbuyy=vbuxx + txa + sta SCREEN,y + // [41] (byte) i#17 ← ++ (byte) i#36 -- vbuyy=_inc_vbuyy + iny + jmp __breturn + // out::@return + __breturn: + // [42] return + rts +} + // File Data + +ASSEMBLER OPTIMIZATIONS +Removing instruction jmp __b1 +Removing instruction jmp __bend +Removing instruction jmp __b1 +Removing instruction jmp __b2 +Removing instruction jmp __b3 +Removing instruction jmp __b4 +Removing instruction jmp __b5 +Removing instruction jmp __b6 +Removing instruction jmp __b7 +Removing instruction jmp __b8 +Removing instruction jmp __b9 +Removing instruction jmp __b10 +Removing instruction jmp __b11 +Removing instruction jmp __b12 +Removing instruction jmp __b13 +Removing instruction jmp __b14 +Removing instruction jmp __breturn +Removing instruction jmp __breturn +Succesful ASM optimization Pass5NextJumpElimination +Removing instruction lda #'.' +Removing instruction lda #'.' +Removing instruction lda #'.' +Removing instruction lda #'.' +Succesful ASM optimization Pass5UnnecesaryLoadElimination +Replacing label __bbegin with __b1 +Removing instruction __bbegin: +Removing instruction __b1_from___bbegin: +Removing instruction __bend_from___b1: +Removing instruction __b1_from_main: +Removing instruction out_from___b1: +Removing instruction __b2_from___b1: +Removing instruction out_from___b2: +Removing instruction __b3_from___b2: +Removing instruction out_from___b3: +Removing instruction __b8_from___b7: +Removing instruction out_from___b8: +Removing instruction __b9_from___b8: +Removing instruction out_from___b9: +Removing instruction __b11_from___b10: +Removing instruction out_from___b11: +Removing instruction __b12_from___b11: +Removing instruction out_from___b12: +Removing instruction __b13_from___b12: +Removing instruction out_from___b13: +Removing instruction __b14_from___b13: +Removing instruction out_from___b14: +Succesful ASM optimization Pass5RedundantLabelElimination +Removing instruction __bend: +Removing instruction out_from_main: +Removing instruction __b1: +Removing instruction __b2: +Removing instruction __b3: +Removing instruction __b4: +Removing instruction out_from___b4: +Removing instruction __b5: +Removing instruction out_from___b5: +Removing instruction __b6: +Removing instruction out_from___b6: +Removing instruction __b7: +Removing instruction out_from___b7: +Removing instruction __b8: +Removing instruction __b9: +Removing instruction __b10: +Removing instruction out_from___b10: +Removing instruction __b11: +Removing instruction __b12: +Removing instruction __b13: +Removing instruction __b14: +Removing instruction __breturn: +Removing instruction __breturn: +Succesful ASM optimization Pass5UnusedLabelElimination +Updating BasicUpstart to call main directly +Removing instruction jsr main +Succesful ASM optimization Pass5SkipBegin +Removing instruction __b1: +Succesful ASM optimization Pass5UnusedLabelElimination + +FINAL SYMBOL TABLE +(label) @1 +(label) @begin +(label) @end +(const byte*) SCREEN SCREEN = (byte*) 1024 +(byte) i +(byte) i#17 reg byte y 0.9999999999999999 +(byte) i#36 reg byte y 16.0 +(void()) main() +(label) main::@1 +(label) main::@10 +(label) main::@11 +(label) main::@12 +(label) main::@13 +(label) main::@14 +(label) main::@2 +(label) main::@3 +(label) main::@4 +(label) main::@5 +(label) main::@6 +(label) main::@7 +(label) main::@8 +(label) main::@9 +(label) main::@return +(const byte) main::default_default default_default = (byte) '.' +(const byte) main::default_mem_abs default_mem_abs = (byte) '.' +(const byte) main::default_mem_flex default_mem_flex = (byte) '.' +(const byte) main::default_zp_abs default_zp_abs !zp[-1]:16 = (byte) '.' +(const byte) main::default_zp_flex default_zp_flex = (byte) '.' +(byte) main::notreg_default notreg_default memory zp[1]:3 0.2 +(byte) main::notreg_mem_abs memory mem[1]:main::notreg_mem_abs 0.26666666666666666 +(byte) main::notreg_mem_flex memory mem[1]:main::notreg_mem_flex 0.2857142857142857 +(byte) main::notreg_zp_abs notreg_zp_abs memory !zp[-1]:16 zp[1]:16 0.3076923076923077 +(byte) main::notreg_zp_flex notreg_zp_flex memory zp[1]:2 0.3333333333333333 +(const byte) main::reg_default reg_default = (byte) '.' +(const byte) main::reg_mem_abs reg_mem_abs = (byte) '.' +(const byte) main::reg_mem_flex reg_mem_flex = (byte) '.' +(const byte) main::reg_zp_abs reg_zp_abs !zp[-1]:16 = (byte) '.' +(const byte) main::reg_zp_flex reg_zp_flex = (byte) '.' +(void()) out((byte) out::c) +(label) out::@return +(byte) out::c +(byte) out::c#10 reg byte x 4.0 +(byte) out::c#15 reg byte x 12.0 +(byte) out::c#4 reg byte x 4.0 +(byte) out::c#5 reg byte x 4.0 +(byte) out::c#6 reg byte x 4.0 +(byte) out::c#7 reg byte x 4.0 + +reg byte x [ out::c#15 out::c#10 out::c#4 out::c#5 out::c#6 out::c#7 ] +reg byte y [ i#36 i#17 ] +zp[1]:2 [ main::notreg_zp_flex ] +zp[1]:16 [ main::notreg_zp_abs ] +mem[1]:main::notreg_mem_flex [ main::notreg_mem_flex ] +mem[1]:main::notreg_mem_abs [ main::notreg_mem_abs ] +zp[1]:3 [ main::notreg_default ] + + +FINAL ASSEMBLER +Score: 169 + + // File Comments +// Test declaring a variable as "memory", meaning it will be stored in memory and accessed through an implicit pointer (using load/store) + // Upstart +.pc = $801 "Basic" +:BasicUpstart(main) +.pc = $80d "Program" + // Global Constants & labels + .label SCREEN = $400 + // @begin + // [1] phi from @begin to @1 [phi:@begin->@1] + // @1 + // [2] call main + // [3] phi from @1 to @end [phi:@1->@end] + // @end + // main +main: { + .const reg_zp_flex = '.' + .const reg_zp_abs = '.' + .const reg_mem_flex = '.' + .const reg_mem_abs = '.' + .const default_default = '.' + .const reg_default = '.' + .const default_zp_flex = '.' + .const default_zp_abs = '.' + .const default_mem_flex = '.' + .const default_mem_abs = '.' + .label notreg_zp_flex = 2 + .label notreg_zp_abs = $10 + .label notreg_default = 3 + // notreg_zp_flex = '.' + // [4] (byte) main::notreg_zp_flex ← (byte) '.' -- vbuz1=vbuc1 + lda #'.' + sta.z notreg_zp_flex + // notreg_zp_abs = '.' + // [5] (byte) main::notreg_zp_abs ← (byte) '.' -- vbuz1=vbuc1 + sta.z notreg_zp_abs + // notreg_mem_flex = '.' + // [6] (byte) main::notreg_mem_flex ← (byte) '.' -- vbum1=vbuc1 + sta notreg_mem_flex + // notreg_mem_abs = '.' + // [7] (byte) main::notreg_mem_abs ← (byte) '.' -- vbum1=vbuc1 + sta notreg_mem_abs + // notreg_default = '.' + // [8] (byte) main::notreg_default ← (byte) '.' -- vbuz1=vbuc1 + sta.z notreg_default + // out(reg_zp_flex) + // [9] call out + // [39] phi from main to out [phi:main->out] + // [39] phi (byte) i#36 = (byte) 0 [phi:main->out#0] -- vbuyy=vbuc1 + ldy #0 + // [39] phi (byte) out::c#15 = (const byte) main::reg_zp_flex [phi:main->out#1] -- vbuxx=vbuc1 + ldx #reg_zp_flex + jsr out + // [10] phi from main to main::@1 [phi:main->main::@1] + // main::@1 + // out(reg_zp_abs) + // [11] call out + // [39] phi from main::@1 to out [phi:main::@1->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@1->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::reg_zp_abs [phi:main::@1->out#1] -- vbuxx=vbuc1 + ldx #reg_zp_abs + jsr out + // [12] phi from main::@1 to main::@2 [phi:main::@1->main::@2] + // main::@2 + // out(reg_mem_flex) + // [13] call out + // [39] phi from main::@2 to out [phi:main::@2->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@2->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::reg_mem_flex [phi:main::@2->out#1] -- vbuxx=vbuc1 + ldx #reg_mem_flex + jsr out + // [14] phi from main::@2 to main::@3 [phi:main::@2->main::@3] + // main::@3 + // out(reg_mem_abs) + // [15] call out + // [39] phi from main::@3 to out [phi:main::@3->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@3->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::reg_mem_abs [phi:main::@3->out#1] -- vbuxx=vbuc1 + ldx #reg_mem_abs + jsr out + // main::@4 + // out(notreg_zp_flex) + // [16] (byte) out::c#4 ← (byte) main::notreg_zp_flex -- vbuxx=vbuz1 + ldx.z notreg_zp_flex + // [17] call out + // [39] phi from main::@4 to out [phi:main::@4->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@4->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#4 [phi:main::@4->out#1] -- register_copy + jsr out + // main::@5 + // out(notreg_zp_abs) + // [18] (byte) out::c#5 ← (byte) main::notreg_zp_abs -- vbuxx=vbuz1 + ldx.z notreg_zp_abs + // [19] call out + // [39] phi from main::@5 to out [phi:main::@5->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@5->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#5 [phi:main::@5->out#1] -- register_copy + jsr out + // main::@6 + // out(notreg_mem_flex) + // [20] (byte) out::c#6 ← (byte) main::notreg_mem_flex -- vbuxx=vbum1 + ldx notreg_mem_flex + // [21] call out + // [39] phi from main::@6 to out [phi:main::@6->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@6->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#6 [phi:main::@6->out#1] -- register_copy + jsr out + // main::@7 + // out(notreg_mem_abs) + // [22] (byte) out::c#7 ← (byte) main::notreg_mem_abs -- vbuxx=vbum1 + ldx notreg_mem_abs + // [23] call out + // [39] phi from main::@7 to out [phi:main::@7->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@7->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#7 [phi:main::@7->out#1] -- register_copy + jsr out + // [24] phi from main::@7 to main::@8 [phi:main::@7->main::@8] + // main::@8 + // out(default_default) + // [25] call out + // [39] phi from main::@8 to out [phi:main::@8->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@8->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_default [phi:main::@8->out#1] -- vbuxx=vbuc1 + ldx #default_default + jsr out + // [26] phi from main::@8 to main::@9 [phi:main::@8->main::@9] + // main::@9 + // out(reg_default) + // [27] call out + // [39] phi from main::@9 to out [phi:main::@9->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@9->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::reg_default [phi:main::@9->out#1] -- vbuxx=vbuc1 + ldx #reg_default + jsr out + // main::@10 + // out(notreg_default) + // [28] (byte) out::c#10 ← (byte) main::notreg_default -- vbuxx=vbuz1 + ldx.z notreg_default + // [29] call out + // [39] phi from main::@10 to out [phi:main::@10->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@10->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (byte) out::c#10 [phi:main::@10->out#1] -- register_copy + jsr out + // [30] phi from main::@10 to main::@11 [phi:main::@10->main::@11] + // main::@11 + // out(default_zp_flex) + // [31] call out + // [39] phi from main::@11 to out [phi:main::@11->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@11->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_zp_flex [phi:main::@11->out#1] -- vbuxx=vbuc1 + ldx #default_zp_flex + jsr out + // [32] phi from main::@11 to main::@12 [phi:main::@11->main::@12] + // main::@12 + // out(default_zp_abs) + // [33] call out + // [39] phi from main::@12 to out [phi:main::@12->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@12->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_zp_abs [phi:main::@12->out#1] -- vbuxx=vbuc1 + ldx #default_zp_abs + jsr out + // [34] phi from main::@12 to main::@13 [phi:main::@12->main::@13] + // main::@13 + // out(default_mem_flex) + // [35] call out + // [39] phi from main::@13 to out [phi:main::@13->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@13->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_mem_flex [phi:main::@13->out#1] -- vbuxx=vbuc1 + ldx #default_mem_flex + jsr out + // [36] phi from main::@13 to main::@14 [phi:main::@13->main::@14] + // main::@14 + // out(default_mem_abs) + // [37] call out + // [39] phi from main::@14 to out [phi:main::@14->out] + // [39] phi (byte) i#36 = (byte) i#17 [phi:main::@14->out#0] -- register_copy + // [39] phi (byte) out::c#15 = (const byte) main::default_mem_abs [phi:main::@14->out#1] -- vbuxx=vbuc1 + ldx #default_mem_abs + jsr out + // main::@return + // } + // [38] return + rts + notreg_mem_flex: .byte 0 + notreg_mem_abs: .byte 0 +} + // out +// out(byte register(X) c) +out: { + // SCREEN[i++] = c + // [40] *((const byte*) SCREEN + (byte) i#36) ← (byte) out::c#15 -- pbuc1_derefidx_vbuyy=vbuxx + txa + sta SCREEN,y + // SCREEN[i++] = c; + // [41] (byte) i#17 ← ++ (byte) i#36 -- vbuyy=_inc_vbuyy + iny + // out::@return + // } + // [42] return + rts +} + // File Data + diff --git a/src/test/ref/declared-memory-var-6.sym b/src/test/ref/declared-memory-var-6.sym new file mode 100644 index 000000000..b09dea2b0 --- /dev/null +++ b/src/test/ref/declared-memory-var-6.sym @@ -0,0 +1,55 @@ +(label) @1 +(label) @begin +(label) @end +(const byte*) SCREEN SCREEN = (byte*) 1024 +(byte) i +(byte) i#17 reg byte y 0.9999999999999999 +(byte) i#36 reg byte y 16.0 +(void()) main() +(label) main::@1 +(label) main::@10 +(label) main::@11 +(label) main::@12 +(label) main::@13 +(label) main::@14 +(label) main::@2 +(label) main::@3 +(label) main::@4 +(label) main::@5 +(label) main::@6 +(label) main::@7 +(label) main::@8 +(label) main::@9 +(label) main::@return +(const byte) main::default_default default_default = (byte) '.' +(const byte) main::default_mem_abs default_mem_abs = (byte) '.' +(const byte) main::default_mem_flex default_mem_flex = (byte) '.' +(const byte) main::default_zp_abs default_zp_abs !zp[-1]:16 = (byte) '.' +(const byte) main::default_zp_flex default_zp_flex = (byte) '.' +(byte) main::notreg_default notreg_default memory zp[1]:3 0.2 +(byte) main::notreg_mem_abs memory mem[1]:main::notreg_mem_abs 0.26666666666666666 +(byte) main::notreg_mem_flex memory mem[1]:main::notreg_mem_flex 0.2857142857142857 +(byte) main::notreg_zp_abs notreg_zp_abs memory !zp[-1]:16 zp[1]:16 0.3076923076923077 +(byte) main::notreg_zp_flex notreg_zp_flex memory zp[1]:2 0.3333333333333333 +(const byte) main::reg_default reg_default = (byte) '.' +(const byte) main::reg_mem_abs reg_mem_abs = (byte) '.' +(const byte) main::reg_mem_flex reg_mem_flex = (byte) '.' +(const byte) main::reg_zp_abs reg_zp_abs !zp[-1]:16 = (byte) '.' +(const byte) main::reg_zp_flex reg_zp_flex = (byte) '.' +(void()) out((byte) out::c) +(label) out::@return +(byte) out::c +(byte) out::c#10 reg byte x 4.0 +(byte) out::c#15 reg byte x 12.0 +(byte) out::c#4 reg byte x 4.0 +(byte) out::c#5 reg byte x 4.0 +(byte) out::c#6 reg byte x 4.0 +(byte) out::c#7 reg byte x 4.0 + +reg byte x [ out::c#15 out::c#10 out::c#4 out::c#5 out::c#6 out::c#7 ] +reg byte y [ i#36 i#17 ] +zp[1]:2 [ main::notreg_zp_flex ] +zp[1]:16 [ main::notreg_zp_abs ] +mem[1]:main::notreg_mem_flex [ main::notreg_mem_flex ] +mem[1]:main::notreg_mem_abs [ main::notreg_mem_abs ] +zp[1]:3 [ main::notreg_default ]