1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2025-08-11 02:25:17 +00:00

Fixed tests (added missing toString(). Changed global reserve directiveu to #reserve(zp,zp,zp,...). Added global directive specifying code address #zp(addr). Closes #190

This commit is contained in:
jespergravgaard
2019-05-30 23:50:26 +02:00
parent b755cd448f
commit ecf4181ce1
22 changed files with 1896 additions and 1454 deletions

View File

@@ -68,6 +68,9 @@ public class Program {
/** Reserved ZP addresses that the compiler cannot use. */ /** Reserved ZP addresses that the compiler cannot use. */
private List<Number> reservedZps; private List<Number> reservedZps;
/** Absolute start address of the code. Null to start ad 0x080d. */
private Number programPc;
public Program() { public Program() {
this.scope = new ProgramScope(); this.scope = new ProgramScope();
this.log = new CompileLog(); this.log = new CompileLog();
@@ -297,4 +300,16 @@ public class Program {
public List<Number> getReservedZps() { public List<Number> getReservedZps() {
return reservedZps; return reservedZps;
} }
/**
* Set the absolute position of the program code
* @param programPc The address
*/
public void setProgramPc(Number programPc) {
this.programPc = programPc;
}
public Number getProgramPc() {
return programPc;
}
} }

View File

@@ -25,4 +25,8 @@ public class AssignmentRValue implements RValue {
; ;
} }
@Override
public String toString() {
return toString(null);
}
} }

View File

@@ -59,7 +59,8 @@ parameterDecl
; ;
globalDirective globalDirective
: directiveReserve ';' : '#' directiveReserve #globalDirectiveReserve
| '#' 'pc' '(' NUMBER ')' #globalDirectivePc
; ;
directive directive

View File

@@ -104,73 +104,73 @@ COMMENT_BLOCK=98
')'=6 ')'=6
'{'=7 '{'=7
'}'=8 '}'=8
'const'=9 '#'=9
'extern'=10 'pc'=10
'align'=11 'const'=11
'register'=12 'extern'=12
'inline'=13 'align'=13
'volatile'=14 'register'=14
'interrupt'=15 'inline'=15
'reserve'=16 'volatile'=16
'if'=17 'interrupt'=17
'else'=18 'reserve'=18
'while'=19 'if'=19
'do'=20 'else'=20
'for'=21 'while'=21
'return'=22 'do'=22
'break'=23 'for'=23
'continue'=24 'return'=24
'asm'=25 'break'=25
':'=26 'continue'=26
'..'=27 'asm'=27
'signed'=28 ':'=28
'unsigned'=29 '..'=29
'*'=30 'signed'=30
'['=31 'unsigned'=31
']'=32 '*'=32
'struct'=33 '['=33
'.'=34 ']'=34
'->'=35 'struct'=35
'sizeof'=36 '.'=36
'typeid'=37 '->'=37
'--'=38 'sizeof'=38
'++'=39 'typeid'=39
'+'=40 '--'=40
'-'=41 '++'=41
'!'=42 '+'=42
'&'=43 '-'=43
'~'=44 '!'=44
'>>'=45 '&'=45
'<<'=46 '~'=46
'/'=47 '>>'=47
'%'=48 '<<'=48
'<'=49 '/'=49
'>'=50 '%'=50
'=='=51 '<'=51
'!='=52 '>'=52
'<='=53 '=='=53
'>='=54 '!='=54
'^'=55 '<='=55
'|'=56 '>='=56
'&&'=57 '^'=57
'||'=58 '|'=58
'?'=59 '&&'=59
'+='=60 '||'=60
'-='=61 '?'=61
'*='=62 '+='=62
'/='=63 '-='=63
'%='=64 '*='=64
'<<='=65 '/='=65
'>>='=66 '%='=66
'&='=67 '<<='=67
'|='=68 '>>='=68
'^='=69 '&='=69
'kickasm'=70 '|='=70
'resource'=71 '^='=71
'uses'=72 'kickasm'=72
'clobbers'=73 'resource'=73
'bytes'=74 'uses'=74
'cycles'=75 'clobbers'=75
'pc'=76 'bytes'=76
'.byte'=77 'cycles'=77
'#'=78 '.byte'=78

View File

@@ -1,4 +1,4 @@
// Generated from C:/c64/kickc/src/main/java/dk/camelot64/kickc/parser\KickC.g4 by ANTLR 4.7 // Generated from /Users/jespergravgaard/c64/kickc/src/main/java/dk/camelot64/kickc/parser/KickC.g4 by ANTLR 4.7
package dk.camelot64.kickc.parser; package dk.camelot64.kickc.parser;
import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.ParserRuleContext;
@@ -184,13 +184,25 @@ public class KickCBaseListener implements KickCListener {
* *
* <p>The default implementation does nothing.</p> * <p>The default implementation does nothing.</p>
*/ */
@Override public void enterGlobalDirective(KickCParser.GlobalDirectiveContext ctx) { } @Override public void enterGlobalDirectiveReserve(KickCParser.GlobalDirectiveReserveContext ctx) { }
/** /**
* {@inheritDoc} * {@inheritDoc}
* *
* <p>The default implementation does nothing.</p> * <p>The default implementation does nothing.</p>
*/ */
@Override public void exitGlobalDirective(KickCParser.GlobalDirectiveContext ctx) { } @Override public void exitGlobalDirectiveReserve(KickCParser.GlobalDirectiveReserveContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterGlobalDirectivePc(KickCParser.GlobalDirectivePcContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitGlobalDirectivePc(KickCParser.GlobalDirectivePcContext ctx) { }
/** /**
* {@inheritDoc} * {@inheritDoc}
* *

View File

@@ -1,4 +1,4 @@
// Generated from C:/c64/kickc/src/main/java/dk/camelot64/kickc/parser\KickC.g4 by ANTLR 4.7 // Generated from /Users/jespergravgaard/c64/kickc/src/main/java/dk/camelot64/kickc/parser/KickC.g4 by ANTLR 4.7
package dk.camelot64.kickc.parser; package dk.camelot64.kickc.parser;
import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor; import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
@@ -115,7 +115,14 @@ public class KickCBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements
* <p>The default implementation returns the result of calling * <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p> * {@link #visitChildren} on {@code ctx}.</p>
*/ */
@Override public T visitGlobalDirective(KickCParser.GlobalDirectiveContext ctx) { return visitChildren(ctx); } @Override public T visitGlobalDirectiveReserve(KickCParser.GlobalDirectiveReserveContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitGlobalDirectivePc(KickCParser.GlobalDirectivePcContext ctx) { return visitChildren(ctx); }
/** /**
* {@inheritDoc} * {@inheritDoc}
* *

View File

@@ -1,4 +1,4 @@
// Generated from C:/c64/kickc/src/main/java/dk/camelot64/kickc/parser\KickC.g4 by ANTLR 4.7 // Generated from /Users/jespergravgaard/c64/kickc/src/main/java/dk/camelot64/kickc/parser/KickC.g4 by ANTLR 4.7
package dk.camelot64.kickc.parser; package dk.camelot64.kickc.parser;
import org.antlr.v4.runtime.Lexer; import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream; import org.antlr.v4.runtime.CharStream;
@@ -57,16 +57,16 @@ public class KickCLexer extends Lexer {
}; };
private static final String[] _LITERAL_NAMES = { private static final String[] _LITERAL_NAMES = {
null, "'import'", "';'", "','", "'='", "'('", "')'", "'{'", "'}'", "'const'", null, "'import'", "';'", "','", "'='", "'('", "')'", "'{'", "'}'", "'#'",
"'extern'", "'align'", "'register'", "'inline'", "'volatile'", "'interrupt'", "'pc'", "'const'", "'extern'", "'align'", "'register'", "'inline'", "'volatile'",
"'reserve'", "'if'", "'else'", "'while'", "'do'", "'for'", "'return'", "'interrupt'", "'reserve'", "'if'", "'else'", "'while'", "'do'", "'for'",
"'break'", "'continue'", "'asm'", "':'", "'..'", "'signed'", "'unsigned'", "'return'", "'break'", "'continue'", "'asm'", "':'", "'..'", "'signed'",
"'*'", "'['", "']'", "'struct'", "'.'", "'->'", "'sizeof'", "'typeid'", "'unsigned'", "'*'", "'['", "']'", "'struct'", "'.'", "'->'", "'sizeof'",
"'--'", "'++'", "'+'", "'-'", "'!'", "'&'", "'~'", "'>>'", "'<<'", "'/'", "'typeid'", "'--'", "'++'", "'+'", "'-'", "'!'", "'&'", "'~'", "'>>'",
"'%'", "'<'", "'>'", "'=='", "'!='", "'<='", "'>='", "'^'", "'|'", "'&&'", "'<<'", "'/'", "'%'", "'<'", "'>'", "'=='", "'!='", "'<='", "'>='", "'^'",
"'||'", "'?'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<<='", "'>>='", "'|'", "'&&'", "'||'", "'?'", "'+='", "'-='", "'*='", "'/='", "'%='",
"'&='", "'|='", "'^='", "'kickasm'", "'resource'", "'uses'", "'clobbers'", "'<<='", "'>>='", "'&='", "'|='", "'^='", "'kickasm'", "'resource'", "'uses'",
"'bytes'", "'cycles'", "'pc'", "'.byte'", "'#'" "'clobbers'", "'bytes'", "'cycles'", "'.byte'"
}; };
private static final String[] _SYMBOLIC_NAMES = { private static final String[] _SYMBOLIC_NAMES = {
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
@@ -151,36 +151,36 @@ public class KickCLexer extends Lexer {
"\4U\tU\4V\tV\4W\tW\4X\tX\4Y\tY\4Z\tZ\4[\t[\4\\\t\\\4]\t]\4^\t^\4_\t_\4"+ "\4U\tU\4V\tV\4W\tW\4X\tX\4Y\tY\4Z\tZ\4[\t[\4\\\t\\\4]\t]\4^\t^\4_\t_\4"+
"`\t`\4a\ta\4b\tb\4c\tc\4d\td\4e\te\4f\tf\4g\tg\4h\th\3\2\3\2\3\2\3\2\3"+ "`\t`\4a\ta\4b\tb\4c\tc\4d\td\4e\te\4f\tf\4g\tg\4h\th\3\2\3\2\3\2\3\2\3"+
"\2\3\2\3\2\3\3\3\3\3\4\3\4\3\5\3\5\3\6\3\6\3\7\3\7\3\b\3\b\3\t\3\t\3\n"+ "\2\3\2\3\2\3\3\3\3\3\4\3\4\3\5\3\5\3\6\3\6\3\7\3\7\3\b\3\b\3\t\3\t\3\n"+
"\3\n\3\n\3\n\3\n\3\n\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\f\3\f\3\f\3"+ "\3\n\3\13\3\13\3\13\3\f\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\r\3\r\3"+
"\f\3\f\3\f\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\16\3\16\3\16\3\16\3\16"+ "\r\3\16\3\16\3\16\3\16\3\16\3\16\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3"+
"\3\16\3\16\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\20\3\20\3\20"+ "\17\3\17\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\21\3\21\3\21\3\21\3\21\3"+
"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\21\3\21\3\21\3\21\3\21\3\21\3\21"+ "\21\3\21\3\21\3\21\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3"+
"\3\21\3\22\3\22\3\22\3\23\3\23\3\23\3\23\3\23\3\24\3\24\3\24\3\24\3\24"+ "\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\24\3\24\3\24\3\25\3\25\3\25\3"+
"\3\24\3\25\3\25\3\25\3\26\3\26\3\26\3\26\3\27\3\27\3\27\3\27\3\27\3\27"+ "\25\3\25\3\26\3\26\3\26\3\26\3\26\3\26\3\27\3\27\3\27\3\30\3\30\3\30\3"+
"\3\27\3\30\3\30\3\30\3\30\3\30\3\30\3\31\3\31\3\31\3\31\3\31\3\31\3\31"+ "\30\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\32\3\32\3\32\3\32\3\32\3\32\3"+
"\3\31\3\31\3\32\3\32\3\32\3\32\3\33\3\33\3\34\3\34\3\34\3\35\3\35\3\35"+ "\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\34\3\34\3\34\3\34\3\35\3"+
"\3\35\3\35\3\35\3\35\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\37"+ "\35\3\36\3\36\3\36\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3 \3 \3 \3 \3 \3"+
"\3\37\3 \3 \3!\3!\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3#\3#\3$\3$\3$\3%\3%\3%"+ " \3 \3 \3 \3!\3!\3\"\3\"\3#\3#\3$\3$\3$\3$\3$\3$\3$\3%\3%\3&\3&\3&\3\'"+
"\3%\3%\3%\3%\3&\3&\3&\3&\3&\3&\3&\3\'\3\'\3\'\3(\3(\3(\3)\3)\3*\3*\3+"+ "\3\'\3\'\3\'\3\'\3\'\3\'\3(\3(\3(\3(\3(\3(\3(\3)\3)\3)\3*\3*\3*\3+\3+"+
"\3+\3,\3,\3-\3-\3.\3.\3.\3/\3/\3/\3\60\3\60\3\61\3\61\3\62\3\62\3\63\3"+ "\3,\3,\3-\3-\3.\3.\3/\3/\3\60\3\60\3\60\3\61\3\61\3\61\3\62\3\62\3\63"+
"\63\3\64\3\64\3\64\3\65\3\65\3\65\3\66\3\66\3\66\3\67\3\67\3\67\38\38"+ "\3\63\3\64\3\64\3\65\3\65\3\66\3\66\3\66\3\67\3\67\3\67\38\38\38\39\3"+
"\39\39\3:\3:\3:\3;\3;\3;\3<\3<\3=\3=\3=\3>\3>\3>\3?\3?\3?\3@\3@\3@\3A"+ "9\39\3:\3:\3;\3;\3<\3<\3<\3=\3=\3=\3>\3>\3?\3?\3?\3@\3@\3@\3A\3A\3A\3"+
"\3A\3A\3B\3B\3B\3B\3C\3C\3C\3C\3D\3D\3D\3E\3E\3E\3F\3F\3F\3G\3G\3G\3G"+ "B\3B\3B\3C\3C\3C\3D\3D\3D\3D\3E\3E\3E\3E\3F\3F\3F\3G\3G\3G\3H\3H\3H\3"+
"\3G\3G\3G\3G\3H\3H\3H\3H\3H\3H\3H\3H\3H\3I\3I\3I\3I\3I\3J\3J\3J\3J\3J"+ "I\3I\3I\3I\3I\3I\3I\3I\3J\3J\3J\3J\3J\3J\3J\3J\3J\3K\3K\3K\3K\3K\3L\3"+
"\3J\3J\3J\3J\3K\3K\3K\3K\3K\3K\3L\3L\3L\3L\3L\3L\3L\3M\3M\3M\3N\3N\3N"+ "L\3L\3L\3L\3L\3L\3L\3L\3M\3M\3M\3M\3M\3M\3N\3N\3N\3N\3N\3N\3N\3O\3O\3"+
"\3N\3N\3N\3O\3O\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P"+ "O\3O\3O\3O\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3"+
"\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P"+ "P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3"+
"\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P"+ "P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3"+
"\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P"+ "P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3"+
"\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P"+ "P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3"+
"\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P"+ "P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3"+
"\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P"+ "P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3"+
"\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P"+ "P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3"+
"\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P"+ "P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3"+
"\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\5P\u02f4"+ "P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\3P\5P\u02f4\nP\3"+
"\nP\3Q\3Q\3Q\3Q\7Q\u02fa\nQ\fQ\16Q\u02fd\13Q\3Q\3Q\3Q\3R\3R\3R\3R\3R\3"+ "Q\3Q\3Q\3Q\7Q\u02fa\nQ\fQ\16Q\u02fd\13Q\3Q\3Q\3Q\3R\3R\3R\3R\3R\3R\3R"+
"R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3"+ "\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R\3R"+
"R\3R\3R\3R\3R\3R\3R\3R\3R\5R\u0327\nR\3S\3S\3S\3S\7S\u032d\nS\fS\16S\u0330"+ "\3R\3R\3R\3R\3R\3R\3R\5R\u0327\nR\3S\3S\3S\3S\7S\u032d\nS\fS\16S\u0330"+
"\13S\3S\3S\5S\u0334\nS\3T\3T\3T\3T\5T\u033a\nT\3T\3T\3U\3U\3U\3U\3U\3"+ "\13S\3S\3S\5S\u0334\nS\3T\3T\3T\3T\5T\u033a\nT\3T\3T\3U\3U\3U\3U\3U\3"+
"U\3U\3U\3U\5U\u0347\nU\3V\3V\5V\u034b\nV\3W\3W\3W\5W\u0350\nW\3X\3X\3"+ "U\3U\3U\3U\5U\u0347\nU\3V\3V\5V\u034b\nV\3W\3W\3W\5W\u0350\nW\3X\3X\3"+
"X\3X\3X\5X\u0357\nX\3X\7X\u035a\nX\fX\16X\u035d\13X\3X\3X\6X\u0361\nX"+ "X\3X\3X\5X\u0357\nX\3X\7X\u035a\nX\fX\16X\u035d\13X\3X\3X\6X\u0361\nX"+
@@ -223,23 +223,23 @@ public class KickCLexer extends Lexer {
"\3\2\2\2\2\u00c3\3\2\2\2\2\u00c9\3\2\2\2\2\u00cb\3\2\2\2\2\u00cd\3\2\2"+ "\3\2\2\2\2\u00c3\3\2\2\2\2\u00c9\3\2\2\2\2\u00cb\3\2\2\2\2\u00cd\3\2\2"+
"\2\2\u00cf\3\2\2\2\3\u00d1\3\2\2\2\5\u00d8\3\2\2\2\7\u00da\3\2\2\2\t\u00dc"+ "\2\2\u00cf\3\2\2\2\3\u00d1\3\2\2\2\5\u00d8\3\2\2\2\7\u00da\3\2\2\2\t\u00dc"+
"\3\2\2\2\13\u00de\3\2\2\2\r\u00e0\3\2\2\2\17\u00e2\3\2\2\2\21\u00e4\3"+ "\3\2\2\2\13\u00de\3\2\2\2\r\u00e0\3\2\2\2\17\u00e2\3\2\2\2\21\u00e4\3"+
"\2\2\2\23\u00e6\3\2\2\2\25\u00ec\3\2\2\2\27\u00f3\3\2\2\2\31\u00f9\3\2"+ "\2\2\2\23\u00e6\3\2\2\2\25\u00e8\3\2\2\2\27\u00eb\3\2\2\2\31\u00f1\3\2"+
"\2\2\33\u0102\3\2\2\2\35\u0109\3\2\2\2\37\u0112\3\2\2\2!\u011c\3\2\2\2"+ "\2\2\33\u00f8\3\2\2\2\35\u00fe\3\2\2\2\37\u0107\3\2\2\2!\u010e\3\2\2\2"+
"#\u0124\3\2\2\2%\u0127\3\2\2\2\'\u012c\3\2\2\2)\u0132\3\2\2\2+\u0135\3"+ "#\u0117\3\2\2\2%\u0121\3\2\2\2\'\u0129\3\2\2\2)\u012c\3\2\2\2+\u0131\3"+
"\2\2\2-\u0139\3\2\2\2/\u0140\3\2\2\2\61\u0146\3\2\2\2\63\u014f\3\2\2\2"+ "\2\2\2-\u0137\3\2\2\2/\u013a\3\2\2\2\61\u013e\3\2\2\2\63\u0145\3\2\2\2"+
"\65\u0153\3\2\2\2\67\u0155\3\2\2\29\u0158\3\2\2\2;\u015f\3\2\2\2=\u0168"+ "\65\u014b\3\2\2\2\67\u0154\3\2\2\29\u0158\3\2\2\2;\u015a\3\2\2\2=\u015d"+
"\3\2\2\2?\u016a\3\2\2\2A\u016c\3\2\2\2C\u016e\3\2\2\2E\u0175\3\2\2\2G"+ "\3\2\2\2?\u0164\3\2\2\2A\u016d\3\2\2\2C\u016f\3\2\2\2E\u0171\3\2\2\2G"+
"\u0177\3\2\2\2I\u017a\3\2\2\2K\u0181\3\2\2\2M\u0188\3\2\2\2O\u018b\3\2"+ "\u0173\3\2\2\2I\u017a\3\2\2\2K\u017c\3\2\2\2M\u017f\3\2\2\2O\u0186\3\2"+
"\2\2Q\u018e\3\2\2\2S\u0190\3\2\2\2U\u0192\3\2\2\2W\u0194\3\2\2\2Y\u0196"+ "\2\2Q\u018d\3\2\2\2S\u0190\3\2\2\2U\u0193\3\2\2\2W\u0195\3\2\2\2Y\u0197"+
"\3\2\2\2[\u0198\3\2\2\2]\u019b\3\2\2\2_\u019e\3\2\2\2a\u01a0\3\2\2\2c"+ "\3\2\2\2[\u0199\3\2\2\2]\u019b\3\2\2\2_\u019d\3\2\2\2a\u01a0\3\2\2\2c"+
"\u01a2\3\2\2\2e\u01a4\3\2\2\2g\u01a6\3\2\2\2i\u01a9\3\2\2\2k\u01ac\3\2"+ "\u01a3\3\2\2\2e\u01a5\3\2\2\2g\u01a7\3\2\2\2i\u01a9\3\2\2\2k\u01ab\3\2"+
"\2\2m\u01af\3\2\2\2o\u01b2\3\2\2\2q\u01b4\3\2\2\2s\u01b6\3\2\2\2u\u01b9"+ "\2\2m\u01ae\3\2\2\2o\u01b1\3\2\2\2q\u01b4\3\2\2\2s\u01b7\3\2\2\2u\u01b9"+
"\3\2\2\2w\u01bc\3\2\2\2y\u01be\3\2\2\2{\u01c1\3\2\2\2}\u01c4\3\2\2\2\177"+ "\3\2\2\2w\u01bb\3\2\2\2y\u01be\3\2\2\2{\u01c1\3\2\2\2}\u01c3\3\2\2\2\177"+
"\u01c7\3\2\2\2\u0081\u01ca\3\2\2\2\u0083\u01cd\3\2\2\2\u0085\u01d1\3\2"+ "\u01c6\3\2\2\2\u0081\u01c9\3\2\2\2\u0083\u01cc\3\2\2\2\u0085\u01cf\3\2"+
"\2\2\u0087\u01d5\3\2\2\2\u0089\u01d8\3\2\2\2\u008b\u01db\3\2\2\2\u008d"+ "\2\2\u0087\u01d2\3\2\2\2\u0089\u01d6\3\2\2\2\u008b\u01da\3\2\2\2\u008d"+
"\u01de\3\2\2\2\u008f\u01e6\3\2\2\2\u0091\u01ef\3\2\2\2\u0093\u01f4\3\2"+ "\u01dd\3\2\2\2\u008f\u01e0\3\2\2\2\u0091\u01e3\3\2\2\2\u0093\u01eb\3\2"+
"\2\2\u0095\u01fd\3\2\2\2\u0097\u0203\3\2\2\2\u0099\u020a\3\2\2\2\u009b"+ "\2\2\u0095\u01f4\3\2\2\2\u0097\u01f9\3\2\2\2\u0099\u0202\3\2\2\2\u009b"+
"\u020d\3\2\2\2\u009d\u0213\3\2\2\2\u009f\u02f3\3\2\2\2\u00a1\u02f5\3\2"+ "\u0208\3\2\2\2\u009d\u020f\3\2\2\2\u009f\u02f3\3\2\2\2\u00a1\u02f5\3\2"+
"\2\2\u00a3\u0326\3\2\2\2\u00a5\u0328\3\2\2\2\u00a7\u0335\3\2\2\2\u00a9"+ "\2\2\u00a3\u0326\3\2\2\2\u00a5\u0328\3\2\2\2\u00a7\u0335\3\2\2\2\u00a9"+
"\u0346\3\2\2\2\u00ab\u034a\3\2\2\2\u00ad\u034f\3\2\2\2\u00af\u0356\3\2"+ "\u0346\3\2\2\2\u00ab\u034a\3\2\2\2\u00ad\u034f\3\2\2\2\u00af\u0356\3\2"+
"\2\2\u00b1\u0367\3\2\2\2\u00b3\u0375\3\2\2\2\u00b5\u0386\3\2\2\2\u00b7"+ "\2\2\u00b1\u0367\3\2\2\2\u00b3\u0375\3\2\2\2\u00b5\u0386\3\2\2\2\u00b7"+
@@ -252,252 +252,252 @@ public class KickCLexer extends Lexer {
"\u00da\u00db\7.\2\2\u00db\b\3\2\2\2\u00dc\u00dd\7?\2\2\u00dd\n\3\2\2\2"+ "\u00da\u00db\7.\2\2\u00db\b\3\2\2\2\u00dc\u00dd\7?\2\2\u00dd\n\3\2\2\2"+
"\u00de\u00df\7*\2\2\u00df\f\3\2\2\2\u00e0\u00e1\7+\2\2\u00e1\16\3\2\2"+ "\u00de\u00df\7*\2\2\u00df\f\3\2\2\2\u00e0\u00e1\7+\2\2\u00e1\16\3\2\2"+
"\2\u00e2\u00e3\7}\2\2\u00e3\20\3\2\2\2\u00e4\u00e5\7\177\2\2\u00e5\22"+ "\2\u00e2\u00e3\7}\2\2\u00e3\20\3\2\2\2\u00e4\u00e5\7\177\2\2\u00e5\22"+
"\3\2\2\2\u00e6\u00e7\7e\2\2\u00e7\u00e8\7q\2\2\u00e8\u00e9\7p\2\2\u00e9"+ "\3\2\2\2\u00e6\u00e7\7%\2\2\u00e7\24\3\2\2\2\u00e8\u00e9\7r\2\2\u00e9"+
"\u00ea\7u\2\2\u00ea\u00eb\7v\2\2\u00eb\24\3\2\2\2\u00ec\u00ed\7g\2\2\u00ed"+ "\u00ea\7e\2\2\u00ea\26\3\2\2\2\u00eb\u00ec\7e\2\2\u00ec\u00ed\7q\2\2\u00ed"+
"\u00ee\7z\2\2\u00ee\u00ef\7v\2\2\u00ef\u00f0\7g\2\2\u00f0\u00f1\7t\2\2"+ "\u00ee\7p\2\2\u00ee\u00ef\7u\2\2\u00ef\u00f0\7v\2\2\u00f0\30\3\2\2\2\u00f1"+
"\u00f1\u00f2\7p\2\2\u00f2\26\3\2\2\2\u00f3\u00f4\7c\2\2\u00f4\u00f5\7"+ "\u00f2\7g\2\2\u00f2\u00f3\7z\2\2\u00f3\u00f4\7v\2\2\u00f4\u00f5\7g\2\2"+
"n\2\2\u00f5\u00f6\7k\2\2\u00f6\u00f7\7i\2\2\u00f7\u00f8\7p\2\2\u00f8\30"+ "\u00f5\u00f6\7t\2\2\u00f6\u00f7\7p\2\2\u00f7\32\3\2\2\2\u00f8\u00f9\7"+
"\3\2\2\2\u00f9\u00fa\7t\2\2\u00fa\u00fb\7g\2\2\u00fb\u00fc\7i\2\2\u00fc"+ "c\2\2\u00f9\u00fa\7n\2\2\u00fa\u00fb\7k\2\2\u00fb\u00fc\7i\2\2\u00fc\u00fd"+
"\u00fd\7k\2\2\u00fd\u00fe\7u\2\2\u00fe\u00ff\7v\2\2\u00ff\u0100\7g\2\2"+ "\7p\2\2\u00fd\34\3\2\2\2\u00fe\u00ff\7t\2\2\u00ff\u0100\7g\2\2\u0100\u0101"+
"\u0100\u0101\7t\2\2\u0101\32\3\2\2\2\u0102\u0103\7k\2\2\u0103\u0104\7"+ "\7i\2\2\u0101\u0102\7k\2\2\u0102\u0103\7u\2\2\u0103\u0104\7v\2\2\u0104"+
"p\2\2\u0104\u0105\7n\2\2\u0105\u0106\7k\2\2\u0106\u0107\7p\2\2\u0107\u0108"+ "\u0105\7g\2\2\u0105\u0106\7t\2\2\u0106\36\3\2\2\2\u0107\u0108\7k\2\2\u0108"+
"\7g\2\2\u0108\34\3\2\2\2\u0109\u010a\7x\2\2\u010a\u010b\7q\2\2\u010b\u010c"+ "\u0109\7p\2\2\u0109\u010a\7n\2\2\u010a\u010b\7k\2\2\u010b\u010c\7p\2\2"+
"\7n\2\2\u010c\u010d\7c\2\2\u010d\u010e\7v\2\2\u010e\u010f\7k\2\2\u010f"+ "\u010c\u010d\7g\2\2\u010d \3\2\2\2\u010e\u010f\7x\2\2\u010f\u0110\7q\2"+
"\u0110\7n\2\2\u0110\u0111\7g\2\2\u0111\36\3\2\2\2\u0112\u0113\7k\2\2\u0113"+ "\2\u0110\u0111\7n\2\2\u0111\u0112\7c\2\2\u0112\u0113\7v\2\2\u0113\u0114"+
"\u0114\7p\2\2\u0114\u0115\7v\2\2\u0115\u0116\7g\2\2\u0116\u0117\7t\2\2"+ "\7k\2\2\u0114\u0115\7n\2\2\u0115\u0116\7g\2\2\u0116\"\3\2\2\2\u0117\u0118"+
"\u0117\u0118\7t\2\2\u0118\u0119\7w\2\2\u0119\u011a\7r\2\2\u011a\u011b"+ "\7k\2\2\u0118\u0119\7p\2\2\u0119\u011a\7v\2\2\u011a\u011b\7g\2\2\u011b"+
"\7v\2\2\u011b \3\2\2\2\u011c\u011d\7t\2\2\u011d\u011e\7g\2\2\u011e\u011f"+ "\u011c\7t\2\2\u011c\u011d\7t\2\2\u011d\u011e\7w\2\2\u011e\u011f\7r\2\2"+
"\7u\2\2\u011f\u0120\7g\2\2\u0120\u0121\7t\2\2\u0121\u0122\7x\2\2\u0122"+ "\u011f\u0120\7v\2\2\u0120$\3\2\2\2\u0121\u0122\7t\2\2\u0122\u0123\7g\2"+
"\u0123\7g\2\2\u0123\"\3\2\2\2\u0124\u0125\7k\2\2\u0125\u0126\7h\2\2\u0126"+ "\2\u0123\u0124\7u\2\2\u0124\u0125\7g\2\2\u0125\u0126\7t\2\2\u0126\u0127"+
"$\3\2\2\2\u0127\u0128\7g\2\2\u0128\u0129\7n\2\2\u0129\u012a\7u\2\2\u012a"+ "\7x\2\2\u0127\u0128\7g\2\2\u0128&\3\2\2\2\u0129\u012a\7k\2\2\u012a\u012b"+
"\u012b\7g\2\2\u012b&\3\2\2\2\u012c\u012d\7y\2\2\u012d\u012e\7j\2\2\u012e"+ "\7h\2\2\u012b(\3\2\2\2\u012c\u012d\7g\2\2\u012d\u012e\7n\2\2\u012e\u012f"+
"\u012f\7k\2\2\u012f\u0130\7n\2\2\u0130\u0131\7g\2\2\u0131(\3\2\2\2\u0132"+ "\7u\2\2\u012f\u0130\7g\2\2\u0130*\3\2\2\2\u0131\u0132\7y\2\2\u0132\u0133"+
"\u0133\7f\2\2\u0133\u0134\7q\2\2\u0134*\3\2\2\2\u0135\u0136\7h\2\2\u0136"+ "\7j\2\2\u0133\u0134\7k\2\2\u0134\u0135\7n\2\2\u0135\u0136\7g\2\2\u0136"+
"\u0137\7q\2\2\u0137\u0138\7t\2\2\u0138,\3\2\2\2\u0139\u013a\7t\2\2\u013a"+ ",\3\2\2\2\u0137\u0138\7f\2\2\u0138\u0139\7q\2\2\u0139.\3\2\2\2\u013a\u013b"+
"\u013b\7g\2\2\u013b\u013c\7v\2\2\u013c\u013d\7w\2\2\u013d\u013e\7t\2\2"+ "\7h\2\2\u013b\u013c\7q\2\2\u013c\u013d\7t\2\2\u013d\60\3\2\2\2\u013e\u013f"+
"\u013e\u013f\7p\2\2\u013f.\3\2\2\2\u0140\u0141\7d\2\2\u0141\u0142\7t\2"+ "\7t\2\2\u013f\u0140\7g\2\2\u0140\u0141\7v\2\2\u0141\u0142\7w\2\2\u0142"+
"\2\u0142\u0143\7g\2\2\u0143\u0144\7c\2\2\u0144\u0145\7m\2\2\u0145\60\3"+ "\u0143\7t\2\2\u0143\u0144\7p\2\2\u0144\62\3\2\2\2\u0145\u0146\7d\2\2\u0146"+
"\2\2\2\u0146\u0147\7e\2\2\u0147\u0148\7q\2\2\u0148\u0149\7p\2\2\u0149"+ "\u0147\7t\2\2\u0147\u0148\7g\2\2\u0148\u0149\7c\2\2\u0149\u014a\7m\2\2"+
"\u014a\7v\2\2\u014a\u014b\7k\2\2\u014b\u014c\7p\2\2\u014c\u014d\7w\2\2"+ "\u014a\64\3\2\2\2\u014b\u014c\7e\2\2\u014c\u014d\7q\2\2\u014d\u014e\7"+
"\u014d\u014e\7g\2\2\u014e\62\3\2\2\2\u014f\u0150\7c\2\2\u0150\u0151\7"+ "p\2\2\u014e\u014f\7v\2\2\u014f\u0150\7k\2\2\u0150\u0151\7p\2\2\u0151\u0152"+
"u\2\2\u0151\u0152\7o\2\2\u0152\64\3\2\2\2\u0153\u0154\7<\2\2\u0154\66"+ "\7w\2\2\u0152\u0153\7g\2\2\u0153\66\3\2\2\2\u0154\u0155\7c\2\2\u0155\u0156"+
"\3\2\2\2\u0155\u0156\7\60\2\2\u0156\u0157\7\60\2\2\u01578\3\2\2\2\u0158"+ "\7u\2\2\u0156\u0157\7o\2\2\u01578\3\2\2\2\u0158\u0159\7<\2\2\u0159:\3"+
"\u0159\7u\2\2\u0159\u015a\7k\2\2\u015a\u015b\7i\2\2\u015b\u015c\7p\2\2"+ "\2\2\2\u015a\u015b\7\60\2\2\u015b\u015c\7\60\2\2\u015c<\3\2\2\2\u015d"+
"\u015c\u015d\7g\2\2\u015d\u015e\7f\2\2\u015e:\3\2\2\2\u015f\u0160\7w\2"+ "\u015e\7u\2\2\u015e\u015f\7k\2\2\u015f\u0160\7i\2\2\u0160\u0161\7p\2\2"+
"\2\u0160\u0161\7p\2\2\u0161\u0162\7u\2\2\u0162\u0163\7k\2\2\u0163\u0164"+ "\u0161\u0162\7g\2\2\u0162\u0163\7f\2\2\u0163>\3\2\2\2\u0164\u0165\7w\2"+
"\7i\2\2\u0164\u0165\7p\2\2\u0165\u0166\7g\2\2\u0166\u0167\7f\2\2\u0167"+ "\2\u0165\u0166\7p\2\2\u0166\u0167\7u\2\2\u0167\u0168\7k\2\2\u0168\u0169"+
"<\3\2\2\2\u0168\u0169\7,\2\2\u0169>\3\2\2\2\u016a\u016b\7]\2\2\u016b@"+ "\7i\2\2\u0169\u016a\7p\2\2\u016a\u016b\7g\2\2\u016b\u016c\7f\2\2\u016c"+
"\3\2\2\2\u016c\u016d\7_\2\2\u016dB\3\2\2\2\u016e\u016f\7u\2\2\u016f\u0170"+ "@\3\2\2\2\u016d\u016e\7,\2\2\u016eB\3\2\2\2\u016f\u0170\7]\2\2\u0170D"+
"\7v\2\2\u0170\u0171\7t\2\2\u0171\u0172\7w\2\2\u0172\u0173\7e\2\2\u0173"+ "\3\2\2\2\u0171\u0172\7_\2\2\u0172F\3\2\2\2\u0173\u0174\7u\2\2\u0174\u0175"+
"\u0174\7v\2\2\u0174D\3\2\2\2\u0175\u0176\7\60\2\2\u0176F\3\2\2\2\u0177"+ "\7v\2\2\u0175\u0176\7t\2\2\u0176\u0177\7w\2\2\u0177\u0178\7e\2\2\u0178"+
"\u0178\7/\2\2\u0178\u0179\7@\2\2\u0179H\3\2\2\2\u017a\u017b\7u\2\2\u017b"+ "\u0179\7v\2\2\u0179H\3\2\2\2\u017a\u017b\7\60\2\2\u017bJ\3\2\2\2\u017c"+
"\u017c\7k\2\2\u017c\u017d\7|\2\2\u017d\u017e\7g\2\2\u017e\u017f\7q\2\2"+ "\u017d\7/\2\2\u017d\u017e\7@\2\2\u017eL\3\2\2\2\u017f\u0180\7u\2\2\u0180"+
"\u017f\u0180\7h\2\2\u0180J\3\2\2\2\u0181\u0182\7v\2\2\u0182\u0183\7{\2"+ "\u0181\7k\2\2\u0181\u0182\7|\2\2\u0182\u0183\7g\2\2\u0183\u0184\7q\2\2"+
"\2\u0183\u0184\7r\2\2\u0184\u0185\7g\2\2\u0185\u0186\7k\2\2\u0186\u0187"+ "\u0184\u0185\7h\2\2\u0185N\3\2\2\2\u0186\u0187\7v\2\2\u0187\u0188\7{\2"+
"\7f\2\2\u0187L\3\2\2\2\u0188\u0189\7/\2\2\u0189\u018a\7/\2\2\u018aN\3"+ "\2\u0188\u0189\7r\2\2\u0189\u018a\7g\2\2\u018a\u018b\7k\2\2\u018b\u018c"+
"\2\2\2\u018b\u018c\7-\2\2\u018c\u018d\7-\2\2\u018dP\3\2\2\2\u018e\u018f"+ "\7f\2\2\u018cP\3\2\2\2\u018d\u018e\7/\2\2\u018e\u018f\7/\2\2\u018fR\3"+
"\7-\2\2\u018fR\3\2\2\2\u0190\u0191\7/\2\2\u0191T\3\2\2\2\u0192\u0193\7"+ "\2\2\2\u0190\u0191\7-\2\2\u0191\u0192\7-\2\2\u0192T\3\2\2\2\u0193\u0194"+
"#\2\2\u0193V\3\2\2\2\u0194\u0195\7(\2\2\u0195X\3\2\2\2\u0196\u0197\7\u0080"+ "\7-\2\2\u0194V\3\2\2\2\u0195\u0196\7/\2\2\u0196X\3\2\2\2\u0197\u0198\7"+
"\2\2\u0197Z\3\2\2\2\u0198\u0199\7@\2\2\u0199\u019a\7@\2\2\u019a\\\3\2"+ "#\2\2\u0198Z\3\2\2\2\u0199\u019a\7(\2\2\u019a\\\3\2\2\2\u019b\u019c\7"+
"\2\2\u019b\u019c\7>\2\2\u019c\u019d\7>\2\2\u019d^\3\2\2\2\u019e\u019f"+ "\u0080\2\2\u019c^\3\2\2\2\u019d\u019e\7@\2\2\u019e\u019f\7@\2\2\u019f"+
"\7\61\2\2\u019f`\3\2\2\2\u01a0\u01a1\7\'\2\2\u01a1b\3\2\2\2\u01a2\u01a3"+ "`\3\2\2\2\u01a0\u01a1\7>\2\2\u01a1\u01a2\7>\2\2\u01a2b\3\2\2\2\u01a3\u01a4"+
"\7>\2\2\u01a3d\3\2\2\2\u01a4\u01a5\7@\2\2\u01a5f\3\2\2\2\u01a6\u01a7\7"+ "\7\61\2\2\u01a4d\3\2\2\2\u01a5\u01a6\7\'\2\2\u01a6f\3\2\2\2\u01a7\u01a8"+
"?\2\2\u01a7\u01a8\7?\2\2\u01a8h\3\2\2\2\u01a9\u01aa\7#\2\2\u01aa\u01ab"+ "\7>\2\2\u01a8h\3\2\2\2\u01a9\u01aa\7@\2\2\u01aaj\3\2\2\2\u01ab\u01ac\7"+
"\7?\2\2\u01abj\3\2\2\2\u01ac\u01ad\7>\2\2\u01ad\u01ae\7?\2\2\u01ael\3"+ "?\2\2\u01ac\u01ad\7?\2\2\u01adl\3\2\2\2\u01ae\u01af\7#\2\2\u01af\u01b0"+
"\2\2\2\u01af\u01b0\7@\2\2\u01b0\u01b1\7?\2\2\u01b1n\3\2\2\2\u01b2\u01b3"+ "\7?\2\2\u01b0n\3\2\2\2\u01b1\u01b2\7>\2\2\u01b2\u01b3\7?\2\2\u01b3p\3"+
"\7`\2\2\u01b3p\3\2\2\2\u01b4\u01b5\7~\2\2\u01b5r\3\2\2\2\u01b6\u01b7\7"+ "\2\2\2\u01b4\u01b5\7@\2\2\u01b5\u01b6\7?\2\2\u01b6r\3\2\2\2\u01b7\u01b8"+
"(\2\2\u01b7\u01b8\7(\2\2\u01b8t\3\2\2\2\u01b9\u01ba\7~\2\2\u01ba\u01bb"+ "\7`\2\2\u01b8t\3\2\2\2\u01b9\u01ba\7~\2\2\u01bav\3\2\2\2\u01bb\u01bc\7"+
"\7~\2\2\u01bbv\3\2\2\2\u01bc\u01bd\7A\2\2\u01bdx\3\2\2\2\u01be\u01bf\7"+ "(\2\2\u01bc\u01bd\7(\2\2\u01bdx\3\2\2\2\u01be\u01bf\7~\2\2\u01bf\u01c0"+
"-\2\2\u01bf\u01c0\7?\2\2\u01c0z\3\2\2\2\u01c1\u01c2\7/\2\2\u01c2\u01c3"+ "\7~\2\2\u01c0z\3\2\2\2\u01c1\u01c2\7A\2\2\u01c2|\3\2\2\2\u01c3\u01c4\7"+
"\7?\2\2\u01c3|\3\2\2\2\u01c4\u01c5\7,\2\2\u01c5\u01c6\7?\2\2\u01c6~\3"+ "-\2\2\u01c4\u01c5\7?\2\2\u01c5~\3\2\2\2\u01c6\u01c7\7/\2\2\u01c7\u01c8"+
"\2\2\2\u01c7\u01c8\7\61\2\2\u01c8\u01c9\7?\2\2\u01c9\u0080\3\2\2\2\u01ca"+ "\7?\2\2\u01c8\u0080\3\2\2\2\u01c9\u01ca\7,\2\2\u01ca\u01cb\7?\2\2\u01cb"+
"\u01cb\7\'\2\2\u01cb\u01cc\7?\2\2\u01cc\u0082\3\2\2\2\u01cd\u01ce\7>\2"+ "\u0082\3\2\2\2\u01cc\u01cd\7\61\2\2\u01cd\u01ce\7?\2\2\u01ce\u0084\3\2"+
"\2\u01ce\u01cf\7>\2\2\u01cf\u01d0\7?\2\2\u01d0\u0084\3\2\2\2\u01d1\u01d2"+ "\2\2\u01cf\u01d0\7\'\2\2\u01d0\u01d1\7?\2\2\u01d1\u0086\3\2\2\2\u01d2"+
"\7@\2\2\u01d2\u01d3\7@\2\2\u01d3\u01d4\7?\2\2\u01d4\u0086\3\2\2\2\u01d5"+ "\u01d3\7>\2\2\u01d3\u01d4\7>\2\2\u01d4\u01d5\7?\2\2\u01d5\u0088\3\2\2"+
"\u01d6\7(\2\2\u01d6\u01d7\7?\2\2\u01d7\u0088\3\2\2\2\u01d8\u01d9\7~\2"+ "\2\u01d6\u01d7\7@\2\2\u01d7\u01d8\7@\2\2\u01d8\u01d9\7?\2\2\u01d9\u008a"+
"\2\u01d9\u01da\7?\2\2\u01da\u008a\3\2\2\2\u01db\u01dc\7`\2\2\u01dc\u01dd"+ "\3\2\2\2\u01da\u01db\7(\2\2\u01db\u01dc\7?\2\2\u01dc\u008c\3\2\2\2\u01dd"+
"\7?\2\2\u01dd\u008c\3\2\2\2\u01de\u01df\7m\2\2\u01df\u01e0\7k\2\2\u01e0"+ "\u01de\7~\2\2\u01de\u01df\7?\2\2\u01df\u008e\3\2\2\2\u01e0\u01e1\7`\2"+
"\u01e1\7e\2\2\u01e1\u01e2\7m\2\2\u01e2\u01e3\7c\2\2\u01e3\u01e4\7u\2\2"+ "\2\u01e1\u01e2\7?\2\2\u01e2\u0090\3\2\2\2\u01e3\u01e4\7m\2\2\u01e4\u01e5"+
"\u01e4\u01e5\7o\2\2\u01e5\u008e\3\2\2\2\u01e6\u01e7\7t\2\2\u01e7\u01e8"+ "\7k\2\2\u01e5\u01e6\7e\2\2\u01e6\u01e7\7m\2\2\u01e7\u01e8\7c\2\2\u01e8"+
"\7g\2\2\u01e8\u01e9\7u\2\2\u01e9\u01ea\7q\2\2\u01ea\u01eb\7w\2\2\u01eb"+ "\u01e9\7u\2\2\u01e9\u01ea\7o\2\2\u01ea\u0092\3\2\2\2\u01eb\u01ec\7t\2"+
"\u01ec\7t\2\2\u01ec\u01ed\7e\2\2\u01ed\u01ee\7g\2\2\u01ee\u0090\3\2\2"+ "\2\u01ec\u01ed\7g\2\2\u01ed\u01ee\7u\2\2\u01ee\u01ef\7q\2\2\u01ef\u01f0"+
"\2\u01ef\u01f0\7w\2\2\u01f0\u01f1\7u\2\2\u01f1\u01f2\7g\2\2\u01f2\u01f3"+ "\7w\2\2\u01f0\u01f1\7t\2\2\u01f1\u01f2\7e\2\2\u01f2\u01f3\7g\2\2\u01f3"+
"\7u\2\2\u01f3\u0092\3\2\2\2\u01f4\u01f5\7e\2\2\u01f5\u01f6\7n\2\2\u01f6"+ "\u0094\3\2\2\2\u01f4\u01f5\7w\2\2\u01f5\u01f6\7u\2\2\u01f6\u01f7\7g\2"+
"\u01f7\7q\2\2\u01f7\u01f8\7d\2\2\u01f8\u01f9\7d\2\2\u01f9\u01fa\7g\2\2"+ "\2\u01f7\u01f8\7u\2\2\u01f8\u0096\3\2\2\2\u01f9\u01fa\7e\2\2\u01fa\u01fb"+
"\u01fa\u01fb\7t\2\2\u01fb\u01fc\7u\2\2\u01fc\u0094\3\2\2\2\u01fd\u01fe"+ "\7n\2\2\u01fb\u01fc\7q\2\2\u01fc\u01fd\7d\2\2\u01fd\u01fe\7d\2\2\u01fe"+
"\7d\2\2\u01fe\u01ff\7{\2\2\u01ff\u0200\7v\2\2\u0200\u0201\7g\2\2\u0201"+ "\u01ff\7g\2\2\u01ff\u0200\7t\2\2\u0200\u0201\7u\2\2\u0201\u0098\3\2\2"+
"\u0202\7u\2\2\u0202\u0096\3\2\2\2\u0203\u0204\7e\2\2\u0204\u0205\7{\2"+ "\2\u0202\u0203\7d\2\2\u0203\u0204\7{\2\2\u0204\u0205\7v\2\2\u0205\u0206"+
"\2\u0205\u0206\7e\2\2\u0206\u0207\7n\2\2\u0207\u0208\7g\2\2\u0208\u0209"+ "\7g\2\2\u0206\u0207\7u\2\2\u0207\u009a\3\2\2\2\u0208\u0209\7e\2\2\u0209"+
"\7u\2\2\u0209\u0098\3\2\2\2\u020a\u020b\7r\2\2\u020b\u020c\7e\2\2\u020c"+ "\u020a\7{\2\2\u020a\u020b\7e\2\2\u020b\u020c\7n\2\2\u020c\u020d\7g\2\2"+
"\u009a\3\2\2\2\u020d\u020e\7\60\2\2\u020e\u020f\7d\2\2\u020f\u0210\7{"+ "\u020d\u020e\7u\2\2\u020e\u009c\3\2\2\2\u020f\u0210\7\60\2\2\u0210\u0211"+
"\2\2\u0210\u0211\7v\2\2\u0211\u0212\7g\2\2\u0212\u009c\3\2\2\2\u0213\u0214"+ "\7d\2\2\u0211\u0212\7{\2\2\u0212\u0213\7v\2\2\u0213\u0214\7g\2\2\u0214"+
"\7%\2\2\u0214\u009e\3\2\2\2\u0215\u0216\7d\2\2\u0216\u0217\7t\2\2\u0217"+ "\u009e\3\2\2\2\u0215\u0216\7d\2\2\u0216\u0217\7t\2\2\u0217\u02f4\7m\2"+
"\u02f4\7m\2\2\u0218\u0219\7q\2\2\u0219\u021a\7t\2\2\u021a\u02f4\7c\2\2"+ "\2\u0218\u0219\7q\2\2\u0219\u021a\7t\2\2\u021a\u02f4\7c\2\2\u021b\u021c"+
"\u021b\u021c\7m\2\2\u021c\u021d\7k\2\2\u021d\u02f4\7n\2\2\u021e\u021f"+ "\7m\2\2\u021c\u021d\7k\2\2\u021d\u02f4\7n\2\2\u021e\u021f\7u\2\2\u021f"+
"\7u\2\2\u021f\u0220\7n\2\2\u0220\u02f4\7q\2\2\u0221\u0222\7p\2\2\u0222"+ "\u0220\7n\2\2\u0220\u02f4\7q\2\2\u0221\u0222\7p\2\2\u0222\u0223\7q\2\2"+
"\u0223\7q\2\2\u0223\u02f4\7r\2\2\u0224\u0225\7c\2\2\u0225\u0226\7u\2\2"+ "\u0223\u02f4\7r\2\2\u0224\u0225\7c\2\2\u0225\u0226\7u\2\2\u0226\u02f4"+
"\u0226\u02f4\7n\2\2\u0227\u0228\7r\2\2\u0228\u0229\7j\2\2\u0229\u02f4"+ "\7n\2\2\u0227\u0228\7r\2\2\u0228\u0229\7j\2\2\u0229\u02f4\7r\2\2\u022a"+
"\7r\2\2\u022a\u022b\7c\2\2\u022b\u022c\7p\2\2\u022c\u02f4\7e\2\2\u022d"+ "\u022b\7c\2\2\u022b\u022c\7p\2\2\u022c\u02f4\7e\2\2\u022d\u022e\7d\2\2"+
"\u022e\7d\2\2\u022e\u022f\7r\2\2\u022f\u02f4\7n\2\2\u0230\u0231\7e\2\2"+ "\u022e\u022f\7r\2\2\u022f\u02f4\7n\2\2\u0230\u0231\7e\2\2\u0231\u0232"+
"\u0231\u0232\7n\2\2\u0232\u02f4\7e\2\2\u0233\u0234\7l\2\2\u0234\u0235"+ "\7n\2\2\u0232\u02f4\7e\2\2\u0233\u0234\7l\2\2\u0234\u0235\7u\2\2\u0235"+
"\7u\2\2\u0235\u02f4\7t\2\2\u0236\u0237\7c\2\2\u0237\u0238\7p\2\2\u0238"+ "\u02f4\7t\2\2\u0236\u0237\7c\2\2\u0237\u0238\7p\2\2\u0238\u02f4\7f\2\2"+
"\u02f4\7f\2\2\u0239\u023a\7t\2\2\u023a\u023b\7n\2\2\u023b\u02f4\7c\2\2"+ "\u0239\u023a\7t\2\2\u023a\u023b\7n\2\2\u023b\u02f4\7c\2\2\u023c\u023d"+
"\u023c\u023d\7d\2\2\u023d\u023e\7k\2\2\u023e\u02f4\7v\2\2\u023f\u0240"+ "\7d\2\2\u023d\u023e\7k\2\2\u023e\u02f4\7v\2\2\u023f\u0240\7t\2\2\u0240"+
"\7t\2\2\u0240\u0241\7q\2\2\u0241\u02f4\7n\2\2\u0242\u0243\7r\2\2\u0243"+ "\u0241\7q\2\2\u0241\u02f4\7n\2\2\u0242\u0243\7r\2\2\u0243\u0244\7n\2\2"+
"\u0244\7n\2\2\u0244\u02f4\7c\2\2\u0245\u0246\7r\2\2\u0246\u0247\7n\2\2"+ "\u0244\u02f4\7c\2\2\u0245\u0246\7r\2\2\u0246\u0247\7n\2\2\u0247\u02f4"+
"\u0247\u02f4\7r\2\2\u0248\u0249\7d\2\2\u0249\u024a\7o\2\2\u024a\u02f4"+ "\7r\2\2\u0248\u0249\7d\2\2\u0249\u024a\7o\2\2\u024a\u02f4\7k\2\2\u024b"+
"\7k\2\2\u024b\u024c\7u\2\2\u024c\u024d\7g\2\2\u024d\u02f4\7e\2\2\u024e"+ "\u024c\7u\2\2\u024c\u024d\7g\2\2\u024d\u02f4\7e\2\2\u024e\u024f\7t\2\2"+
"\u024f\7t\2\2\u024f\u0250\7v\2\2\u0250\u02f4\7k\2\2\u0251\u0252\7g\2\2"+ "\u024f\u0250\7v\2\2\u0250\u02f4\7k\2\2\u0251\u0252\7g\2\2\u0252\u0253"+
"\u0252\u0253\7q\2\2\u0253\u02f4\7t\2\2\u0254\u0255\7u\2\2\u0255\u0256"+ "\7q\2\2\u0253\u02f4\7t\2\2\u0254\u0255\7u\2\2\u0255\u0256\7t\2\2\u0256"+
"\7t\2\2\u0256\u02f4\7g\2\2\u0257\u0258\7n\2\2\u0258\u0259\7u\2\2\u0259"+ "\u02f4\7g\2\2\u0257\u0258\7n\2\2\u0258\u0259\7u\2\2\u0259\u02f4\7t\2\2"+
"\u02f4\7t\2\2\u025a\u025b\7r\2\2\u025b\u025c\7j\2\2\u025c\u02f4\7c\2\2"+ "\u025a\u025b\7r\2\2\u025b\u025c\7j\2\2\u025c\u02f4\7c\2\2\u025d\u025e"+
"\u025d\u025e\7c\2\2\u025e\u025f\7n\2\2\u025f\u02f4\7t\2\2\u0260\u0261"+ "\7c\2\2\u025e\u025f\7n\2\2\u025f\u02f4\7t\2\2\u0260\u0261\7l\2\2\u0261"+
"\7l\2\2\u0261\u0262\7o\2\2\u0262\u02f4\7r\2\2\u0263\u0264\7d\2\2\u0264"+ "\u0262\7o\2\2\u0262\u02f4\7r\2\2\u0263\u0264\7d\2\2\u0264\u0265\7x\2\2"+
"\u0265\7x\2\2\u0265\u02f4\7e\2\2\u0266\u0267\7e\2\2\u0267\u0268\7n\2\2"+ "\u0265\u02f4\7e\2\2\u0266\u0267\7e\2\2\u0267\u0268\7n\2\2\u0268\u02f4"+
"\u0268\u02f4\7k\2\2\u0269\u026a\7t\2\2\u026a\u026b\7v\2\2\u026b\u02f4"+ "\7k\2\2\u0269\u026a\7t\2\2\u026a\u026b\7v\2\2\u026b\u02f4\7u\2\2\u026c"+
"\7u\2\2\u026c\u026d\7c\2\2\u026d\u026e\7f\2\2\u026e\u02f4\7e\2\2\u026f"+ "\u026d\7c\2\2\u026d\u026e\7f\2\2\u026e\u02f4\7e\2\2\u026f\u0270\7t\2\2"+
"\u0270\7t\2\2\u0270\u0271\7t\2\2\u0271\u02f4\7c\2\2\u0272\u0273\7d\2\2"+ "\u0270\u0271\7t\2\2\u0271\u02f4\7c\2\2\u0272\u0273\7d\2\2\u0273\u0274"+
"\u0273\u0274\7x\2\2\u0274\u02f4\7u\2\2\u0275\u0276\7u\2\2\u0276\u0277"+ "\7x\2\2\u0274\u02f4\7u\2\2\u0275\u0276\7u\2\2\u0276\u0277\7g\2\2\u0277"+
"\7g\2\2\u0277\u02f4\7k\2\2\u0278\u0279\7u\2\2\u0279\u027a\7c\2\2\u027a"+ "\u02f4\7k\2\2\u0278\u0279\7u\2\2\u0279\u027a\7c\2\2\u027a\u02f4\7z\2\2"+
"\u02f4\7z\2\2\u027b\u027c\7u\2\2\u027c\u027d\7v\2\2\u027d\u02f4\7{\2\2"+ "\u027b\u027c\7u\2\2\u027c\u027d\7v\2\2\u027d\u02f4\7{\2\2\u027e\u027f"+
"\u027e\u027f\7u\2\2\u027f\u0280\7v\2\2\u0280\u02f4\7c\2\2\u0281\u0282"+ "\7u\2\2\u027f\u0280\7v\2\2\u0280\u02f4\7c\2\2\u0281\u0282\7u\2\2\u0282"+
"\7u\2\2\u0282\u0283\7v\2\2\u0283\u02f4\7z\2\2\u0284\u0285\7f\2\2\u0285"+ "\u0283\7v\2\2\u0283\u02f4\7z\2\2\u0284\u0285\7f\2\2\u0285\u0286\7g\2\2"+
"\u0286\7g\2\2\u0286\u02f4\7{\2\2\u0287\u0288\7v\2\2\u0288\u0289\7z\2\2"+ "\u0286\u02f4\7{\2\2\u0287\u0288\7v\2\2\u0288\u0289\7z\2\2\u0289\u02f4"+
"\u0289\u02f4\7c\2\2\u028a\u028b\7z\2\2\u028b\u028c\7c\2\2\u028c\u02f4"+ "\7c\2\2\u028a\u028b\7z\2\2\u028b\u028c\7c\2\2\u028c\u02f4\7c\2\2\u028d"+
"\7c\2\2\u028d\u028e\7d\2\2\u028e\u028f\7e\2\2\u028f\u02f4\7e\2\2\u0290"+ "\u028e\7d\2\2\u028e\u028f\7e\2\2\u028f\u02f4\7e\2\2\u0290\u0291\7c\2\2"+
"\u0291\7c\2\2\u0291\u0292\7j\2\2\u0292\u02f4\7z\2\2\u0293\u0294\7v\2\2"+ "\u0291\u0292\7j\2\2\u0292\u02f4\7z\2\2\u0293\u0294\7v\2\2\u0294\u0295"+
"\u0294\u0295\7{\2\2\u0295\u02f4\7c\2\2\u0296\u0297\7v\2\2\u0297\u0298"+ "\7{\2\2\u0295\u02f4\7c\2\2\u0296\u0297\7v\2\2\u0297\u0298\7z\2\2\u0298"+
"\7z\2\2\u0298\u02f4\7u\2\2\u0299\u029a\7v\2\2\u029a\u029b\7c\2\2\u029b"+ "\u02f4\7u\2\2\u0299\u029a\7v\2\2\u029a\u029b\7c\2\2\u029b\u02f4\7u\2\2"+
"\u02f4\7u\2\2\u029c\u029d\7u\2\2\u029d\u029e\7j\2\2\u029e\u02f4\7{\2\2"+ "\u029c\u029d\7u\2\2\u029d\u029e\7j\2\2\u029e\u02f4\7{\2\2\u029f\u02a0"+
"\u029f\u02a0\7u\2\2\u02a0\u02a1\7j\2\2\u02a1\u02f4\7z\2\2\u02a2\u02a3"+ "\7u\2\2\u02a0\u02a1\7j\2\2\u02a1\u02f4\7z\2\2\u02a2\u02a3\7n\2\2\u02a3"+
"\7n\2\2\u02a3\u02a4\7f\2\2\u02a4\u02f4\7{\2\2\u02a5\u02a6\7n\2\2\u02a6"+ "\u02a4\7f\2\2\u02a4\u02f4\7{\2\2\u02a5\u02a6\7n\2\2\u02a6\u02a7\7f\2\2"+
"\u02a7\7f\2\2\u02a7\u02f4\7c\2\2\u02a8\u02a9\7n\2\2\u02a9\u02aa\7f\2\2"+ "\u02a7\u02f4\7c\2\2\u02a8\u02a9\7n\2\2\u02a9\u02aa\7f\2\2\u02aa\u02f4"+
"\u02aa\u02f4\7z\2\2\u02ab\u02ac\7n\2\2\u02ac\u02ad\7c\2\2\u02ad\u02f4"+ "\7z\2\2\u02ab\u02ac\7n\2\2\u02ac\u02ad\7c\2\2\u02ad\u02f4\7z\2\2\u02ae"+
"\7z\2\2\u02ae\u02af\7v\2\2\u02af\u02b0\7c\2\2\u02b0\u02f4\7{\2\2\u02b1"+ "\u02af\7v\2\2\u02af\u02b0\7c\2\2\u02b0\u02f4\7{\2\2\u02b1\u02b2\7v\2\2"+
"\u02b2\7v\2\2\u02b2\u02b3\7c\2\2\u02b3\u02f4\7z\2\2\u02b4\u02b5\7d\2\2"+ "\u02b2\u02b3\7c\2\2\u02b3\u02f4\7z\2\2\u02b4\u02b5\7d\2\2\u02b5\u02b6"+
"\u02b5\u02b6\7e\2\2\u02b6\u02f4\7u\2\2\u02b7\u02b8\7e\2\2\u02b8\u02b9"+ "\7e\2\2\u02b6\u02f4\7u\2\2\u02b7\u02b8\7e\2\2\u02b8\u02b9\7n\2\2\u02b9"+
"\7n\2\2\u02b9\u02f4\7x\2\2\u02ba\u02bb\7v\2\2\u02bb\u02bc\7u\2\2\u02bc"+ "\u02f4\7x\2\2\u02ba\u02bb\7v\2\2\u02bb\u02bc\7u\2\2\u02bc\u02f4\7z\2\2"+
"\u02f4\7z\2\2\u02bd\u02be\7n\2\2\u02be\u02bf\7c\2\2\u02bf\u02f4\7u\2\2"+ "\u02bd\u02be\7n\2\2\u02be\u02bf\7c\2\2\u02bf\u02f4\7u\2\2\u02c0\u02c1"+
"\u02c0\u02c1\7e\2\2\u02c1\u02c2\7r\2\2\u02c2\u02f4\7{\2\2\u02c3\u02c4"+ "\7e\2\2\u02c1\u02c2\7r\2\2\u02c2\u02f4\7{\2\2\u02c3\u02c4\7e\2\2\u02c4"+
"\7e\2\2\u02c4\u02c5\7o\2\2\u02c5\u02f4\7r\2\2\u02c6\u02c7\7e\2\2\u02c7"+ "\u02c5\7o\2\2\u02c5\u02f4\7r\2\2\u02c6\u02c7\7e\2\2\u02c7\u02c8\7r\2\2"+
"\u02c8\7r\2\2\u02c8\u02f4\7z\2\2\u02c9\u02ca\7f\2\2\u02ca\u02cb\7e\2\2"+ "\u02c8\u02f4\7z\2\2\u02c9\u02ca\7f\2\2\u02ca\u02cb\7e\2\2\u02cb\u02f4"+
"\u02cb\u02f4\7r\2\2\u02cc\u02cd\7f\2\2\u02cd\u02ce\7g\2\2\u02ce\u02f4"+ "\7r\2\2\u02cc\u02cd\7f\2\2\u02cd\u02ce\7g\2\2\u02ce\u02f4\7e\2\2\u02cf"+
"\7e\2\2\u02cf\u02d0\7k\2\2\u02d0\u02d1\7p\2\2\u02d1\u02f4\7e\2\2\u02d2"+ "\u02d0\7k\2\2\u02d0\u02d1\7p\2\2\u02d1\u02f4\7e\2\2\u02d2\u02d3\7c\2\2"+
"\u02d3\7c\2\2\u02d3\u02d4\7z\2\2\u02d4\u02f4\7u\2\2\u02d5\u02d6\7d\2\2"+ "\u02d3\u02d4\7z\2\2\u02d4\u02f4\7u\2\2\u02d5\u02d6\7d\2\2\u02d6\u02d7"+
"\u02d6\u02d7\7p\2\2\u02d7\u02f4\7g\2\2\u02d8\u02d9\7e\2\2\u02d9\u02da"+ "\7p\2\2\u02d7\u02f4\7g\2\2\u02d8\u02d9\7e\2\2\u02d9\u02da\7n\2\2\u02da"+
"\7n\2\2\u02da\u02f4\7f\2\2\u02db\u02dc\7u\2\2\u02dc\u02dd\7d\2\2\u02dd"+ "\u02f4\7f\2\2\u02db\u02dc\7u\2\2\u02dc\u02dd\7d\2\2\u02dd\u02f4\7e\2\2"+
"\u02f4\7e\2\2\u02de\u02df\7k\2\2\u02df\u02e0\7u\2\2\u02e0\u02f4\7e\2\2"+ "\u02de\u02df\7k\2\2\u02df\u02e0\7u\2\2\u02e0\u02f4\7e\2\2\u02e1\u02e2"+
"\u02e1\u02e2\7k\2\2\u02e2\u02e3\7p\2\2\u02e3\u02f4\7z\2\2\u02e4\u02e5"+ "\7k\2\2\u02e2\u02e3\7p\2\2\u02e3\u02f4\7z\2\2\u02e4\u02e5\7d\2\2\u02e5"+
"\7d\2\2\u02e5\u02e6\7g\2\2\u02e6\u02f4\7s\2\2\u02e7\u02e8\7u\2\2\u02e8"+ "\u02e6\7g\2\2\u02e6\u02f4\7s\2\2\u02e7\u02e8\7u\2\2\u02e8\u02e9\7g\2\2"+
"\u02e9\7g\2\2\u02e9\u02f4\7f\2\2\u02ea\u02eb\7f\2\2\u02eb\u02ec\7g\2\2"+ "\u02e9\u02f4\7f\2\2\u02ea\u02eb\7f\2\2\u02eb\u02ec\7g\2\2\u02ec\u02f4"+
"\u02ec\u02f4\7z\2\2\u02ed\u02ee\7k\2\2\u02ee\u02ef\7p\2\2\u02ef\u02f4"+ "\7z\2\2\u02ed\u02ee\7k\2\2\u02ee\u02ef\7p\2\2\u02ef\u02f4\7{\2\2\u02f0"+
"\7{\2\2\u02f0\u02f1\7t\2\2\u02f1\u02f2\7q\2\2\u02f2\u02f4\7t\2\2\u02f3"+ "\u02f1\7t\2\2\u02f1\u02f2\7q\2\2\u02f2\u02f4\7t\2\2\u02f3\u0215\3\2\2"+
"\u0215\3\2\2\2\u02f3\u0218\3\2\2\2\u02f3\u021b\3\2\2\2\u02f3\u021e\3\2"+ "\2\u02f3\u0218\3\2\2\2\u02f3\u021b\3\2\2\2\u02f3\u021e\3\2\2\2\u02f3\u0221"+
"\2\2\u02f3\u0221\3\2\2\2\u02f3\u0224\3\2\2\2\u02f3\u0227\3\2\2\2\u02f3"+ "\3\2\2\2\u02f3\u0224\3\2\2\2\u02f3\u0227\3\2\2\2\u02f3\u022a\3\2\2\2\u02f3"+
"\u022a\3\2\2\2\u02f3\u022d\3\2\2\2\u02f3\u0230\3\2\2\2\u02f3\u0233\3\2"+ "\u022d\3\2\2\2\u02f3\u0230\3\2\2\2\u02f3\u0233\3\2\2\2\u02f3\u0236\3\2"+
"\2\2\u02f3\u0236\3\2\2\2\u02f3\u0239\3\2\2\2\u02f3\u023c\3\2\2\2\u02f3"+ "\2\2\u02f3\u0239\3\2\2\2\u02f3\u023c\3\2\2\2\u02f3\u023f\3\2\2\2\u02f3"+
"\u023f\3\2\2\2\u02f3\u0242\3\2\2\2\u02f3\u0245\3\2\2\2\u02f3\u0248\3\2"+ "\u0242\3\2\2\2\u02f3\u0245\3\2\2\2\u02f3\u0248\3\2\2\2\u02f3\u024b\3\2"+
"\2\2\u02f3\u024b\3\2\2\2\u02f3\u024e\3\2\2\2\u02f3\u0251\3\2\2\2\u02f3"+ "\2\2\u02f3\u024e\3\2\2\2\u02f3\u0251\3\2\2\2\u02f3\u0254\3\2\2\2\u02f3"+
"\u0254\3\2\2\2\u02f3\u0257\3\2\2\2\u02f3\u025a\3\2\2\2\u02f3\u025d\3\2"+ "\u0257\3\2\2\2\u02f3\u025a\3\2\2\2\u02f3\u025d\3\2\2\2\u02f3\u0260\3\2"+
"\2\2\u02f3\u0260\3\2\2\2\u02f3\u0263\3\2\2\2\u02f3\u0266\3\2\2\2\u02f3"+ "\2\2\u02f3\u0263\3\2\2\2\u02f3\u0266\3\2\2\2\u02f3\u0269\3\2\2\2\u02f3"+
"\u0269\3\2\2\2\u02f3\u026c\3\2\2\2\u02f3\u026f\3\2\2\2\u02f3\u0272\3\2"+ "\u026c\3\2\2\2\u02f3\u026f\3\2\2\2\u02f3\u0272\3\2\2\2\u02f3\u0275\3\2"+
"\2\2\u02f3\u0275\3\2\2\2\u02f3\u0278\3\2\2\2\u02f3\u027b\3\2\2\2\u02f3"+ "\2\2\u02f3\u0278\3\2\2\2\u02f3\u027b\3\2\2\2\u02f3\u027e\3\2\2\2\u02f3"+
"\u027e\3\2\2\2\u02f3\u0281\3\2\2\2\u02f3\u0284\3\2\2\2\u02f3\u0287\3\2"+ "\u0281\3\2\2\2\u02f3\u0284\3\2\2\2\u02f3\u0287\3\2\2\2\u02f3\u028a\3\2"+
"\2\2\u02f3\u028a\3\2\2\2\u02f3\u028d\3\2\2\2\u02f3\u0290\3\2\2\2\u02f3"+ "\2\2\u02f3\u028d\3\2\2\2\u02f3\u0290\3\2\2\2\u02f3\u0293\3\2\2\2\u02f3"+
"\u0293\3\2\2\2\u02f3\u0296\3\2\2\2\u02f3\u0299\3\2\2\2\u02f3\u029c\3\2"+ "\u0296\3\2\2\2\u02f3\u0299\3\2\2\2\u02f3\u029c\3\2\2\2\u02f3\u029f\3\2"+
"\2\2\u02f3\u029f\3\2\2\2\u02f3\u02a2\3\2\2\2\u02f3\u02a5\3\2\2\2\u02f3"+ "\2\2\u02f3\u02a2\3\2\2\2\u02f3\u02a5\3\2\2\2\u02f3\u02a8\3\2\2\2\u02f3"+
"\u02a8\3\2\2\2\u02f3\u02ab\3\2\2\2\u02f3\u02ae\3\2\2\2\u02f3\u02b1\3\2"+ "\u02ab\3\2\2\2\u02f3\u02ae\3\2\2\2\u02f3\u02b1\3\2\2\2\u02f3\u02b4\3\2"+
"\2\2\u02f3\u02b4\3\2\2\2\u02f3\u02b7\3\2\2\2\u02f3\u02ba\3\2\2\2\u02f3"+ "\2\2\u02f3\u02b7\3\2\2\2\u02f3\u02ba\3\2\2\2\u02f3\u02bd\3\2\2\2\u02f3"+
"\u02bd\3\2\2\2\u02f3\u02c0\3\2\2\2\u02f3\u02c3\3\2\2\2\u02f3\u02c6\3\2"+ "\u02c0\3\2\2\2\u02f3\u02c3\3\2\2\2\u02f3\u02c6\3\2\2\2\u02f3\u02c9\3\2"+
"\2\2\u02f3\u02c9\3\2\2\2\u02f3\u02cc\3\2\2\2\u02f3\u02cf\3\2\2\2\u02f3"+ "\2\2\u02f3\u02cc\3\2\2\2\u02f3\u02cf\3\2\2\2\u02f3\u02d2\3\2\2\2\u02f3"+
"\u02d2\3\2\2\2\u02f3\u02d5\3\2\2\2\u02f3\u02d8\3\2\2\2\u02f3\u02db\3\2"+ "\u02d5\3\2\2\2\u02f3\u02d8\3\2\2\2\u02f3\u02db\3\2\2\2\u02f3\u02de\3\2"+
"\2\2\u02f3\u02de\3\2\2\2\u02f3\u02e1\3\2\2\2\u02f3\u02e4\3\2\2\2\u02f3"+ "\2\2\u02f3\u02e1\3\2\2\2\u02f3\u02e4\3\2\2\2\u02f3\u02e7\3\2\2\2\u02f3"+
"\u02e7\3\2\2\2\u02f3\u02ea\3\2\2\2\u02f3\u02ed\3\2\2\2\u02f3\u02f0\3\2"+ "\u02ea\3\2\2\2\u02f3\u02ed\3\2\2\2\u02f3\u02f0\3\2\2\2\u02f4\u00a0\3\2"+
"\2\2\u02f4\u00a0\3\2\2\2\u02f5\u02f6\7}\2\2\u02f6\u02f7\7}\2\2\u02f7\u02fb"+ "\2\2\u02f5\u02f6\7}\2\2\u02f6\u02f7\7}\2\2\u02f7\u02fb\3\2\2\2\u02f8\u02fa"+
"\3\2\2\2\u02f8\u02fa\13\2\2\2\u02f9\u02f8\3\2\2\2\u02fa\u02fd\3\2\2\2"+ "\13\2\2\2\u02f9\u02f8\3\2\2\2\u02fa\u02fd\3\2\2\2\u02fb\u02fc\3\2\2\2"+
"\u02fb\u02fc\3\2\2\2\u02fb\u02f9\3\2\2\2\u02fc\u02fe\3\2\2\2\u02fd\u02fb"+ "\u02fb\u02f9\3\2\2\2\u02fc\u02fe\3\2\2\2\u02fd\u02fb\3\2\2\2\u02fe\u02ff"+
"\3\2\2\2\u02fe\u02ff\7\177\2\2\u02ff\u0300\7\177\2\2\u0300\u00a2\3\2\2"+ "\7\177\2\2\u02ff\u0300\7\177\2\2\u0300\u00a2\3\2\2\2\u0301\u0302\7d\2"+
"\2\u0301\u0302\7d\2\2\u0302\u0303\7{\2\2\u0303\u0304\7v\2\2\u0304\u0327"+ "\2\u0302\u0303\7{\2\2\u0303\u0304\7v\2\2\u0304\u0327\7g\2\2\u0305\u0306"+
"\7g\2\2\u0305\u0306\7y\2\2\u0306\u0307\7q\2\2\u0307\u0308\7t\2\2\u0308"+ "\7y\2\2\u0306\u0307\7q\2\2\u0307\u0308\7t\2\2\u0308\u0327\7f\2\2\u0309"+
"\u0327\7f\2\2\u0309\u030a\7f\2\2\u030a\u030b\7y\2\2\u030b\u030c\7q\2\2"+ "\u030a\7f\2\2\u030a\u030b\7y\2\2\u030b\u030c\7q\2\2\u030c\u030d\7t\2\2"+
"\u030c\u030d\7t\2\2\u030d\u0327\7f\2\2\u030e\u030f\7d\2\2\u030f\u0310"+ "\u030d\u0327\7f\2\2\u030e\u030f\7d\2\2\u030f\u0310\7q\2\2\u0310\u0311"+
"\7q\2\2\u0310\u0311\7q\2\2\u0311\u0327\7n\2\2\u0312\u0313\7e\2\2\u0313"+ "\7q\2\2\u0311\u0327\7n\2\2\u0312\u0313\7e\2\2\u0313\u0314\7j\2\2\u0314"+
"\u0314\7j\2\2\u0314\u0315\7c\2\2\u0315\u0327\7t\2\2\u0316\u0317\7u\2\2"+ "\u0315\7c\2\2\u0315\u0327\7t\2\2\u0316\u0317\7u\2\2\u0317\u0318\7j\2\2"+
"\u0317\u0318\7j\2\2\u0318\u0319\7q\2\2\u0319\u031a\7t\2\2\u031a\u0327"+ "\u0318\u0319\7q\2\2\u0319\u031a\7t\2\2\u031a\u0327\7v\2\2\u031b\u031c"+
"\7v\2\2\u031b\u031c\7k\2\2\u031c\u031d\7p\2\2\u031d\u0327\7v\2\2\u031e"+ "\7k\2\2\u031c\u031d\7p\2\2\u031d\u0327\7v\2\2\u031e\u031f\7n\2\2\u031f"+
"\u031f\7n\2\2\u031f\u0320\7q\2\2\u0320\u0321\7p\2\2\u0321\u0327\7i\2\2"+ "\u0320\7q\2\2\u0320\u0321\7p\2\2\u0321\u0327\7i\2\2\u0322\u0323\7x\2\2"+
"\u0322\u0323\7x\2\2\u0323\u0324\7q\2\2\u0324\u0325\7k\2\2\u0325\u0327"+ "\u0323\u0324\7q\2\2\u0324\u0325\7k\2\2\u0325\u0327\7f\2\2\u0326\u0301"+
"\7f\2\2\u0326\u0301\3\2\2\2\u0326\u0305\3\2\2\2\u0326\u0309\3\2\2\2\u0326"+ "\3\2\2\2\u0326\u0305\3\2\2\2\u0326\u0309\3\2\2\2\u0326\u030e\3\2\2\2\u0326"+
"\u030e\3\2\2\2\u0326\u0312\3\2\2\2\u0326\u0316\3\2\2\2\u0326\u031b\3\2"+ "\u0312\3\2\2\2\u0326\u0316\3\2\2\2\u0326\u031b\3\2\2\2\u0326\u031e\3\2"+
"\2\2\u0326\u031e\3\2\2\2\u0326\u0322\3\2\2\2\u0327\u00a4\3\2\2\2\u0328"+ "\2\2\u0326\u0322\3\2\2\2\u0327\u00a4\3\2\2\2\u0328\u032e\7$\2\2\u0329"+
"\u032e\7$\2\2\u0329\u032a\7^\2\2\u032a\u032d\7$\2\2\u032b\u032d\n\2\2"+ "\u032a\7^\2\2\u032a\u032d\7$\2\2\u032b\u032d\n\2\2\2\u032c\u0329\3\2\2"+
"\2\u032c\u0329\3\2\2\2\u032c\u032b\3\2\2\2\u032d\u0330\3\2\2\2\u032e\u032c"+ "\2\u032c\u032b\3\2\2\2\u032d\u0330\3\2\2\2\u032e\u032c\3\2\2\2\u032e\u032f"+
"\3\2\2\2\u032e\u032f\3\2\2\2\u032f\u0331\3\2\2\2\u0330\u032e\3\2\2\2\u0331"+ "\3\2\2\2\u032f\u0331\3\2\2\2\u0330\u032e\3\2\2\2\u0331\u0333\7$\2\2\u0332"+
"\u0333\7$\2\2\u0332\u0334\7|\2\2\u0333\u0332\3\2\2\2\u0333\u0334\3\2\2"+ "\u0334\7|\2\2\u0333\u0332\3\2\2\2\u0333\u0334\3\2\2\2\u0334\u00a6\3\2"+
"\2\u0334\u00a6\3\2\2\2\u0335\u0339\7)\2\2\u0336\u0337\7^\2\2\u0337\u033a"+ "\2\2\u0335\u0339\7)\2\2\u0336\u0337\7^\2\2\u0337\u033a\7)\2\2\u0338\u033a"+
"\7)\2\2\u0338\u033a\n\3\2\2\u0339\u0336\3\2\2\2\u0339\u0338\3\2\2\2\u033a"+ "\n\3\2\2\u0339\u0336\3\2\2\2\u0339\u0338\3\2\2\2\u033a\u033b\3\2\2\2\u033b"+
"\u033b\3\2\2\2\u033b\u033c\7)\2\2\u033c\u00a8\3\2\2\2\u033d\u033e\7v\2"+ "\u033c\7)\2\2\u033c\u00a8\3\2\2\2\u033d\u033e\7v\2\2\u033e\u033f\7t\2"+
"\2\u033e\u033f\7t\2\2\u033f\u0340\7w\2\2\u0340\u0347\7g\2\2\u0341\u0342"+ "\2\u033f\u0340\7w\2\2\u0340\u0347\7g\2\2\u0341\u0342\7h\2\2\u0342\u0343"+
"\7h\2\2\u0342\u0343\7c\2\2\u0343\u0344\7n\2\2\u0344\u0345\7u\2\2\u0345"+ "\7c\2\2\u0343\u0344\7n\2\2\u0344\u0345\7u\2\2\u0345\u0347\7g\2\2\u0346"+
"\u0347\7g\2\2\u0346\u033d\3\2\2\2\u0346\u0341\3\2\2\2\u0347\u00aa\3\2"+ "\u033d\3\2\2\2\u0346\u0341\3\2\2\2\u0347\u00aa\3\2\2\2\u0348\u034b\5\u00ad"+
"\2\2\u0348\u034b\5\u00adW\2\u0349\u034b\5\u00b5[\2\u034a\u0348\3\2\2\2"+ "W\2\u0349\u034b\5\u00b5[\2\u034a\u0348\3\2\2\2\u034a\u0349\3\2\2\2\u034b"+
"\u034a\u0349\3\2\2\2\u034b\u00ac\3\2\2\2\u034c\u0350\5\u00afX\2\u034d"+ "\u00ac\3\2\2\2\u034c\u0350\5\u00afX\2\u034d\u0350\5\u00b1Y\2\u034e\u0350"+
"\u0350\5\u00b1Y\2\u034e\u0350\5\u00b3Z\2\u034f\u034c\3\2\2\2\u034f\u034d"+ "\5\u00b3Z\2\u034f\u034c\3\2\2\2\u034f\u034d\3\2\2\2\u034f\u034e\3\2\2"+
"\3\2\2\2\u034f\u034e\3\2\2\2\u0350\u00ae\3\2\2\2\u0351\u0357\7\'\2\2\u0352"+ "\2\u0350\u00ae\3\2\2\2\u0351\u0357\7\'\2\2\u0352\u0353\7\62\2\2\u0353"+
"\u0353\7\62\2\2\u0353\u0357\7d\2\2\u0354\u0355\7\62\2\2\u0355\u0357\7"+ "\u0357\7d\2\2\u0354\u0355\7\62\2\2\u0355\u0357\7D\2\2\u0356\u0351\3\2"+
"D\2\2\u0356\u0351\3\2\2\2\u0356\u0352\3\2\2\2\u0356\u0354\3\2\2\2\u0357"+ "\2\2\u0356\u0352\3\2\2\2\u0356\u0354\3\2\2\2\u0357\u035b\3\2\2\2\u0358"+
"\u035b\3\2\2\2\u0358\u035a\5\u00bd_\2\u0359\u0358\3\2\2\2\u035a\u035d"+ "\u035a\5\u00bd_\2\u0359\u0358\3\2\2\2\u035a\u035d\3\2\2\2\u035b\u0359"+
"\3\2\2\2\u035b\u0359\3\2\2\2\u035b\u035c\3\2\2\2\u035c\u035e\3\2\2\2\u035d"+ "\3\2\2\2\u035b\u035c\3\2\2\2\u035c\u035e\3\2\2\2\u035d\u035b\3\2\2\2\u035e"+
"\u035b\3\2\2\2\u035e\u0360\7\60\2\2\u035f\u0361\5\u00bd_\2\u0360\u035f"+ "\u0360\7\60\2\2\u035f\u0361\5\u00bd_\2\u0360\u035f\3\2\2\2\u0361\u0362"+
"\3\2\2\2\u0361\u0362\3\2\2\2\u0362\u0360\3\2\2\2\u0362\u0363\3\2\2\2\u0363"+ "\3\2\2\2\u0362\u0360\3\2\2\2\u0362\u0363\3\2\2\2\u0363\u00b0\3\2\2\2\u0364"+
"\u00b0\3\2\2\2\u0364\u0366\5\u00bf`\2\u0365\u0364\3\2\2\2\u0366\u0369"+ "\u0366\5\u00bf`\2\u0365\u0364\3\2\2\2\u0366\u0369\3\2\2\2\u0367\u0365"+
"\3\2\2\2\u0367\u0365\3\2\2\2\u0367\u0368\3\2\2\2\u0368\u036a\3\2\2\2\u0369"+ "\3\2\2\2\u0367\u0368\3\2\2\2\u0368\u036a\3\2\2\2\u0369\u0367\3\2\2\2\u036a"+
"\u0367\3\2\2\2\u036a\u036c\7\60\2\2\u036b\u036d\5\u00bf`\2\u036c\u036b"+ "\u036c\7\60\2\2\u036b\u036d\5\u00bf`\2\u036c\u036b\3\2\2\2\u036d\u036e"+
"\3\2\2\2\u036d\u036e\3\2\2\2\u036e\u036c\3\2\2\2\u036e\u036f\3\2\2\2\u036f"+ "\3\2\2\2\u036e\u036c\3\2\2\2\u036e\u036f\3\2\2\2\u036f\u00b2\3\2\2\2\u0370"+
"\u00b2\3\2\2\2\u0370\u0376\7&\2\2\u0371\u0372\7\62\2\2\u0372\u0376\7z"+ "\u0376\7&\2\2\u0371\u0372\7\62\2\2\u0372\u0376\7z\2\2\u0373\u0374\7\62"+
"\2\2\u0373\u0374\7\62\2\2\u0374\u0376\7Z\2\2\u0375\u0370\3\2\2\2\u0375"+ "\2\2\u0374\u0376\7Z\2\2\u0375\u0370\3\2\2\2\u0375\u0371\3\2\2\2\u0375"+
"\u0371\3\2\2\2\u0375\u0373\3\2\2\2\u0376\u037a\3\2\2\2\u0377\u0379\5\u00c1"+ "\u0373\3\2\2\2\u0376\u037a\3\2\2\2\u0377\u0379\5\u00c1a\2\u0378\u0377"+
"a\2\u0378\u0377\3\2\2\2\u0379\u037c\3\2\2\2\u037a\u0378\3\2\2\2\u037a"+ "\3\2\2\2\u0379\u037c\3\2\2\2\u037a\u0378\3\2\2\2\u037a\u037b\3\2\2\2\u037b"+
"\u037b\3\2\2\2\u037b\u037d\3\2\2\2\u037c\u037a\3\2\2\2\u037d\u037f\7\60"+ "\u037d\3\2\2\2\u037c\u037a\3\2\2\2\u037d\u037f\7\60\2\2\u037e\u0380\5"+
"\2\2\u037e\u0380\5\u00c1a\2\u037f\u037e\3\2\2\2\u0380\u0381\3\2\2\2\u0381"+ "\u00c1a\2\u037f\u037e\3\2\2\2\u0380\u0381\3\2\2\2\u0381\u037f\3\2\2\2"+
"\u037f\3\2\2\2\u0381\u0382\3\2\2\2\u0382\u00b4\3\2\2\2\u0383\u0387\5\u00b9"+ "\u0381\u0382\3\2\2\2\u0382\u00b4\3\2\2\2\u0383\u0387\5\u00b9]\2\u0384"+
"]\2\u0384\u0387\5\u00bb^\2\u0385\u0387\5\u00b7\\\2\u0386\u0383\3\2\2\2"+ "\u0387\5\u00bb^\2\u0385\u0387\5\u00b7\\\2\u0386\u0383\3\2\2\2\u0386\u0384"+
"\u0386\u0384\3\2\2\2\u0386\u0385\3\2\2\2\u0387\u038b\3\2\2\2\u0388\u0389"+ "\3\2\2\2\u0386\u0385\3\2\2\2\u0387\u038b\3\2\2\2\u0388\u0389\t\4\2\2\u0389"+
"\t\4\2\2\u0389\u038c\t\5\2\2\u038a\u038c\7n\2\2\u038b\u0388\3\2\2\2\u038b"+ "\u038c\t\5\2\2\u038a\u038c\7n\2\2\u038b\u0388\3\2\2\2\u038b\u038a\3\2"+
"\u038a\3\2\2\2\u038b\u038c\3\2\2\2\u038c\u00b6\3\2\2\2\u038d\u038e\7\62"+ "\2\2\u038b\u038c\3\2\2\2\u038c\u00b6\3\2\2\2\u038d\u038e\7\62\2\2\u038e"+
"\2\2\u038e\u0390\t\6\2\2\u038f\u0391\5\u00bd_\2\u0390\u038f\3\2\2\2\u0391"+ "\u0390\t\6\2\2\u038f\u0391\5\u00bd_\2\u0390\u038f\3\2\2\2\u0391\u0392"+
"\u0392\3\2\2\2\u0392\u0390\3\2\2\2\u0392\u0393\3\2\2\2\u0393\u039b\3\2"+ "\3\2\2\2\u0392\u0390\3\2\2\2\u0392\u0393\3\2\2\2\u0393\u039b\3\2\2\2\u0394"+
"\2\2\u0394\u0396\7\'\2\2\u0395\u0397\5\u00bd_\2\u0396\u0395\3\2\2\2\u0397"+ "\u0396\7\'\2\2\u0395\u0397\5\u00bd_\2\u0396\u0395\3\2\2\2\u0397\u0398"+
"\u0398\3\2\2\2\u0398\u0396\3\2\2\2\u0398\u0399\3\2\2\2\u0399\u039b\3\2"+ "\3\2\2\2\u0398\u0396\3\2\2\2\u0398\u0399\3\2\2\2\u0399\u039b\3\2\2\2\u039a"+
"\2\2\u039a\u038d\3\2\2\2\u039a\u0394\3\2\2\2\u039b\u00b8\3\2\2\2\u039c"+ "\u038d\3\2\2\2\u039a\u0394\3\2\2\2\u039b\u00b8\3\2\2\2\u039c\u039e\5\u00bf"+
"\u039e\5\u00bf`\2\u039d\u039c\3\2\2\2\u039e\u039f\3\2\2\2\u039f\u039d"+ "`\2\u039d\u039c\3\2\2\2\u039e\u039f\3\2\2\2\u039f\u039d\3\2\2\2\u039f"+
"\3\2\2\2\u039f\u03a0\3\2\2\2\u03a0\u00ba\3\2\2\2\u03a1\u03a7\7&\2\2\u03a2"+ "\u03a0\3\2\2\2\u03a0\u00ba\3\2\2\2\u03a1\u03a7\7&\2\2\u03a2\u03a3\7\62"+
"\u03a3\7\62\2\2\u03a3\u03a7\7z\2\2\u03a4\u03a5\7\62\2\2\u03a5\u03a7\7"+ "\2\2\u03a3\u03a7\7z\2\2\u03a4\u03a5\7\62\2\2\u03a5\u03a7\7Z\2\2\u03a6"+
"Z\2\2\u03a6\u03a1\3\2\2\2\u03a6\u03a2\3\2\2\2\u03a6\u03a4\3\2\2\2\u03a7"+ "\u03a1\3\2\2\2\u03a6\u03a2\3\2\2\2\u03a6\u03a4\3\2\2\2\u03a7\u03a9\3\2"+
"\u03a9\3\2\2\2\u03a8\u03aa\5\u00c1a\2\u03a9\u03a8\3\2\2\2\u03aa\u03ab"+ "\2\2\u03a8\u03aa\5\u00c1a\2\u03a9\u03a8\3\2\2\2\u03aa\u03ab\3\2\2\2\u03ab"+
"\3\2\2\2\u03ab\u03a9\3\2\2\2\u03ab\u03ac\3\2\2\2\u03ac\u00bc\3\2\2\2\u03ad"+ "\u03a9\3\2\2\2\u03ab\u03ac\3\2\2\2\u03ac\u00bc\3\2\2\2\u03ad\u03ae\t\7"+
"\u03ae\t\7\2\2\u03ae\u00be\3\2\2\2\u03af\u03b0\t\b\2\2\u03b0\u00c0\3\2"+ "\2\2\u03ae\u00be\3\2\2\2\u03af\u03b0\t\b\2\2\u03b0\u00c0\3\2\2\2\u03b1"+
"\2\2\u03b1\u03b2\t\t\2\2\u03b2\u00c2\3\2\2\2\u03b3\u03b7\5\u00c5c\2\u03b4"+ "\u03b2\t\t\2\2\u03b2\u00c2\3\2\2\2\u03b3\u03b7\5\u00c5c\2\u03b4\u03b6"+
"\u03b6\5\u00c7d\2\u03b5\u03b4\3\2\2\2\u03b6\u03b9\3\2\2\2\u03b7\u03b5"+ "\5\u00c7d\2\u03b5\u03b4\3\2\2\2\u03b6\u03b9\3\2\2\2\u03b7\u03b5\3\2\2"+
"\3\2\2\2\u03b7\u03b8\3\2\2\2\u03b8\u00c4\3\2\2\2\u03b9\u03b7\3\2\2\2\u03ba"+ "\2\u03b7\u03b8\3\2\2\2\u03b8\u00c4\3\2\2\2\u03b9\u03b7\3\2\2\2\u03ba\u03bb"+
"\u03bb\t\n\2\2\u03bb\u00c6\3\2\2\2\u03bc\u03bd\t\13\2\2\u03bd\u00c8\3"+ "\t\n\2\2\u03bb\u00c6\3\2\2\2\u03bc\u03bd\t\13\2\2\u03bd\u00c8\3\2\2\2"+
"\2\2\2\u03be\u03c2\7#\2\2\u03bf\u03c1\5\u00c7d\2\u03c0\u03bf\3\2\2\2\u03c1"+ "\u03be\u03c2\7#\2\2\u03bf\u03c1\5\u00c7d\2\u03c0\u03bf\3\2\2\2\u03c1\u03c4"+
"\u03c4\3\2\2\2\u03c2\u03c0\3\2\2\2\u03c2\u03c3\3\2\2\2\u03c3\u03c6\3\2"+ "\3\2\2\2\u03c2\u03c0\3\2\2\2\u03c2\u03c3\3\2\2\2\u03c3\u03c6\3\2\2\2\u03c4"+
"\2\2\u03c4\u03c2\3\2\2\2\u03c5\u03c7\t\f\2\2\u03c6\u03c5\3\2\2\2\u03c7"+ "\u03c2\3\2\2\2\u03c5\u03c7\t\f\2\2\u03c6\u03c5\3\2\2\2\u03c7\u03c8\3\2"+
"\u03c8\3\2\2\2\u03c8\u03c6\3\2\2\2\u03c8\u03c9\3\2\2\2\u03c9\u00ca\3\2"+ "\2\2\u03c8\u03c6\3\2\2\2\u03c8\u03c9\3\2\2\2\u03c9\u00ca\3\2\2\2\u03ca"+
"\2\2\u03ca\u03cc\t\r\2\2\u03cb\u03ca\3\2\2\2\u03cc\u03cd\3\2\2\2\u03cd"+ "\u03cc\t\r\2\2\u03cb\u03ca\3\2\2\2\u03cc\u03cd\3\2\2\2\u03cd\u03cb\3\2"+
"\u03cb\3\2\2\2\u03cd\u03ce\3\2\2\2\u03ce\u03cf\3\2\2\2\u03cf\u03d0\bf"+ "\2\2\u03cd\u03ce\3\2\2\2\u03ce\u03cf\3\2\2\2\u03cf\u03d0\bf\2\2\u03d0"+
"\2\2\u03d0\u00cc\3\2\2\2\u03d1\u03d2\7\61\2\2\u03d2\u03d3\7\61\2\2\u03d3"+ "\u00cc\3\2\2\2\u03d1\u03d2\7\61\2\2\u03d2\u03d3\7\61\2\2\u03d3\u03d7\3"+
"\u03d7\3\2\2\2\u03d4\u03d6\n\16\2\2\u03d5\u03d4\3\2\2\2\u03d6\u03d9\3"+ "\2\2\2\u03d4\u03d6\n\16\2\2\u03d5\u03d4\3\2\2\2\u03d6\u03d9\3\2\2\2\u03d7"+
"\2\2\2\u03d7\u03d5\3\2\2\2\u03d7\u03d8\3\2\2\2\u03d8\u03da\3\2\2\2\u03d9"+ "\u03d5\3\2\2\2\u03d7\u03d8\3\2\2\2\u03d8\u03da\3\2\2\2\u03d9\u03d7\3\2"+
"\u03d7\3\2\2\2\u03da\u03db\bg\3\2\u03db\u00ce\3\2\2\2\u03dc\u03dd\7\61"+ "\2\2\u03da\u03db\bg\3\2\u03db\u00ce\3\2\2\2\u03dc\u03dd\7\61\2\2\u03dd"+
"\2\2\u03dd\u03de\7,\2\2\u03de\u03e2\3\2\2\2\u03df\u03e1\13\2\2\2\u03e0"+ "\u03de\7,\2\2\u03de\u03e2\3\2\2\2\u03df\u03e1\13\2\2\2\u03e0\u03df\3\2"+
"\u03df\3\2\2\2\u03e1\u03e4\3\2\2\2\u03e2\u03e3\3\2\2\2\u03e2\u03e0\3\2"+ "\2\2\u03e1\u03e4\3\2\2\2\u03e2\u03e3\3\2\2\2\u03e2\u03e0\3\2\2\2\u03e3"+
"\2\2\u03e3\u03e5\3\2\2\2\u03e4\u03e2\3\2\2\2\u03e5\u03e6\7,\2\2\u03e6"+ "\u03e5\3\2\2\2\u03e4\u03e2\3\2\2\2\u03e5\u03e6\7,\2\2\u03e6\u03e7\7\61"+
"\u03e7\7\61\2\2\u03e7\u03e8\3\2\2\2\u03e8\u03e9\bh\3\2\u03e9\u00d0\3\2"+ "\2\2\u03e7\u03e8\3\2\2\2\u03e8\u03e9\bh\3\2\u03e9\u00d0\3\2\2\2#\2\u02f3"+
"\2\2#\2\u02f3\u02fb\u0326\u032c\u032e\u0333\u0339\u0346\u034a\u034f\u0356"+ "\u02fb\u0326\u032c\u032e\u0333\u0339\u0346\u034a\u034f\u0356\u035b\u0362"+
"\u035b\u0362\u0367\u036e\u0375\u037a\u0381\u0386\u038b\u0392\u0398\u039a"+ "\u0367\u036e\u0375\u037a\u0381\u0386\u038b\u0392\u0398\u039a\u039f\u03a6"+
"\u039f\u03a6\u03ab\u03b7\u03c2\u03c8\u03cd\u03d7\u03e2\4\2\3\2\2\4\2"; "\u03ab\u03b7\u03c2\u03c8\u03cd\u03d7\u03e2\4\2\3\2\2\4\2";
public static final ATN _ATN = public static final ATN _ATN =
new ATNDeserializer().deserialize(_serializedATN.toCharArray()); new ATNDeserializer().deserialize(_serializedATN.toCharArray());
static { static {

View File

@@ -104,73 +104,73 @@ COMMENT_BLOCK=98
')'=6 ')'=6
'{'=7 '{'=7
'}'=8 '}'=8
'const'=9 '#'=9
'extern'=10 'pc'=10
'align'=11 'const'=11
'register'=12 'extern'=12
'inline'=13 'align'=13
'volatile'=14 'register'=14
'interrupt'=15 'inline'=15
'reserve'=16 'volatile'=16
'if'=17 'interrupt'=17
'else'=18 'reserve'=18
'while'=19 'if'=19
'do'=20 'else'=20
'for'=21 'while'=21
'return'=22 'do'=22
'break'=23 'for'=23
'continue'=24 'return'=24
'asm'=25 'break'=25
':'=26 'continue'=26
'..'=27 'asm'=27
'signed'=28 ':'=28
'unsigned'=29 '..'=29
'*'=30 'signed'=30
'['=31 'unsigned'=31
']'=32 '*'=32
'struct'=33 '['=33
'.'=34 ']'=34
'->'=35 'struct'=35
'sizeof'=36 '.'=36
'typeid'=37 '->'=37
'--'=38 'sizeof'=38
'++'=39 'typeid'=39
'+'=40 '--'=40
'-'=41 '++'=41
'!'=42 '+'=42
'&'=43 '-'=43
'~'=44 '!'=44
'>>'=45 '&'=45
'<<'=46 '~'=46
'/'=47 '>>'=47
'%'=48 '<<'=48
'<'=49 '/'=49
'>'=50 '%'=50
'=='=51 '<'=51
'!='=52 '>'=52
'<='=53 '=='=53
'>='=54 '!='=54
'^'=55 '<='=55
'|'=56 '>='=56
'&&'=57 '^'=57
'||'=58 '|'=58
'?'=59 '&&'=59
'+='=60 '||'=60
'-='=61 '?'=61
'*='=62 '+='=62
'/='=63 '-='=63
'%='=64 '*='=64
'<<='=65 '/='=65
'>>='=66 '%='=66
'&='=67 '<<='=67
'|='=68 '>>='=68
'^='=69 '&='=69
'kickasm'=70 '|='=70
'resource'=71 '^='=71
'uses'=72 'kickasm'=72
'clobbers'=73 'resource'=73
'bytes'=74 'uses'=74
'cycles'=75 'clobbers'=75
'pc'=76 'bytes'=76
'.byte'=77 'cycles'=77
'#'=78 '.byte'=78

View File

@@ -1,4 +1,4 @@
// Generated from C:/c64/kickc/src/main/java/dk/camelot64/kickc/parser\KickC.g4 by ANTLR 4.7 // Generated from /Users/jespergravgaard/c64/kickc/src/main/java/dk/camelot64/kickc/parser/KickC.g4 by ANTLR 4.7
package dk.camelot64.kickc.parser; package dk.camelot64.kickc.parser;
import org.antlr.v4.runtime.tree.ParseTreeListener; import org.antlr.v4.runtime.tree.ParseTreeListener;
@@ -152,15 +152,29 @@ public interface KickCListener extends ParseTreeListener {
*/ */
void exitParameterDeclVoid(KickCParser.ParameterDeclVoidContext ctx); void exitParameterDeclVoid(KickCParser.ParameterDeclVoidContext ctx);
/** /**
* Enter a parse tree produced by {@link KickCParser#globalDirective}. * Enter a parse tree produced by the {@code globalDirectiveReserve}
* labeled alternative in {@link KickCParser#globalDirective}.
* @param ctx the parse tree * @param ctx the parse tree
*/ */
void enterGlobalDirective(KickCParser.GlobalDirectiveContext ctx); void enterGlobalDirectiveReserve(KickCParser.GlobalDirectiveReserveContext ctx);
/** /**
* Exit a parse tree produced by {@link KickCParser#globalDirective}. * Exit a parse tree produced by the {@code globalDirectiveReserve}
* labeled alternative in {@link KickCParser#globalDirective}.
* @param ctx the parse tree * @param ctx the parse tree
*/ */
void exitGlobalDirective(KickCParser.GlobalDirectiveContext ctx); void exitGlobalDirectiveReserve(KickCParser.GlobalDirectiveReserveContext ctx);
/**
* Enter a parse tree produced by the {@code globalDirectivePc}
* labeled alternative in {@link KickCParser#globalDirective}.
* @param ctx the parse tree
*/
void enterGlobalDirectivePc(KickCParser.GlobalDirectivePcContext ctx);
/**
* Exit a parse tree produced by the {@code globalDirectivePc}
* labeled alternative in {@link KickCParser#globalDirective}.
* @param ctx the parse tree
*/
void exitGlobalDirectivePc(KickCParser.GlobalDirectivePcContext ctx);
/** /**
* Enter a parse tree produced by the {@code directiveConst} * Enter a parse tree produced by the {@code directiveConst}
* labeled alternative in {@link KickCParser#directive}. * labeled alternative in {@link KickCParser#directive}.

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
// Generated from C:/c64/kickc/src/main/java/dk/camelot64/kickc/parser\KickC.g4 by ANTLR 4.7 // Generated from /Users/jespergravgaard/c64/kickc/src/main/java/dk/camelot64/kickc/parser/KickC.g4 by ANTLR 4.7
package dk.camelot64.kickc.parser; package dk.camelot64.kickc.parser;
import org.antlr.v4.runtime.tree.ParseTreeVisitor; import org.antlr.v4.runtime.tree.ParseTreeVisitor;
@@ -97,11 +97,19 @@ public interface KickCVisitor<T> extends ParseTreeVisitor<T> {
*/ */
T visitParameterDeclVoid(KickCParser.ParameterDeclVoidContext ctx); T visitParameterDeclVoid(KickCParser.ParameterDeclVoidContext ctx);
/** /**
* Visit a parse tree produced by {@link KickCParser#globalDirective}. * Visit a parse tree produced by the {@code globalDirectiveReserve}
* labeled alternative in {@link KickCParser#globalDirective}.
* @param ctx the parse tree * @param ctx the parse tree
* @return the visitor result * @return the visitor result
*/ */
T visitGlobalDirective(KickCParser.GlobalDirectiveContext ctx); T visitGlobalDirectiveReserve(KickCParser.GlobalDirectiveReserveContext ctx);
/**
* Visit a parse tree produced by the {@code globalDirectivePc}
* labeled alternative in {@link KickCParser#globalDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGlobalDirectivePc(KickCParser.GlobalDirectivePcContext ctx);
/** /**
* Visit a parse tree produced by the {@code directiveConst} * Visit a parse tree produced by the {@code directiveConst}
* labeled alternative in {@link KickCParser#directive}. * labeled alternative in {@link KickCParser#directive}.

View File

@@ -112,14 +112,23 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
} }
@Override @Override
public Object visitGlobalDirective(KickCParser.GlobalDirectiveContext ctx) { public Object visitGlobalDirectiveReserve(KickCParser.GlobalDirectiveReserveContext ctx) {
DirectiveReserveZp reserveDirective = (DirectiveReserveZp) this.visit(ctx.directiveReserve()); DirectiveReserveZp reserveDirective = (DirectiveReserveZp) this.visit(ctx.directiveReserve());
if(reserveDirective!=null) { if(reserveDirective != null) {
program.addReservedZps(reserveDirective.getReservedZp()); program.addReservedZps(reserveDirective.getReservedZp());
} }
return null; return null;
} }
@Override
public Object visitGlobalDirectivePc(KickCParser.GlobalDirectivePcContext ctx) {
Number programPc = NumberParser.parseLiteral(ctx.NUMBER().getText());
if(programPc != null) {
program.setProgramPc(programPc);
}
return null;
}
@Override @Override
public Object visitDeclFunction(KickCParser.DeclFunctionContext ctx) { public Object visitDeclFunction(KickCParser.DeclFunctionContext ctx) {
this.visitDeclTypes(ctx.declTypes()); this.visitDeclTypes(ctx.declTypes());
@@ -171,7 +180,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
// A single void parameter decl - equals zero parameters // A single void parameter decl - equals zero parameters
return new ArrayList<>(); return new ArrayList<>();
} else { } else {
throw new CompileError("Illegal void parameter." , new StatementSource(ctx)); throw new CompileError("Illegal void parameter.", new StatementSource(ctx));
} }
} else if(parameterDecl instanceof Variable) { } else if(parameterDecl instanceof Variable) {
parameterDecls.add((Variable) parameterDecl); parameterDecls.add((Variable) parameterDecl);
@@ -436,6 +445,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
/** /**
* Visit the type/directive part of a declaration. Setup the local decl-variables * Visit the type/directive part of a declaration. Setup the local decl-variables
*
* @param ctx The declaration type & directives * @param ctx The declaration type & directives
* @return null * @return null
*/ */
@@ -467,7 +477,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
@Override @Override
public Object visitDeclVariableList(KickCParser.DeclVariableListContext ctx) { public Object visitDeclVariableList(KickCParser.DeclVariableListContext ctx) {
if(ctx.declVariableList()!=null) { if(ctx.declVariableList() != null) {
this.visit(ctx.declVariableList()); this.visit(ctx.declVariableList());
} }
this.visit(ctx.declVariableInit()); this.visit(ctx.declVariableInit());
@@ -506,38 +516,38 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
throw new CompileError("Initializers not supported inside structs " + type.getTypeName(), new StatementSource(ctx)); throw new CompileError("Initializers not supported inside structs " + type.getTypeName(), new StatementSource(ctx));
} }
} else { } else {
if(initializer != null) { if(initializer != null) {
addInitialAssignment(initializer, lValue, comments); addInitialAssignment(initializer, lValue, comments);
} else {
if(type instanceof SymbolTypeIntegerFixed) {
// Add an zero value initializer
ConstantInteger zero = new ConstantInteger(0L, type);
Statement stmt = new StatementAssignment(lValue.getRef(), zero, new StatementSource(ctx), ensureUnusedComments(comments));
sequence.addStatement(stmt);
} else if(type instanceof SymbolTypeArray) {
// Add an zero-array initializer
SymbolTypeArray typeArray = (SymbolTypeArray) type;
RValue size = typeArray.getSize();
if(size == null) {
throw new CompileError("Error! Array has no declared size. " + lValue.toString(program), new StatementSource(ctx));
}
Statement stmt = new StatementAssignment(lValue.getRef(), new ArrayFilled(typeArray.getElementType(), size), new StatementSource(ctx), ensureUnusedComments(comments));
sequence.addStatement(stmt);
} else if(type instanceof SymbolTypePointer) {
// Add an zero value initializer
SymbolTypePointer typePointer = (SymbolTypePointer) type;
ConstantValue zero = new ConstantPointer(0L, typePointer.getElementType());
Statement stmt = new StatementAssignment(lValue.getRef(), zero, new StatementSource(ctx), ensureUnusedComments(comments));
sequence.addStatement(stmt);
} else if(type instanceof SymbolTypeStruct) {
// Add an zero-struct initializer
SymbolTypeStruct typeStruct = (SymbolTypeStruct) type;
Statement stmt = new StatementAssignment(lValue.getRef(), new StructZero(typeStruct), new StatementSource(ctx), ensureUnusedComments(comments));
sequence.addStatement(stmt);
} else { } else {
throw new CompileError("Default initializer not implemented for type " + type.getTypeName(), new StatementSource(ctx)); if(type instanceof SymbolTypeIntegerFixed) {
// Add an zero value initializer
ConstantInteger zero = new ConstantInteger(0L, type);
Statement stmt = new StatementAssignment(lValue.getRef(), zero, new StatementSource(ctx), ensureUnusedComments(comments));
sequence.addStatement(stmt);
} else if(type instanceof SymbolTypeArray) {
// Add an zero-array initializer
SymbolTypeArray typeArray = (SymbolTypeArray) type;
RValue size = typeArray.getSize();
if(size == null) {
throw new CompileError("Error! Array has no declared size. " + lValue.toString(program), new StatementSource(ctx));
}
Statement stmt = new StatementAssignment(lValue.getRef(), new ArrayFilled(typeArray.getElementType(), size), new StatementSource(ctx), ensureUnusedComments(comments));
sequence.addStatement(stmt);
} else if(type instanceof SymbolTypePointer) {
// Add an zero value initializer
SymbolTypePointer typePointer = (SymbolTypePointer) type;
ConstantValue zero = new ConstantPointer(0L, typePointer.getElementType());
Statement stmt = new StatementAssignment(lValue.getRef(), zero, new StatementSource(ctx), ensureUnusedComments(comments));
sequence.addStatement(stmt);
} else if(type instanceof SymbolTypeStruct) {
// Add an zero-struct initializer
SymbolTypeStruct typeStruct = (SymbolTypeStruct) type;
Statement stmt = new StatementAssignment(lValue.getRef(), new StructZero(typeStruct), new StatementSource(ctx), ensureUnusedComments(comments));
sequence.addStatement(stmt);
} else {
throw new CompileError("Default initializer not implemented for type " + type.getTypeName(), new StatementSource(ctx));
}
} }
}
} }
return null; return null;
@@ -545,7 +555,8 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
/** /**
* Add declared directives to an lValue (typically a variable). * Add declared directives to an lValue (typically a variable).
* @param lValue The lValue *
* @param lValue The lValue
* @param type The type of the lValue * @param type The type of the lValue
* @param directives The directives to add * @param directives The directives to add
*/ */
@@ -576,6 +587,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
/** /**
* Find the directives in the parse tree * Find the directives in the parse tree
*
* @param directivesCtx The directives in the parse tree to examine * @param directivesCtx The directives in the parse tree to examine
* @return Objects representing the found directives * @return Objects representing the found directives
*/ */
@@ -885,7 +897,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
@Override @Override
public Object visitForClassicInitDecl(KickCParser.ForClassicInitDeclContext ctx) { public Object visitForClassicInitDecl(KickCParser.ForClassicInitDeclContext ctx) {
if(ctx.declVariables()!=null) { if(ctx.declVariables() != null) {
this.visit(ctx.declVariables()); this.visit(ctx.declVariables());
} }
return null; return null;
@@ -898,7 +910,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
loopStack.push(new Loop(blockScope)); loopStack.push(new Loop(blockScope));
// Create / find declared loop variable // Create / find declared loop variable
if(ctx.declTypes()!=null) { if(ctx.declTypes() != null) {
this.visitDeclTypes(ctx.declTypes()); this.visitDeclTypes(ctx.declTypes());
} }
SymbolType varType = declVarType; SymbolType varType = declVarType;
@@ -923,7 +935,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
// Assign loop variable with first value // Assign loop variable with first value
RValue rangeLastValue = (RValue) visit(rangeLastCtx); RValue rangeLastValue = (RValue) visit(rangeLastCtx);
RValue rangeFirstValue = (RValue) visit(rangeFirstCtx); RValue rangeFirstValue = (RValue) visit(rangeFirstCtx);
if(varType!=null) { if(varType != null) {
if(rangeFirstValue instanceof ConstantInteger) ((ConstantInteger) rangeFirstValue).setType(SymbolType.NUMBER); if(rangeFirstValue instanceof ConstantInteger) ((ConstantInteger) rangeFirstValue).setType(SymbolType.NUMBER);
if(rangeLastValue instanceof ConstantInteger) ((ConstantInteger) rangeLastValue).setType(SymbolType.NUMBER); if(rangeLastValue instanceof ConstantInteger) ((ConstantInteger) rangeLastValue).setType(SymbolType.NUMBER);
} }
@@ -1136,12 +1148,10 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
} }
@Override @Override
public Object visitStructDef(KickCParser.StructDefContext ctx) { public Object visitStructDef(KickCParser.StructDefContext ctx) {
String structDefName; String structDefName;
if(ctx.NAME()!=null) { if(ctx.NAME() != null) {
structDefName = ctx.NAME().getText(); structDefName = ctx.NAME().getText();
} else { } else {
structDefName = getCurrentScope().allocateIntermediateVariableName(); structDefName = getCurrentScope().allocateIntermediateVariableName();
@@ -1169,7 +1179,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
String signedness = ctx.getChild(0).getText(); String signedness = ctx.getChild(0).getText();
String simpleTypeName; String simpleTypeName;
if(ctx.SIMPLETYPE()!=null) { if(ctx.SIMPLETYPE() != null) {
simpleTypeName = ctx.SIMPLETYPE().getText(); simpleTypeName = ctx.SIMPLETYPE().getText();
} else { } else {
simpleTypeName = "int"; simpleTypeName = "int";
@@ -1255,7 +1265,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
} else if(lValue instanceof PointerDereferenceIndexed) { } else if(lValue instanceof PointerDereferenceIndexed) {
return new PointerDereferenceIndexed(((PointerDereferenceIndexed) lValue).getPointer(), ((PointerDereferenceIndexed) lValue).getIndex()); return new PointerDereferenceIndexed(((PointerDereferenceIndexed) lValue).getPointer(), ((PointerDereferenceIndexed) lValue).getIndex());
} else { } else {
throw new CompileError("Unknown LValue type "+lValue); throw new CompileError("Unknown LValue type " + lValue);
} }
} }
@@ -1280,7 +1290,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
@Override @Override
public Object visitExprSizeOf(KickCParser.ExprSizeOfContext ctx) { public Object visitExprSizeOf(KickCParser.ExprSizeOfContext ctx) {
if(ctx.typeDecl()!=null) { if(ctx.typeDecl() != null) {
// sizeof(type) - add directly // sizeof(type) - add directly
SymbolType type = (SymbolType) this.visit(ctx.typeDecl()); SymbolType type = (SymbolType) this.visit(ctx.typeDecl());
return OperatorSizeOf.getSizeOfConstantVar(program.getScope(), type); return OperatorSizeOf.getSizeOfConstantVar(program.getScope(), type);
@@ -1297,7 +1307,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
@Override @Override
public Object visitExprTypeId(KickCParser.ExprTypeIdContext ctx) { public Object visitExprTypeId(KickCParser.ExprTypeIdContext ctx) {
if(ctx.typeDecl()!=null) { if(ctx.typeDecl() != null) {
// typeid(type) - add directly // typeid(type) - add directly
SymbolType type = (SymbolType) this.visit(ctx.typeDecl()); SymbolType type = (SymbolType) this.visit(ctx.typeDecl());
return OperatorTypeId.getTypeIdConstantVar(program.getScope(), type); return OperatorTypeId.getTypeIdConstantVar(program.getScope(), type);
@@ -1359,13 +1369,13 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
@Override @Override
public RValue visitExprString(KickCParser.ExprStringContext ctx) { public RValue visitExprString(KickCParser.ExprStringContext ctx) {
String stringValue =""; String stringValue = "";
String subText = ""; String subText = "";
for(TerminalNode stringNode : ctx.STRING()) { for(TerminalNode stringNode : ctx.STRING()) {
subText = stringNode.getText(); subText = stringNode.getText();
if(subText.endsWith("z")) { if(subText.endsWith("z")) {
stringValue += subText.substring(1, subText.length() - 2); stringValue += subText.substring(1, subText.length() - 2);
} else { } else {
stringValue += subText.substring(1, subText.length() - 1); stringValue += subText.substring(1, subText.length() - 1);
} }
} }
@@ -1413,7 +1423,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
// Special handling of negative literal number // Special handling of negative literal number
if(child instanceof ConstantInteger && operator.equals(Operators.NEG)) { if(child instanceof ConstantInteger && operator.equals(Operators.NEG)) {
return new ConstantInteger(-((ConstantInteger) child).getInteger(), ((ConstantInteger) child).getType()); return new ConstantInteger(-((ConstantInteger) child).getInteger(), ((ConstantInteger) child).getType());
} else { } else {
VariableIntermediate tmpVar = getCurrentScope().addVariableIntermediate(); VariableIntermediate tmpVar = getCurrentScope().addVariableIntermediate();
VariableRef tmpVarRef = tmpVar.getRef(); VariableRef tmpVarRef = tmpVar.getRef();
Statement stmt = new StatementAssignment(tmpVarRef, operator, child, new StatementSource(ctx), ensureUnusedComments(getCommentsSymbol(ctx))); Statement stmt = new StatementAssignment(tmpVarRef, operator, child, new StatementSource(ctx), ensureUnusedComments(getCommentsSymbol(ctx)));

View File

@@ -50,10 +50,17 @@ public class Pass4CodeGeneration {
asm.startSegment(currentScope, null, "File Comments"); asm.startSegment(currentScope, null, "File Comments");
generateComments(asm, program.getFileComments()); generateComments(asm, program.getFileComments());
Number programPc;
if(program.getProgramPc()!=null) {
programPc = program.getProgramPc();
} else {
programPc = 0x080d;
}
asm.startSegment(currentScope, null, "Basic Upstart"); asm.startSegment(currentScope, null, "Basic Upstart");
asm.addLine(new AsmSetPc("Basic", AsmFormat.getAsmNumber(0x0801))); asm.addLine(new AsmSetPc("Basic", AsmFormat.getAsmNumber(0x0801)));
asm.addLine(new AsmBasicUpstart("bbegin")); asm.addLine(new AsmBasicUpstart("bbegin"));
asm.addLine(new AsmSetPc("Program", AsmFormat.getAsmNumber(0x080d))); asm.addLine(new AsmSetPc("Program", AsmFormat.getAsmNumber(programPc)));
// Generate global ZP labels // Generate global ZP labels
asm.startSegment(currentScope, null, "Global Constants & labels"); asm.startSegment(currentScope, null, "Global Constants & labels");

View File

@@ -32,6 +32,11 @@ public class TestPrograms {
public TestPrograms() { public TestPrograms() {
} }
@Test
public void testGlobalPc() throws IOException, URISyntaxException {
compileAndCompare("global-pc");
}
@Test @Test
public void testNoopCastElimination() throws IOException, URISyntaxException { public void testNoopCastElimination() throws IOException, URISyntaxException {
compileAndCompare("noop-cast-elimination"); compileAndCompare("noop-cast-elimination");

15
src/test/kc/global-pc.kc Normal file
View File

@@ -0,0 +1,15 @@
// Test setting the program PC through a #pc directive
#pc(0x1000)
const byte* BGCOL = 0xd021;
const byte* RASTER = 0xd012;
void main() {
asm { sei }
while(true) {
byte col = *RASTER;
*BGCOL = col;
}
}

View File

@@ -1,6 +1,6 @@
// Demonstrates global directive reserving addresses on zeropage // Demonstrates global directive reserving addresses on zeropage
reserve(2,5); #reserve(2,5)
void main() { void main() {
const byte* SCREEN = $400; const byte* SCREEN = $400;

View File

@@ -31,7 +31,7 @@ SYMBOL TABLE SSA
Adding number conversion cast (unumber) main::$0 in *((byte*) main::screen#0 + (number~) main::$0) ← (byte) 'a' Adding number conversion cast (unumber) main::$0 in *((byte*) main::screen#0 + (number~) main::$0) ← (byte) 'a'
Successful SSA optimization PassNAddNumberTypeConversions Successful SSA optimization PassNAddNumberTypeConversions
Adding number conversion cast (unumber) dk.camelot64.kickc.model.values.AssignmentRValue@7e09bee in (unumber~) main::$0 ← (number) $28 * (number) $a Adding number conversion cast (unumber) $28 * $a in (unumber~) main::$0 ← (number) $28 * (number) $a
Successful SSA optimization PassNAddNumberTypeConversions Successful SSA optimization PassNAddNumberTypeConversions
Inlining cast (byte*) main::screen#0 ← (byte*)(number) $400 Inlining cast (byte*) main::screen#0 ← (byte*)(number) $400
Inlining cast (unumber~) main::$0 ← (unumber)(number~) main::$1 Inlining cast (unumber~) main::$0 ← (unumber)(number~) main::$1

View File

@@ -810,8 +810,8 @@ Adding number conversion cast (unumber) 8 in (bool~) makecharset::$20 ← (byte)
Adding number conversion cast (unumber) $40 in (bool~) makecharset::$21 ← (byte) makecharset::c#1 < (number) $40 Adding number conversion cast (unumber) $40 in (bool~) makecharset::$21 ← (byte) makecharset::c#1 < (number) $40
Adding number conversion cast (unumber) 0 in (word) fillscreen::i#0 ← (number) 0 Adding number conversion cast (unumber) 0 in (word) fillscreen::i#0 ← (number) 0
Successful SSA optimization PassNAddNumberTypeConversions Successful SSA optimization PassNAddNumberTypeConversions
Adding number conversion cast (unumber) dk.camelot64.kickc.model.values.AssignmentRValue@6f330eb9 in (unumber~) fire::$7 ← (number) $28 - (number) 1 Adding number conversion cast (unumber) $28 - 1 in (unumber~) fire::$7 ← (number) $28 - (number) 1
Adding number conversion cast (unumber) dk.camelot64.kickc.model.values.AssignmentRValue@125c082e in (unumber~) fire::$8 ← (number) $28 - (number) 1 Adding number conversion cast (unumber) $28 - 1 in (unumber~) fire::$8 ← (number) $28 - (number) 1
Successful SSA optimization PassNAddNumberTypeConversions Successful SSA optimization PassNAddNumberTypeConversions
Adding number conversion cast (byte) to elements in (byte[8]) makecharset::bittab#0 ← { (byte)(number) 1, (byte)(number) 2, (byte)(number) 4, (byte)(number) 8, (byte)(number) $10, (byte)(number) $20, (byte)(number) $40, (byte)(number) $80 } Adding number conversion cast (byte) to elements in (byte[8]) makecharset::bittab#0 ← { (byte)(number) 1, (byte)(number) 2, (byte)(number) 4, (byte)(number) 8, (byte)(number) $10, (byte)(number) $20, (byte)(number) $40, (byte)(number) $80 }
Successful SSA optimization PassNAddArrayNumberTypeConversions Successful SSA optimization PassNAddArrayNumberTypeConversions

View File

@@ -0,0 +1,13 @@
// Test setting the program PC through a #pc directive
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $1000 "Program"
.label BGCOL = $d021
.label RASTER = $d012
main: {
sei
b1:
lda RASTER
sta BGCOL
jmp b1
}

View File

@@ -0,0 +1,16 @@
@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
[1] phi()
[2] call main
to:@end
@end: scope:[] from @1
[3] phi()
main: scope:[main] from @1
asm { sei }
to:main::@1
main::@1: scope:[main] from main main::@1
[5] (byte) main::col#0 ← *((const byte*) RASTER#0)
[6] *((const byte*) BGCOL#0) ← (byte) main::col#0
to:main::@1

263
src/test/ref/global-pc.log Normal file
View File

@@ -0,0 +1,263 @@
Adding pointer type conversion cast (byte*) BGCOL in (byte*) BGCOL ← (number) $d021
Adding pointer type conversion cast (byte*) RASTER in (byte*) RASTER ← (number) $d012
Culled Empty Block (label) main::@4
Culled Empty Block (label) main::@3
Culled Empty Block (label) main::@5
Culled Empty Block (label) main::@6
CONTROL FLOW GRAPH SSA
@begin: scope:[] from
(byte*) BGCOL#0 ← ((byte*)) (number) $d021
(byte*) RASTER#0 ← ((byte*)) (number) $d012
to:@1
main: scope:[main] from @1
asm { sei }
to:main::@1
main::@1: scope:[main] from main main::@2
if(true) goto main::@2
to:main::@return
main::@2: scope:[main] from main::@1
(byte) main::col#0 ← *((byte*) RASTER#0)
*((byte*) BGCOL#0) ← (byte) main::col#0
to:main::@1
main::@return: scope:[main] from main::@1
return
to:@return
@1: scope:[] from @begin
call main
to:@2
@2: scope:[] from @1
to:@end
@end: scope:[] from @2
SYMBOL TABLE SSA
(label) @1
(label) @2
(label) @begin
(label) @end
(byte*) BGCOL
(byte*) BGCOL#0
(byte*) RASTER
(byte*) RASTER#0
(void()) main()
(label) main::@1
(label) main::@2
(label) main::@return
(byte) main::col
(byte) main::col#0
Inlining cast (byte*) BGCOL#0 ← (byte*)(number) $d021
Inlining cast (byte*) RASTER#0 ← (byte*)(number) $d012
Successful SSA optimization Pass2InlineCast
Simplifying constant pointer cast (byte*) 53281
Simplifying constant pointer cast (byte*) 53266
Successful SSA optimization PassNCastSimplification
Constant (const byte*) BGCOL#0 = (byte*) 53281
Constant (const byte*) RASTER#0 = (byte*) 53266
Successful SSA optimization Pass2ConstantIdentification
if() condition always true - replacing block destination [3] if(true) goto main::@2
Successful SSA optimization Pass2ConstantIfs
Removing unused block main::@return
Successful SSA optimization Pass2EliminateUnusedBlocks
Adding NOP phi() at start of @begin
Adding NOP phi() at start of @1
Adding NOP phi() at start of @2
Adding NOP phi() at start of @end
Adding NOP phi() at start of main::@1
CALL GRAPH
Calls in [] to main:2
Created 0 initial phi equivalence classes
Coalesced down to 0 phi equivalence classes
Culled Empty Block (label) @2
Culled Empty Block (label) main::@1
Renumbering block main::@2 to main::@1
Adding NOP phi() at start of @begin
Adding NOP phi() at start of @1
Adding NOP phi() at start of @end
FINAL CONTROL FLOW GRAPH
@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
[1] phi()
[2] call main
to:@end
@end: scope:[] from @1
[3] phi()
main: scope:[main] from @1
asm { sei }
to:main::@1
main::@1: scope:[main] from main main::@1
[5] (byte) main::col#0 ← *((const byte*) RASTER#0)
[6] *((const byte*) BGCOL#0) ← (byte) main::col#0
to:main::@1
VARIABLE REGISTER WEIGHTS
(byte*) BGCOL
(byte*) RASTER
(void()) main()
(byte) main::col
(byte) main::col#0 22.0
Initial phi equivalence classes
Added variable main::col#0 to zero page equivalence class [ main::col#0 ]
Complete equivalence classes
[ main::col#0 ]
Allocated zp ZP_BYTE:2 [ main::col#0 ]
INITIAL ASM
//SEG0 File Comments
// Test setting the program PC through a #pc directive
//SEG1 Basic Upstart
.pc = $801 "Basic"
:BasicUpstart(bbegin)
.pc = $1000 "Program"
//SEG2 Global Constants & labels
.label BGCOL = $d021
.label RASTER = $d012
//SEG3 @begin
bbegin:
//SEG4 [1] phi from @begin to @1 [phi:@begin->@1]
b1_from_bbegin:
jmp b1
//SEG5 @1
b1:
//SEG6 [2] call main
jsr main
//SEG7 [3] phi from @1 to @end [phi:@1->@end]
bend_from_b1:
jmp bend
//SEG8 @end
bend:
//SEG9 main
main: {
.label col = 2
//SEG10 asm { sei }
sei
jmp b1
//SEG11 main::@1
b1:
//SEG12 [5] (byte) main::col#0 ← *((const byte*) RASTER#0) -- vbuz1=_deref_pbuc1
lda RASTER
sta col
//SEG13 [6] *((const byte*) BGCOL#0) ← (byte) main::col#0 -- _deref_pbuc1=vbuz1
lda col
sta BGCOL
jmp b1
}
REGISTER UPLIFT POTENTIAL REGISTERS
Potential registers zp ZP_BYTE:2 [ main::col#0 ] : zp ZP_BYTE:2 , reg byte a , reg byte x , reg byte y ,
REGISTER UPLIFT SCOPES
Uplift Scope [main] 22: zp ZP_BYTE:2 [ main::col#0 ]
Uplift Scope []
Uplifting [main] best 127 combination reg byte a [ main::col#0 ]
Uplifting [] best 127 combination
ASSEMBLER BEFORE OPTIMIZATION
//SEG0 File Comments
// Test setting the program PC through a #pc directive
//SEG1 Basic Upstart
.pc = $801 "Basic"
:BasicUpstart(bbegin)
.pc = $1000 "Program"
//SEG2 Global Constants & labels
.label BGCOL = $d021
.label RASTER = $d012
//SEG3 @begin
bbegin:
//SEG4 [1] phi from @begin to @1 [phi:@begin->@1]
b1_from_bbegin:
jmp b1
//SEG5 @1
b1:
//SEG6 [2] call main
jsr main
//SEG7 [3] phi from @1 to @end [phi:@1->@end]
bend_from_b1:
jmp bend
//SEG8 @end
bend:
//SEG9 main
main: {
//SEG10 asm { sei }
sei
jmp b1
//SEG11 main::@1
b1:
//SEG12 [5] (byte) main::col#0 ← *((const byte*) RASTER#0) -- vbuaa=_deref_pbuc1
lda RASTER
//SEG13 [6] *((const byte*) BGCOL#0) ← (byte) main::col#0 -- _deref_pbuc1=vbuaa
sta BGCOL
jmp b1
}
ASSEMBLER OPTIMIZATIONS
Removing instruction jmp b1
Removing instruction jmp bend
Removing instruction jmp b1
Succesful ASM optimization Pass5NextJumpElimination
Removing instruction b1_from_bbegin:
Removing instruction b1:
Removing instruction bend_from_b1:
Succesful ASM optimization Pass5RedundantLabelElimination
Removing instruction bend:
Succesful ASM optimization Pass5UnusedLabelElimination
Updating BasicUpstart to call main directly
Removing instruction jsr main
Succesful ASM optimization Pass5SkipBegin
Removing instruction bbegin:
Succesful ASM optimization Pass5UnusedLabelElimination
FINAL SYMBOL TABLE
(label) @1
(label) @begin
(label) @end
(byte*) BGCOL
(const byte*) BGCOL#0 BGCOL = (byte*) 53281
(byte*) RASTER
(const byte*) RASTER#0 RASTER = (byte*) 53266
(void()) main()
(label) main::@1
(byte) main::col
(byte) main::col#0 reg byte a 22.0
reg byte a [ main::col#0 ]
FINAL ASSEMBLER
Score: 112
//SEG0 File Comments
// Test setting the program PC through a #pc directive
//SEG1 Basic Upstart
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $1000 "Program"
//SEG2 Global Constants & labels
.label BGCOL = $d021
.label RASTER = $d012
//SEG3 @begin
//SEG4 [1] phi from @begin to @1 [phi:@begin->@1]
//SEG5 @1
//SEG6 [2] call main
//SEG7 [3] phi from @1 to @end [phi:@1->@end]
//SEG8 @end
//SEG9 main
main: {
//SEG10 asm { sei }
sei
//SEG11 main::@1
b1:
//SEG12 [5] (byte) main::col#0 ← *((const byte*) RASTER#0) -- vbuaa=_deref_pbuc1
lda RASTER
//SEG13 [6] *((const byte*) BGCOL#0) ← (byte) main::col#0 -- _deref_pbuc1=vbuaa
sta BGCOL
jmp b1
}

View File

@@ -0,0 +1 @@
program