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

Added clobber directive to inline kickasm.

This commit is contained in:
jespergravgaard 2019-03-19 07:48:16 +01:00
parent f67a5bc897
commit 5791875d2d
19 changed files with 2541 additions and 2068 deletions

View File

@ -195,7 +195,7 @@ public class ControlFlowGraphCopyVisitor extends ControlFlowGraphBaseVisitor<Obj
@Override
public Object visitKickAsm(StatementKickAsm orig) {
return new StatementKickAsm(orig.getKickAsmCode(), orig.getLocation(), orig.getBytes(), orig.getCycles(), orig.getUses(), orig.getSource(), orig.getComments());
return new StatementKickAsm(orig.getKickAsmCode(), orig.getLocation(), orig.getBytes(), orig.getCycles(), orig.getUses(), orig.getDeclaredClobber(), orig.getSource(), orig.getComments());
}
}

View File

@ -1,5 +1,6 @@
package dk.camelot64.kickc.model.statements;
import dk.camelot64.kickc.asm.AsmClobber;
import dk.camelot64.kickc.model.Comment;
import dk.camelot64.kickc.model.Program;
import dk.camelot64.kickc.model.values.RValue;
@ -26,19 +27,31 @@ public class StatementKickAsm extends StatementBase {
/** Variables/constants used by the kickasm code. */
private List<SymbolVariableRef> uses;
/** Declared clobber for the inline kick-assembler . */
private AsmClobber declaredClobber;
public StatementKickAsm(String kickAsmCode, StatementSource source, List<Comment> comments) {
super(null, source, comments);
this.kickAsmCode = kickAsmCode;
this.uses = new ArrayList<>();
}
public StatementKickAsm(String kickAsmCode, RValue location, RValue bytes, RValue cycles, List<SymbolVariableRef> uses, StatementSource source, List<Comment> comments) {
public StatementKickAsm(String kickAsmCode, RValue location, RValue bytes, RValue cycles, List<SymbolVariableRef> uses, AsmClobber declaredClobber, StatementSource source, List<Comment> comments) {
super(null, source, comments);
this.kickAsmCode = kickAsmCode;
this.location = location;
this.bytes = bytes;
this.cycles = cycles;
this.uses = uses;
this.declaredClobber = declaredClobber;
}
public AsmClobber getDeclaredClobber() {
return declaredClobber;
}
public void setDeclaredClobber(AsmClobber declaredClobber) {
this.declaredClobber = declaredClobber;
}
public RValue getLocation() {

View File

@ -35,24 +35,6 @@ declFunction
: directive* typeDecl directive* NAME '(' parameterListDecl? ')' '{' stmtSeq? '}'
;
declKasm
: 'kickasm' kasmDirectives? KICKASM
;
kasmDirectives
: '(' kasmDirective ( ',' kasmDirective )* ')'
;
kasmDirective
: 'resource' STRING #kasmDirectiveResource
| 'uses' NAME #kasmDirectiveUses
| 'clobbers' STRING #kasmDirectiveClobber
| 'param' NAME ':' expr #kasmDirectiveTransfer
| 'bytes' expr #kasmDirectiveBytes
| 'cycles' expr #kasmDirectiveCycles
| 'pc' ( 'inline' | expr ) #kasmDirectiveAddress
;
parameterListDecl
: parameterDecl (',' parameterDecl)* ;
@ -137,12 +119,21 @@ parameterList
: expr (',' expr)*
;
declKasm
: 'kickasm' asmDirectives? KICKASM
;
asmDirectives
: '(' asmDirective ( ',' asmDirective )* ')'
;
asmDirective
: 'clobbers' STRING #asmDirectiveClobber
: 'resource' STRING #asmDirectiveResource
| 'uses' NAME #asmDirectiveUses
| 'clobbers' STRING #asmDirectiveClobber
| 'bytes' expr #asmDirectiveBytes
| 'cycles' expr #asmDirectiveCycles
| 'pc' ( 'inline' | expr ) #asmDirectiveAddress
;
asmLines

View File

@ -67,27 +67,26 @@ T__65=66
T__66=67
T__67=68
T__68=69
T__69=70
MNEMONIC=71
KICKASM=72
SIMPLETYPE=73
STRING=74
CHAR=75
BOOLEAN=76
NUMBER=77
NUMFLOAT=78
BINFLOAT=79
DECFLOAT=80
HEXFLOAT=81
NUMINT=82
BININTEGER=83
DECINTEGER=84
HEXINTEGER=85
NAME=86
ASMREL=87
WS=88
COMMENT_LINE=89
COMMENT_BLOCK=90
MNEMONIC=70
KICKASM=71
SIMPLETYPE=72
STRING=73
CHAR=74
BOOLEAN=75
NUMBER=76
NUMFLOAT=77
BINFLOAT=78
DECFLOAT=79
HEXFLOAT=80
NUMINT=81
BININTEGER=82
DECINTEGER=83
HEXINTEGER=84
NAME=85
ASMREL=86
WS=87
COMMENT_LINE=88
COMMENT_BLOCK=89
'import'=1
'='=2
';'=3
@ -95,66 +94,65 @@ COMMENT_BLOCK=90
')'=5
'{'=6
'}'=7
'kickasm'=8
','=9
'resource'=10
'uses'=11
'clobbers'=12
'param'=13
':'=14
'bytes'=15
'cycles'=16
'pc'=17
'inline'=18
'const'=19
'extern'=20
'align'=21
'register'=22
'volatile'=23
'interrupt'=24
'if'=25
'else'=26
'while'=27
'do'=28
'for'=29
'return'=30
'asm'=31
'..'=32
'signed'=33
'*'=34
'['=35
']'=36
'--'=37
'++'=38
'+'=39
'-'=40
'!'=41
'&'=42
'~'=43
'>>'=44
'<<'=45
'/'=46
'%'=47
'<'=48
'>'=49
'=='=50
'!='=51
'<='=52
'>='=53
'^'=54
'|'=55
'&&'=56
'||'=57
'+='=58
'-='=59
'*='=60
'/='=61
'%='=62
'<<='=63
'>>='=64
'&='=65
'|='=66
'^='=67
'.byte'=68
'#'=69
'.'=70
','=8
'const'=9
'extern'=10
'align'=11
'register'=12
'inline'=13
'volatile'=14
'interrupt'=15
'if'=16
'else'=17
'while'=18
'do'=19
'for'=20
'return'=21
'asm'=22
':'=23
'..'=24
'signed'=25
'*'=26
'['=27
']'=28
'--'=29
'++'=30
'+'=31
'-'=32
'!'=33
'&'=34
'~'=35
'>>'=36
'<<'=37
'/'=38
'%'=39
'<'=40
'>'=41
'=='=42
'!='=43
'<='=44
'>='=45
'^'=46
'|'=47
'&&'=48
'||'=49
'+='=50
'-='=51
'*='=52
'/='=53
'%='=54
'<<='=55
'>>='=56
'&='=57
'|='=58
'^='=59
'kickasm'=60
'resource'=61
'uses'=62
'clobbers'=63
'bytes'=64
'cycles'=65
'pc'=66
'.byte'=67
'#'=68
'.'=69

View File

@ -107,114 +107,6 @@ public class KickCBaseListener implements KickCListener {
* <p>The default implementation does nothing.</p>
*/
@Override public void exitDeclFunction(KickCParser.DeclFunctionContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterDeclKasm(KickCParser.DeclKasmContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitDeclKasm(KickCParser.DeclKasmContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterKasmDirectives(KickCParser.KasmDirectivesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitKasmDirectives(KickCParser.KasmDirectivesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterKasmDirectiveResource(KickCParser.KasmDirectiveResourceContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitKasmDirectiveResource(KickCParser.KasmDirectiveResourceContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterKasmDirectiveUses(KickCParser.KasmDirectiveUsesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitKasmDirectiveUses(KickCParser.KasmDirectiveUsesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterKasmDirectiveClobber(KickCParser.KasmDirectiveClobberContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitKasmDirectiveClobber(KickCParser.KasmDirectiveClobberContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterKasmDirectiveTransfer(KickCParser.KasmDirectiveTransferContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitKasmDirectiveTransfer(KickCParser.KasmDirectiveTransferContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterKasmDirectiveBytes(KickCParser.KasmDirectiveBytesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitKasmDirectiveBytes(KickCParser.KasmDirectiveBytesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterKasmDirectiveCycles(KickCParser.KasmDirectiveCyclesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitKasmDirectiveCycles(KickCParser.KasmDirectiveCyclesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx) { }
/**
* {@inheritDoc}
*
@ -779,6 +671,18 @@ public class KickCBaseListener implements KickCListener {
* <p>The default implementation does nothing.</p>
*/
@Override public void exitParameterList(KickCParser.ParameterListContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterDeclKasm(KickCParser.DeclKasmContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitDeclKasm(KickCParser.DeclKasmContext ctx) { }
/**
* {@inheritDoc}
*
@ -791,6 +695,30 @@ public class KickCBaseListener implements KickCListener {
* <p>The default implementation does nothing.</p>
*/
@Override public void exitAsmDirectives(KickCParser.AsmDirectivesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterAsmDirectiveResource(KickCParser.AsmDirectiveResourceContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitAsmDirectiveResource(KickCParser.AsmDirectiveResourceContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterAsmDirectiveUses(KickCParser.AsmDirectiveUsesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitAsmDirectiveUses(KickCParser.AsmDirectiveUsesContext ctx) { }
/**
* {@inheritDoc}
*
@ -803,6 +731,42 @@ public class KickCBaseListener implements KickCListener {
* <p>The default implementation does nothing.</p>
*/
@Override public void exitAsmDirectiveClobber(KickCParser.AsmDirectiveClobberContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterAsmDirectiveBytes(KickCParser.AsmDirectiveBytesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitAsmDirectiveBytes(KickCParser.AsmDirectiveBytesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterAsmDirectiveCycles(KickCParser.AsmDirectiveCyclesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitAsmDirectiveCycles(KickCParser.AsmDirectiveCyclesContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterAsmDirectiveAddress(KickCParser.AsmDirectiveAddressContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitAsmDirectiveAddress(KickCParser.AsmDirectiveAddressContext ctx) { }
/**
* {@inheritDoc}
*

View File

@ -67,69 +67,6 @@ public class KickCBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitDeclFunction(KickCParser.DeclFunctionContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitDeclKasm(KickCParser.DeclKasmContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitKasmDirectives(KickCParser.KasmDirectivesContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitKasmDirectiveResource(KickCParser.KasmDirectiveResourceContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitKasmDirectiveUses(KickCParser.KasmDirectiveUsesContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitKasmDirectiveClobber(KickCParser.KasmDirectiveClobberContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitKasmDirectiveTransfer(KickCParser.KasmDirectiveTransferContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitKasmDirectiveBytes(KickCParser.KasmDirectiveBytesContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitKasmDirectiveCycles(KickCParser.KasmDirectiveCyclesContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
@ -459,6 +396,13 @@ public class KickCBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitParameterList(KickCParser.ParameterListContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitDeclKasm(KickCParser.DeclKasmContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
@ -466,6 +410,20 @@ public class KickCBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitAsmDirectives(KickCParser.AsmDirectivesContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitAsmDirectiveResource(KickCParser.AsmDirectiveResourceContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitAsmDirectiveUses(KickCParser.AsmDirectiveUsesContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
@ -473,6 +431,27 @@ public class KickCBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitAsmDirectiveClobber(KickCParser.AsmDirectiveClobberContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitAsmDirectiveBytes(KickCParser.AsmDirectiveBytesContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitAsmDirectiveCycles(KickCParser.AsmDirectiveCyclesContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitAsmDirectiveAddress(KickCParser.AsmDirectiveAddressContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*

View File

@ -26,10 +26,10 @@ public class KickCLexer extends Lexer {
T__45=46, T__46=47, T__47=48, T__48=49, T__49=50, T__50=51, T__51=52,
T__52=53, T__53=54, T__54=55, T__55=56, T__56=57, T__57=58, T__58=59,
T__59=60, T__60=61, T__61=62, T__62=63, T__63=64, T__64=65, T__65=66,
T__66=67, T__67=68, T__68=69, T__69=70, MNEMONIC=71, KICKASM=72, SIMPLETYPE=73,
STRING=74, CHAR=75, BOOLEAN=76, NUMBER=77, NUMFLOAT=78, BINFLOAT=79, DECFLOAT=80,
HEXFLOAT=81, NUMINT=82, BININTEGER=83, DECINTEGER=84, HEXINTEGER=85, NAME=86,
ASMREL=87, WS=88, COMMENT_LINE=89, COMMENT_BLOCK=90;
T__66=67, T__67=68, T__68=69, MNEMONIC=70, KICKASM=71, SIMPLETYPE=72,
STRING=73, CHAR=74, BOOLEAN=75, NUMBER=76, NUMFLOAT=77, BINFLOAT=78, DECFLOAT=79,
HEXFLOAT=80, NUMINT=81, BININTEGER=82, DECINTEGER=83, HEXINTEGER=84, NAME=85,
ASMREL=86, WS=87, COMMENT_LINE=88, COMMENT_BLOCK=89;
public static String[] channelNames = {
"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
};
@ -47,7 +47,7 @@ public class KickCLexer extends Lexer {
"T__41", "T__42", "T__43", "T__44", "T__45", "T__46", "T__47", "T__48",
"T__49", "T__50", "T__51", "T__52", "T__53", "T__54", "T__55", "T__56",
"T__57", "T__58", "T__59", "T__60", "T__61", "T__62", "T__63", "T__64",
"T__65", "T__66", "T__67", "T__68", "T__69", "MNEMONIC", "KICKASM", "SIMPLETYPE",
"T__65", "T__66", "T__67", "T__68", "MNEMONIC", "KICKASM", "SIMPLETYPE",
"STRING", "CHAR", "BOOLEAN", "NUMBER", "NUMFLOAT", "BINFLOAT", "DECFLOAT",
"HEXFLOAT", "NUMINT", "BININTEGER", "DECINTEGER", "HEXINTEGER", "BINDIGIT",
"DECDIGIT", "HEXDIGIT", "NAME", "NAME_START", "NAME_CHAR", "ASMREL", "WS",
@ -55,15 +55,15 @@ public class KickCLexer extends Lexer {
};
private static final String[] _LITERAL_NAMES = {
null, "'import'", "'='", "';'", "'('", "')'", "'{'", "'}'", "'kickasm'",
"','", "'resource'", "'uses'", "'clobbers'", "'param'", "':'", "'bytes'",
"'cycles'", "'pc'", "'inline'", "'const'", "'extern'", "'align'", "'register'",
"'volatile'", "'interrupt'", "'if'", "'else'", "'while'", "'do'", "'for'",
"'return'", "'asm'", "'..'", "'signed'", "'*'", "'['", "']'", "'--'",
"'++'", "'+'", "'-'", "'!'", "'&'", "'~'", "'>>'", "'<<'", "'/'", "'%'",
"'<'", "'>'", "'=='", "'!='", "'<='", "'>='", "'^'", "'|'", "'&&'", "'||'",
"'+='", "'-='", "'*='", "'/='", "'%='", "'<<='", "'>>='", "'&='", "'|='",
"'^='", "'.byte'", "'#'", "'.'"
null, "'import'", "'='", "';'", "'('", "')'", "'{'", "'}'", "','", "'const'",
"'extern'", "'align'", "'register'", "'inline'", "'volatile'", "'interrupt'",
"'if'", "'else'", "'while'", "'do'", "'for'", "'return'", "'asm'", "':'",
"'..'", "'signed'", "'*'", "'['", "']'", "'--'", "'++'", "'+'", "'-'",
"'!'", "'&'", "'~'", "'>>'", "'<<'", "'/'", "'%'", "'<'", "'>'", "'=='",
"'!='", "'<='", "'>='", "'^'", "'|'", "'&&'", "'||'", "'+='", "'-='",
"'*='", "'/='", "'%='", "'<<='", "'>>='", "'&='", "'|='", "'^='", "'kickasm'",
"'resource'", "'uses'", "'clobbers'", "'bytes'", "'cycles'", "'pc'", "'.byte'",
"'#'", "'.'"
};
private static final String[] _SYMBOLIC_NAMES = {
null, null, null, null, null, null, null, null, null, null, null, null,
@ -71,7 +71,7 @@ public class KickCLexer extends Lexer {
null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, "MNEMONIC",
null, null, null, null, null, null, null, null, null, null, "MNEMONIC",
"KICKASM", "SIMPLETYPE", "STRING", "CHAR", "BOOLEAN", "NUMBER", "NUMFLOAT",
"BINFLOAT", "DECFLOAT", "HEXFLOAT", "NUMINT", "BININTEGER", "DECINTEGER",
"HEXINTEGER", "NAME", "ASMREL", "WS", "COMMENT_LINE", "COMMENT_BLOCK"
@ -134,7 +134,7 @@ public class KickCLexer extends Lexer {
public ATN getATN() { return _ATN; }
public static final String _serializedATN =
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\\\u038f\b\1\4\2\t"+
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2[\u0387\b\1\4\2\t"+
"\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13"+
"\t\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+
"\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+
@ -144,324 +144,321 @@ public class KickCLexer extends Lexer {
"\64\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\49\t9\4:\t:\4;\t;\4<\t<\4=\t="+
"\4>\t>\4?\t?\4@\t@\4A\tA\4B\tB\4C\tC\4D\tD\4E\tE\4F\tF\4G\tG\4H\tH\4I"+
"\tI\4J\tJ\4K\tK\4L\tL\4M\tM\4N\tN\4O\tO\4P\tP\4Q\tQ\4R\tR\4S\tS\4T\tT"+
"\4U\tU\4V\tV\4W\tW\4X\tX\4Y\tY\4Z\tZ\4[\t[\4\\\t\\\4]\t]\4^\t^\4_\t_\4"+
"`\t`\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\3\3\3\3\4\3\4\3\5\3\5\3\6\3\6\3\7\3"+
"\7\3\b\3\b\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\n\3\n\3\13\3\13\3\13\3\13"+
"\3\13\3\13\3\13\3\13\3\13\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\r\3\r"+
"\3\r\3\r\3\r\3\16\3\16\3\16\3\16\3\16\3\16\3\17\3\17\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\3\22\3\22\3\22\3\23\3"+
"\23\3\23\3\23\3\23\3\23\3\23\3\24\3\24\3\24\3\24\3\24\3\24\3\25\3\25\3"+
"\25\3\25\3\25\3\25\3\25\3\26\3\26\3\26\3\26\3\26\3\26\3\27\3\27\3\27\3"+
"\27\3\27\3\27\3\27\3\27\3\27\3\30\3\30\3\30\3\30\3\30\3\30\3\30\3\30\3"+
"\30\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\32\3\32\3\32\3"+
"\33\3\33\3\33\3\33\3\33\3\34\3\34\3\34\3\34\3\34\3\34\3\35\3\35\3\35\3"+
"\36\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!\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3#\3#\3$\3$\3%\3%\3&\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\63\3\63\3\64\3\64\3\64\3\65\3\65\3\65\3\66\3\66"+
"\3\66\3\67\3\67\38\38\39\39\39\3:\3:\3:\3;\3;\3;\3<\3<\3<\3=\3=\3=\3>"+
"\3>\3>\3?\3?\3?\3@\3@\3@\3@\3A\3A\3A\3A\3B\3B\3B\3C\3C\3C\3D\3D\3D\3E"+
"\3E\3E\3E\3E\3E\3F\3F\3G\3G\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H"+
"\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H"+
"\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H"+
"\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H"+
"\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H"+
"\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H"+
"\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H"+
"\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H"+
"\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H"+
"\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H"+
"\3H\5H\u02b0\nH\3I\3I\3I\3I\7I\u02b6\nI\fI\16I\u02b9\13I\3I\3I\3I\3J\3"+
"J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\5J\u02d3\n"+
"J\3K\3K\3K\3K\7K\u02d9\nK\fK\16K\u02dc\13K\3K\3K\3L\3L\3L\3L\5L\u02e4"+
"\nL\3L\3L\3M\3M\3M\3M\3M\3M\3M\3M\3M\5M\u02f1\nM\3N\3N\5N\u02f5\nN\3O"+
"\3O\3O\5O\u02fa\nO\3P\3P\3P\3P\3P\5P\u0301\nP\3P\7P\u0304\nP\fP\16P\u0307"+
"\13P\3P\3P\6P\u030b\nP\rP\16P\u030c\3Q\7Q\u0310\nQ\fQ\16Q\u0313\13Q\3"+
"Q\3Q\6Q\u0317\nQ\rQ\16Q\u0318\3R\3R\3R\3R\3R\5R\u0320\nR\3R\7R\u0323\n"+
"R\fR\16R\u0326\13R\3R\3R\6R\u032a\nR\rR\16R\u032b\3S\3S\3S\5S\u0331\n"+
"S\3T\3T\3T\6T\u0336\nT\rT\16T\u0337\3T\3T\6T\u033c\nT\rT\16T\u033d\5T"+
"\u0340\nT\3U\6U\u0343\nU\rU\16U\u0344\3V\3V\3V\3V\3V\5V\u034c\nV\3V\6"+
"V\u034f\nV\rV\16V\u0350\3W\3W\3X\3X\3Y\3Y\3Z\3Z\7Z\u035b\nZ\fZ\16Z\u035e"+
"\13Z\3[\3[\3\\\3\\\3]\3]\7]\u0366\n]\f]\16]\u0369\13]\3]\6]\u036c\n]\r"+
"]\16]\u036d\3^\6^\u0371\n^\r^\16^\u0372\3^\3^\3_\3_\3_\3_\7_\u037b\n_"+
"\f_\16_\u037e\13_\3_\3_\3`\3`\3`\3`\7`\u0386\n`\f`\16`\u0389\13`\3`\3"+
"`\3`\3`\3`\4\u02b7\u0387\2a\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25"+
"\f\27\r\31\16\33\17\35\20\37\21!\22#\23%\24\'\25)\26+\27-\30/\31\61\32"+
"\63\33\65\34\67\359\36;\37= ?!A\"C#E$G%I&K\'M(O)Q*S+U,W-Y.[/]\60_\61a"+
"\62c\63e\64g\65i\66k\67m8o9q:s;u<w=y>{?}@\177A\u0081B\u0083C\u0085D\u0087"+
"E\u0089F\u008bG\u008dH\u008fI\u0091J\u0093K\u0095L\u0097M\u0099N\u009b"+
"O\u009dP\u009fQ\u00a1R\u00a3S\u00a5T\u00a7U\u00a9V\u00abW\u00ad\2\u00af"+
"\2\u00b1\2\u00b3X\u00b5\2\u00b7\2\u00b9Y\u00bbZ\u00bd[\u00bf\\\3\2\r\3"+
"\2$$\3\2))\4\2DDdd\3\2\62\63\3\2\62;\5\2\62;CHch\5\2C\\aac|\6\2\62;C\\"+
"aac|\4\2--//\6\2\13\f\17\17\"\"\u00a2\u00a2\4\2\f\f\17\17\2\u03f7\2\3"+
"\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2\2\2\2\r\3\2\2\2"+
"\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2\2\2\27\3\2\2\2\2\31"+
"\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2\2\2"+
"\2%\3\2\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2/\3\2\2\2\2"+
"\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67\3\2\2\2\29\3\2\2\2\2;\3\2\2"+
"\2\2=\3\2\2\2\2?\3\2\2\2\2A\3\2\2\2\2C\3\2\2\2\2E\3\2\2\2\2G\3\2\2\2\2"+
"I\3\2\2\2\2K\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\2Q\3\2\2\2\2S\3\2\2\2\2U\3"+
"\2\2\2\2W\3\2\2\2\2Y\3\2\2\2\2[\3\2\2\2\2]\3\2\2\2\2_\3\2\2\2\2a\3\2\2"+
"\2\2c\3\2\2\2\2e\3\2\2\2\2g\3\2\2\2\2i\3\2\2\2\2k\3\2\2\2\2m\3\2\2\2\2"+
"o\3\2\2\2\2q\3\2\2\2\2s\3\2\2\2\2u\3\2\2\2\2w\3\2\2\2\2y\3\2\2\2\2{\3"+
"\2\2\2\2}\3\2\2\2\2\177\3\2\2\2\2\u0081\3\2\2\2\2\u0083\3\2\2\2\2\u0085"+
"\3\2\2\2\2\u0087\3\2\2\2\2\u0089\3\2\2\2\2\u008b\3\2\2\2\2\u008d\3\2\2"+
"\2\2\u008f\3\2\2\2\2\u0091\3\2\2\2\2\u0093\3\2\2\2\2\u0095\3\2\2\2\2\u0097"+
"\3\2\2\2\2\u0099\3\2\2\2\2\u009b\3\2\2\2\2\u009d\3\2\2\2\2\u009f\3\2\2"+
"\2\2\u00a1\3\2\2\2\2\u00a3\3\2\2\2\2\u00a5\3\2\2\2\2\u00a7\3\2\2\2\2\u00a9"+
"\3\2\2\2\2\u00ab\3\2\2\2\2\u00b3\3\2\2\2\2\u00b9\3\2\2\2\2\u00bb\3\2\2"+
"\2\2\u00bd\3\2\2\2\2\u00bf\3\2\2\2\3\u00c1\3\2\2\2\5\u00c8\3\2\2\2\7\u00ca"+
"\3\2\2\2\t\u00cc\3\2\2\2\13\u00ce\3\2\2\2\r\u00d0\3\2\2\2\17\u00d2\3\2"+
"\2\2\21\u00d4\3\2\2\2\23\u00dc\3\2\2\2\25\u00de\3\2\2\2\27\u00e7\3\2\2"+
"\2\31\u00ec\3\2\2\2\33\u00f5\3\2\2\2\35\u00fb\3\2\2\2\37\u00fd\3\2\2\2"+
"!\u0103\3\2\2\2#\u010a\3\2\2\2%\u010d\3\2\2\2\'\u0114\3\2\2\2)\u011a\3"+
"\2\2\2+\u0121\3\2\2\2-\u0127\3\2\2\2/\u0130\3\2\2\2\61\u0139\3\2\2\2\63"+
"\u0143\3\2\2\2\65\u0146\3\2\2\2\67\u014b\3\2\2\29\u0151\3\2\2\2;\u0154"+
"\3\2\2\2=\u0158\3\2\2\2?\u015f\3\2\2\2A\u0163\3\2\2\2C\u0166\3\2\2\2E"+
"\u016d\3\2\2\2G\u016f\3\2\2\2I\u0171\3\2\2\2K\u0173\3\2\2\2M\u0176\3\2"+
"\2\2O\u0179\3\2\2\2Q\u017b\3\2\2\2S\u017d\3\2\2\2U\u017f\3\2\2\2W\u0181"+
"\3\2\2\2Y\u0183\3\2\2\2[\u0186\3\2\2\2]\u0189\3\2\2\2_\u018b\3\2\2\2a"+
"\u018d\3\2\2\2c\u018f\3\2\2\2e\u0191\3\2\2\2g\u0194\3\2\2\2i\u0197\3\2"+
"\2\2k\u019a\3\2\2\2m\u019d\3\2\2\2o\u019f\3\2\2\2q\u01a1\3\2\2\2s\u01a4"+
"\3\2\2\2u\u01a7\3\2\2\2w\u01aa\3\2\2\2y\u01ad\3\2\2\2{\u01b0\3\2\2\2}"+
"\u01b3\3\2\2\2\177\u01b6\3\2\2\2\u0081\u01ba\3\2\2\2\u0083\u01be\3\2\2"+
"\2\u0085\u01c1\3\2\2\2\u0087\u01c4\3\2\2\2\u0089\u01c7\3\2\2\2\u008b\u01cd"+
"\3\2\2\2\u008d\u01cf\3\2\2\2\u008f\u02af\3\2\2\2\u0091\u02b1\3\2\2\2\u0093"+
"\u02d2\3\2\2\2\u0095\u02d4\3\2\2\2\u0097\u02df\3\2\2\2\u0099\u02f0\3\2"+
"\2\2\u009b\u02f4\3\2\2\2\u009d\u02f9\3\2\2\2\u009f\u0300\3\2\2\2\u00a1"+
"\u0311\3\2\2\2\u00a3\u031f\3\2\2\2\u00a5\u0330\3\2\2\2\u00a7\u033f\3\2"+
"\2\2\u00a9\u0342\3\2\2\2\u00ab\u034b\3\2\2\2\u00ad\u0352\3\2\2\2\u00af"+
"\u0354\3\2\2\2\u00b1\u0356\3\2\2\2\u00b3\u0358\3\2\2\2\u00b5\u035f\3\2"+
"\2\2\u00b7\u0361\3\2\2\2\u00b9\u0363\3\2\2\2\u00bb\u0370\3\2\2\2\u00bd"+
"\u0376\3\2\2\2\u00bf\u0381\3\2\2\2\u00c1\u00c2\7k\2\2\u00c2\u00c3\7o\2"+
"\2\u00c3\u00c4\7r\2\2\u00c4\u00c5\7q\2\2\u00c5\u00c6\7t\2\2\u00c6\u00c7"+
"\7v\2\2\u00c7\4\3\2\2\2\u00c8\u00c9\7?\2\2\u00c9\6\3\2\2\2\u00ca\u00cb"+
"\7=\2\2\u00cb\b\3\2\2\2\u00cc\u00cd\7*\2\2\u00cd\n\3\2\2\2\u00ce\u00cf"+
"\7+\2\2\u00cf\f\3\2\2\2\u00d0\u00d1\7}\2\2\u00d1\16\3\2\2\2\u00d2\u00d3"+
"\7\177\2\2\u00d3\20\3\2\2\2\u00d4\u00d5\7m\2\2\u00d5\u00d6\7k\2\2\u00d6"+
"\u00d7\7e\2\2\u00d7\u00d8\7m\2\2\u00d8\u00d9\7c\2\2\u00d9\u00da\7u\2\2"+
"\u00da\u00db\7o\2\2\u00db\22\3\2\2\2\u00dc\u00dd\7.\2\2\u00dd\24\3\2\2"+
"\2\u00de\u00df\7t\2\2\u00df\u00e0\7g\2\2\u00e0\u00e1\7u\2\2\u00e1\u00e2"+
"\7q\2\2\u00e2\u00e3\7w\2\2\u00e3\u00e4\7t\2\2\u00e4\u00e5\7e\2\2\u00e5"+
"\u00e6\7g\2\2\u00e6\26\3\2\2\2\u00e7\u00e8\7w\2\2\u00e8\u00e9\7u\2\2\u00e9"+
"\u00ea\7g\2\2\u00ea\u00eb\7u\2\2\u00eb\30\3\2\2\2\u00ec\u00ed\7e\2\2\u00ed"+
"\u00ee\7n\2\2\u00ee\u00ef\7q\2\2\u00ef\u00f0\7d\2\2\u00f0\u00f1\7d\2\2"+
"\u00f1\u00f2\7g\2\2\u00f2\u00f3\7t\2\2\u00f3\u00f4\7u\2\2\u00f4\32\3\2"+
"\2\2\u00f5\u00f6\7r\2\2\u00f6\u00f7\7c\2\2\u00f7\u00f8\7t\2\2\u00f8\u00f9"+
"\7c\2\2\u00f9\u00fa\7o\2\2\u00fa\34\3\2\2\2\u00fb\u00fc\7<\2\2\u00fc\36"+
"\3\2\2\2\u00fd\u00fe\7d\2\2\u00fe\u00ff\7{\2\2\u00ff\u0100\7v\2\2\u0100"+
"\u0101\7g\2\2\u0101\u0102\7u\2\2\u0102 \3\2\2\2\u0103\u0104\7e\2\2\u0104"+
"\u0105\7{\2\2\u0105\u0106\7e\2\2\u0106\u0107\7n\2\2\u0107\u0108\7g\2\2"+
"\u0108\u0109\7u\2\2\u0109\"\3\2\2\2\u010a\u010b\7r\2\2\u010b\u010c\7e"+
"\2\2\u010c$\3\2\2\2\u010d\u010e\7k\2\2\u010e\u010f\7p\2\2\u010f\u0110"+
"\7n\2\2\u0110\u0111\7k\2\2\u0111\u0112\7p\2\2\u0112\u0113\7g\2\2\u0113"+
"&\3\2\2\2\u0114\u0115\7e\2\2\u0115\u0116\7q\2\2\u0116\u0117\7p\2\2\u0117"+
"\u0118\7u\2\2\u0118\u0119\7v\2\2\u0119(\3\2\2\2\u011a\u011b\7g\2\2\u011b"+
"\u011c\7z\2\2\u011c\u011d\7v\2\2\u011d\u011e\7g\2\2\u011e\u011f\7t\2\2"+
"\u011f\u0120\7p\2\2\u0120*\3\2\2\2\u0121\u0122\7c\2\2\u0122\u0123\7n\2"+
"\2\u0123\u0124\7k\2\2\u0124\u0125\7i\2\2\u0125\u0126\7p\2\2\u0126,\3\2"+
"\2\2\u0127\u0128\7t\2\2\u0128\u0129\7g\2\2\u0129\u012a\7i\2\2\u012a\u012b"+
"\7k\2\2\u012b\u012c\7u\2\2\u012c\u012d\7v\2\2\u012d\u012e\7g\2\2\u012e"+
"\u012f\7t\2\2\u012f.\3\2\2\2\u0130\u0131\7x\2\2\u0131\u0132\7q\2\2\u0132"+
"\u0133\7n\2\2\u0133\u0134\7c\2\2\u0134\u0135\7v\2\2\u0135\u0136\7k\2\2"+
"\u0136\u0137\7n\2\2\u0137\u0138\7g\2\2\u0138\60\3\2\2\2\u0139\u013a\7"+
"k\2\2\u013a\u013b\7p\2\2\u013b\u013c\7v\2\2\u013c\u013d\7g\2\2\u013d\u013e"+
"\7t\2\2\u013e\u013f\7t\2\2\u013f\u0140\7w\2\2\u0140\u0141\7r\2\2\u0141"+
"\u0142\7v\2\2\u0142\62\3\2\2\2\u0143\u0144\7k\2\2\u0144\u0145\7h\2\2\u0145"+
"\64\3\2\2\2\u0146\u0147\7g\2\2\u0147\u0148\7n\2\2\u0148\u0149\7u\2\2\u0149"+
"\u014a\7g\2\2\u014a\66\3\2\2\2\u014b\u014c\7y\2\2\u014c\u014d\7j\2\2\u014d"+
"\u014e\7k\2\2\u014e\u014f\7n\2\2\u014f\u0150\7g\2\2\u01508\3\2\2\2\u0151"+
"\u0152\7f\2\2\u0152\u0153\7q\2\2\u0153:\3\2\2\2\u0154\u0155\7h\2\2\u0155"+
"\u0156\7q\2\2\u0156\u0157\7t\2\2\u0157<\3\2\2\2\u0158\u0159\7t\2\2\u0159"+
"\u015a\7g\2\2\u015a\u015b\7v\2\2\u015b\u015c\7w\2\2\u015c\u015d\7t\2\2"+
"\u015d\u015e\7p\2\2\u015e>\3\2\2\2\u015f\u0160\7c\2\2\u0160\u0161\7u\2"+
"\2\u0161\u0162\7o\2\2\u0162@\3\2\2\2\u0163\u0164\7\60\2\2\u0164\u0165"+
"\7\60\2\2\u0165B\3\2\2\2\u0166\u0167\7u\2\2\u0167\u0168\7k\2\2\u0168\u0169"+
"\7i\2\2\u0169\u016a\7p\2\2\u016a\u016b\7g\2\2\u016b\u016c\7f\2\2\u016c"+
"D\3\2\2\2\u016d\u016e\7,\2\2\u016eF\3\2\2\2\u016f\u0170\7]\2\2\u0170H"+
"\3\2\2\2\u0171\u0172\7_\2\2\u0172J\3\2\2\2\u0173\u0174\7/\2\2\u0174\u0175"+
"\7/\2\2\u0175L\3\2\2\2\u0176\u0177\7-\2\2\u0177\u0178\7-\2\2\u0178N\3"+
"\2\2\2\u0179\u017a\7-\2\2\u017aP\3\2\2\2\u017b\u017c\7/\2\2\u017cR\3\2"+
"\2\2\u017d\u017e\7#\2\2\u017eT\3\2\2\2\u017f\u0180\7(\2\2\u0180V\3\2\2"+
"\2\u0181\u0182\7\u0080\2\2\u0182X\3\2\2\2\u0183\u0184\7@\2\2\u0184\u0185"+
"\7@\2\2\u0185Z\3\2\2\2\u0186\u0187\7>\2\2\u0187\u0188\7>\2\2\u0188\\\3"+
"\2\2\2\u0189\u018a\7\61\2\2\u018a^\3\2\2\2\u018b\u018c\7\'\2\2\u018c`"+
"\3\2\2\2\u018d\u018e\7>\2\2\u018eb\3\2\2\2\u018f\u0190\7@\2\2\u0190d\3"+
"\2\2\2\u0191\u0192\7?\2\2\u0192\u0193\7?\2\2\u0193f\3\2\2\2\u0194\u0195"+
"\7#\2\2\u0195\u0196\7?\2\2\u0196h\3\2\2\2\u0197\u0198\7>\2\2\u0198\u0199"+
"\7?\2\2\u0199j\3\2\2\2\u019a\u019b\7@\2\2\u019b\u019c\7?\2\2\u019cl\3"+
"\2\2\2\u019d\u019e\7`\2\2\u019en\3\2\2\2\u019f\u01a0\7~\2\2\u01a0p\3\2"+
"\2\2\u01a1\u01a2\7(\2\2\u01a2\u01a3\7(\2\2\u01a3r\3\2\2\2\u01a4\u01a5"+
"\7~\2\2\u01a5\u01a6\7~\2\2\u01a6t\3\2\2\2\u01a7\u01a8\7-\2\2\u01a8\u01a9"+
"\7?\2\2\u01a9v\3\2\2\2\u01aa\u01ab\7/\2\2\u01ab\u01ac\7?\2\2\u01acx\3"+
"\2\2\2\u01ad\u01ae\7,\2\2\u01ae\u01af\7?\2\2\u01afz\3\2\2\2\u01b0\u01b1"+
"\7\61\2\2\u01b1\u01b2\7?\2\2\u01b2|\3\2\2\2\u01b3\u01b4\7\'\2\2\u01b4"+
"\u01b5\7?\2\2\u01b5~\3\2\2\2\u01b6\u01b7\7>\2\2\u01b7\u01b8\7>\2\2\u01b8"+
"\u01b9\7?\2\2\u01b9\u0080\3\2\2\2\u01ba\u01bb\7@\2\2\u01bb\u01bc\7@\2"+
"\2\u01bc\u01bd\7?\2\2\u01bd\u0082\3\2\2\2\u01be\u01bf\7(\2\2\u01bf\u01c0"+
"\7?\2\2\u01c0\u0084\3\2\2\2\u01c1\u01c2\7~\2\2\u01c2\u01c3\7?\2\2\u01c3"+
"\u0086\3\2\2\2\u01c4\u01c5\7`\2\2\u01c5\u01c6\7?\2\2\u01c6\u0088\3\2\2"+
"\2\u01c7\u01c8\7\60\2\2\u01c8\u01c9\7d\2\2\u01c9\u01ca\7{\2\2\u01ca\u01cb"+
"\7v\2\2\u01cb\u01cc\7g\2\2\u01cc\u008a\3\2\2\2\u01cd\u01ce\7%\2\2\u01ce"+
"\u008c\3\2\2\2\u01cf\u01d0\7\60\2\2\u01d0\u008e\3\2\2\2\u01d1\u01d2\7"+
"d\2\2\u01d2\u01d3\7t\2\2\u01d3\u02b0\7m\2\2\u01d4\u01d5\7q\2\2\u01d5\u01d6"+
"\7t\2\2\u01d6\u02b0\7c\2\2\u01d7\u01d8\7m\2\2\u01d8\u01d9\7k\2\2\u01d9"+
"\u02b0\7n\2\2\u01da\u01db\7u\2\2\u01db\u01dc\7n\2\2\u01dc\u02b0\7q\2\2"+
"\u01dd\u01de\7p\2\2\u01de\u01df\7q\2\2\u01df\u02b0\7r\2\2\u01e0\u01e1"+
"\7c\2\2\u01e1\u01e2\7u\2\2\u01e2\u02b0\7n\2\2\u01e3\u01e4\7r\2\2\u01e4"+
"\u01e5\7j\2\2\u01e5\u02b0\7r\2\2\u01e6\u01e7\7c\2\2\u01e7\u01e8\7p\2\2"+
"\u01e8\u02b0\7e\2\2\u01e9\u01ea\7d\2\2\u01ea\u01eb\7r\2\2\u01eb\u02b0"+
"\7n\2\2\u01ec\u01ed\7e\2\2\u01ed\u01ee\7n\2\2\u01ee\u02b0\7e\2\2\u01ef"+
"\u01f0\7l\2\2\u01f0\u01f1\7u\2\2\u01f1\u02b0\7t\2\2\u01f2\u01f3\7c\2\2"+
"\u01f3\u01f4\7p\2\2\u01f4\u02b0\7f\2\2\u01f5\u01f6\7t\2\2\u01f6\u01f7"+
"\7n\2\2\u01f7\u02b0\7c\2\2\u01f8\u01f9\7d\2\2\u01f9\u01fa\7k\2\2\u01fa"+
"\u02b0\7v\2\2\u01fb\u01fc\7t\2\2\u01fc\u01fd\7q\2\2\u01fd\u02b0\7n\2\2"+
"\u01fe\u01ff\7r\2\2\u01ff\u0200\7n\2\2\u0200\u02b0\7c\2\2\u0201\u0202"+
"\7r\2\2\u0202\u0203\7n\2\2\u0203\u02b0\7r\2\2\u0204\u0205\7d\2\2\u0205"+
"\u0206\7o\2\2\u0206\u02b0\7k\2\2\u0207\u0208\7u\2\2\u0208\u0209\7g\2\2"+
"\u0209\u02b0\7e\2\2\u020a\u020b\7t\2\2\u020b\u020c\7v\2\2\u020c\u02b0"+
"\7k\2\2\u020d\u020e\7g\2\2\u020e\u020f\7q\2\2\u020f\u02b0\7t\2\2\u0210"+
"\u0211\7u\2\2\u0211\u0212\7t\2\2\u0212\u02b0\7g\2\2\u0213\u0214\7n\2\2"+
"\u0214\u0215\7u\2\2\u0215\u02b0\7t\2\2\u0216\u0217\7r\2\2\u0217\u0218"+
"\7j\2\2\u0218\u02b0\7c\2\2\u0219\u021a\7c\2\2\u021a\u021b\7n\2\2\u021b"+
"\u02b0\7t\2\2\u021c\u021d\7l\2\2\u021d\u021e\7o\2\2\u021e\u02b0\7r\2\2"+
"\u021f\u0220\7d\2\2\u0220\u0221\7x\2\2\u0221\u02b0\7e\2\2\u0222\u0223"+
"\7e\2\2\u0223\u0224\7n\2\2\u0224\u02b0\7k\2\2\u0225\u0226\7t\2\2\u0226"+
"\u0227\7v\2\2\u0227\u02b0\7u\2\2\u0228\u0229\7c\2\2\u0229\u022a\7f\2\2"+
"\u022a\u02b0\7e\2\2\u022b\u022c\7t\2\2\u022c\u022d\7t\2\2\u022d\u02b0"+
"\7c\2\2\u022e\u022f\7d\2\2\u022f\u0230\7x\2\2\u0230\u02b0\7u\2\2\u0231"+
"\u0232\7u\2\2\u0232\u0233\7g\2\2\u0233\u02b0\7k\2\2\u0234\u0235\7u\2\2"+
"\u0235\u0236\7c\2\2\u0236\u02b0\7z\2\2\u0237\u0238\7u\2\2\u0238\u0239"+
"\7v\2\2\u0239\u02b0\7{\2\2\u023a\u023b\7u\2\2\u023b\u023c\7v\2\2\u023c"+
"\u02b0\7c\2\2\u023d\u023e\7u\2\2\u023e\u023f\7v\2\2\u023f\u02b0\7z\2\2"+
"\u0240\u0241\7f\2\2\u0241\u0242\7g\2\2\u0242\u02b0\7{\2\2\u0243\u0244"+
"\7v\2\2\u0244\u0245\7z\2\2\u0245\u02b0\7c\2\2\u0246\u0247\7z\2\2\u0247"+
"\u0248\7c\2\2\u0248\u02b0\7c\2\2\u0249\u024a\7d\2\2\u024a\u024b\7e\2\2"+
"\u024b\u02b0\7e\2\2\u024c\u024d\7c\2\2\u024d\u024e\7j\2\2\u024e\u02b0"+
"\7z\2\2\u024f\u0250\7v\2\2\u0250\u0251\7{\2\2\u0251\u02b0\7c\2\2\u0252"+
"\u0253\7v\2\2\u0253\u0254\7z\2\2\u0254\u02b0\7u\2\2\u0255\u0256\7v\2\2"+
"\u0256\u0257\7c\2\2\u0257\u02b0\7u\2\2\u0258\u0259\7u\2\2\u0259\u025a"+
"\7j\2\2\u025a\u02b0\7{\2\2\u025b\u025c\7u\2\2\u025c\u025d\7j\2\2\u025d"+
"\u02b0\7z\2\2\u025e\u025f\7n\2\2\u025f\u0260\7f\2\2\u0260\u02b0\7{\2\2"+
"\u0261\u0262\7n\2\2\u0262\u0263\7f\2\2\u0263\u02b0\7c\2\2\u0264\u0265"+
"\7n\2\2\u0265\u0266\7f\2\2\u0266\u02b0\7z\2\2\u0267\u0268\7n\2\2\u0268"+
"\u0269\7c\2\2\u0269\u02b0\7z\2\2\u026a\u026b\7v\2\2\u026b\u026c\7c\2\2"+
"\u026c\u02b0\7{\2\2\u026d\u026e\7v\2\2\u026e\u026f\7c\2\2\u026f\u02b0"+
"\7z\2\2\u0270\u0271\7d\2\2\u0271\u0272\7e\2\2\u0272\u02b0\7u\2\2\u0273"+
"\u0274\7e\2\2\u0274\u0275\7n\2\2\u0275\u02b0\7x\2\2\u0276\u0277\7v\2\2"+
"\u0277\u0278\7u\2\2\u0278\u02b0\7z\2\2\u0279\u027a\7n\2\2\u027a\u027b"+
"\7c\2\2\u027b\u02b0\7u\2\2\u027c\u027d\7e\2\2\u027d\u027e\7r\2\2\u027e"+
"\u02b0\7{\2\2\u027f\u0280\7e\2\2\u0280\u0281\7o\2\2\u0281\u02b0\7r\2\2"+
"\u0282\u0283\7e\2\2\u0283\u0284\7r\2\2\u0284\u02b0\7z\2\2\u0285\u0286"+
"\7f\2\2\u0286\u0287\7e\2\2\u0287\u02b0\7r\2\2\u0288\u0289\7f\2\2\u0289"+
"\u028a\7g\2\2\u028a\u02b0\7e\2\2\u028b\u028c\7k\2\2\u028c\u028d\7p\2\2"+
"\u028d\u02b0\7e\2\2\u028e\u028f\7c\2\2\u028f\u0290\7z\2\2\u0290\u02b0"+
"\7u\2\2\u0291\u0292\7d\2\2\u0292\u0293\7p\2\2\u0293\u02b0\7g\2\2\u0294"+
"\u0295\7e\2\2\u0295\u0296\7n\2\2\u0296\u02b0\7f\2\2\u0297\u0298\7u\2\2"+
"\u0298\u0299\7d\2\2\u0299\u02b0\7e\2\2\u029a\u029b\7k\2\2\u029b\u029c"+
"\7u\2\2\u029c\u02b0\7e\2\2\u029d\u029e\7k\2\2\u029e\u029f\7p\2\2\u029f"+
"\u02b0\7z\2\2\u02a0\u02a1\7d\2\2\u02a1\u02a2\7g\2\2\u02a2\u02b0\7s\2\2"+
"\u02a3\u02a4\7u\2\2\u02a4\u02a5\7g\2\2\u02a5\u02b0\7f\2\2\u02a6\u02a7"+
"\7f\2\2\u02a7\u02a8\7g\2\2\u02a8\u02b0\7z\2\2\u02a9\u02aa\7k\2\2\u02aa"+
"\u02ab\7p\2\2\u02ab\u02b0\7{\2\2\u02ac\u02ad\7t\2\2\u02ad\u02ae\7q\2\2"+
"\u02ae\u02b0\7t\2\2\u02af\u01d1\3\2\2\2\u02af\u01d4\3\2\2\2\u02af\u01d7"+
"\3\2\2\2\u02af\u01da\3\2\2\2\u02af\u01dd\3\2\2\2\u02af\u01e0\3\2\2\2\u02af"+
"\u01e3\3\2\2\2\u02af\u01e6\3\2\2\2\u02af\u01e9\3\2\2\2\u02af\u01ec\3\2"+
"\2\2\u02af\u01ef\3\2\2\2\u02af\u01f2\3\2\2\2\u02af\u01f5\3\2\2\2\u02af"+
"\u01f8\3\2\2\2\u02af\u01fb\3\2\2\2\u02af\u01fe\3\2\2\2\u02af\u0201\3\2"+
"\2\2\u02af\u0204\3\2\2\2\u02af\u0207\3\2\2\2\u02af\u020a\3\2\2\2\u02af"+
"\u020d\3\2\2\2\u02af\u0210\3\2\2\2\u02af\u0213\3\2\2\2\u02af\u0216\3\2"+
"\2\2\u02af\u0219\3\2\2\2\u02af\u021c\3\2\2\2\u02af\u021f\3\2\2\2\u02af"+
"\u0222\3\2\2\2\u02af\u0225\3\2\2\2\u02af\u0228\3\2\2\2\u02af\u022b\3\2"+
"\2\2\u02af\u022e\3\2\2\2\u02af\u0231\3\2\2\2\u02af\u0234\3\2\2\2\u02af"+
"\u0237\3\2\2\2\u02af\u023a\3\2\2\2\u02af\u023d\3\2\2\2\u02af\u0240\3\2"+
"\2\2\u02af\u0243\3\2\2\2\u02af\u0246\3\2\2\2\u02af\u0249\3\2\2\2\u02af"+
"\u024c\3\2\2\2\u02af\u024f\3\2\2\2\u02af\u0252\3\2\2\2\u02af\u0255\3\2"+
"\2\2\u02af\u0258\3\2\2\2\u02af\u025b\3\2\2\2\u02af\u025e\3\2\2\2\u02af"+
"\u0261\3\2\2\2\u02af\u0264\3\2\2\2\u02af\u0267\3\2\2\2\u02af\u026a\3\2"+
"\2\2\u02af\u026d\3\2\2\2\u02af\u0270\3\2\2\2\u02af\u0273\3\2\2\2\u02af"+
"\u0276\3\2\2\2\u02af\u0279\3\2\2\2\u02af\u027c\3\2\2\2\u02af\u027f\3\2"+
"\2\2\u02af\u0282\3\2\2\2\u02af\u0285\3\2\2\2\u02af\u0288\3\2\2\2\u02af"+
"\u028b\3\2\2\2\u02af\u028e\3\2\2\2\u02af\u0291\3\2\2\2\u02af\u0294\3\2"+
"\2\2\u02af\u0297\3\2\2\2\u02af\u029a\3\2\2\2\u02af\u029d\3\2\2\2\u02af"+
"\u02a0\3\2\2\2\u02af\u02a3\3\2\2\2\u02af\u02a6\3\2\2\2\u02af\u02a9\3\2"+
"\2\2\u02af\u02ac\3\2\2\2\u02b0\u0090\3\2\2\2\u02b1\u02b2\7}\2\2\u02b2"+
"\u02b3\7}\2\2\u02b3\u02b7\3\2\2\2\u02b4\u02b6\13\2\2\2\u02b5\u02b4\3\2"+
"\2\2\u02b6\u02b9\3\2\2\2\u02b7\u02b8\3\2\2\2\u02b7\u02b5\3\2\2\2\u02b8"+
"\u02ba\3\2\2\2\u02b9\u02b7\3\2\2\2\u02ba\u02bb\7\177\2\2\u02bb\u02bc\7"+
"\177\2\2\u02bc\u0092\3\2\2\2\u02bd\u02be\7d\2\2\u02be\u02bf\7{\2\2\u02bf"+
"\u02c0\7v\2\2\u02c0\u02d3\7g\2\2\u02c1\u02c2\7y\2\2\u02c2\u02c3\7q\2\2"+
"\u02c3\u02c4\7t\2\2\u02c4\u02d3\7f\2\2\u02c5\u02c6\7f\2\2\u02c6\u02c7"+
"\7y\2\2\u02c7\u02c8\7q\2\2\u02c8\u02c9\7t\2\2\u02c9\u02d3\7f\2\2\u02ca"+
"\u02cb\7d\2\2\u02cb\u02cc\7q\2\2\u02cc\u02cd\7q\2\2\u02cd\u02d3\7n\2\2"+
"\u02ce\u02cf\7x\2\2\u02cf\u02d0\7q\2\2\u02d0\u02d1\7k\2\2\u02d1\u02d3"+
"\7f\2\2\u02d2\u02bd\3\2\2\2\u02d2\u02c1\3\2\2\2\u02d2\u02c5\3\2\2\2\u02d2"+
"\u02ca\3\2\2\2\u02d2\u02ce\3\2\2\2\u02d3\u0094\3\2\2\2\u02d4\u02da\7$"+
"\2\2\u02d5\u02d6\7^\2\2\u02d6\u02d9\7$\2\2\u02d7\u02d9\n\2\2\2\u02d8\u02d5"+
"\3\2\2\2\u02d8\u02d7\3\2\2\2\u02d9\u02dc\3\2\2\2\u02da\u02d8\3\2\2\2\u02da"+
"\u02db\3\2\2\2\u02db\u02dd\3\2\2\2\u02dc\u02da\3\2\2\2\u02dd\u02de\7$"+
"\2\2\u02de\u0096\3\2\2\2\u02df\u02e3\7)\2\2\u02e0\u02e1\7^\2\2\u02e1\u02e4"+
"\7)\2\2\u02e2\u02e4\n\3\2\2\u02e3\u02e0\3\2\2\2\u02e3\u02e2\3\2\2\2\u02e4"+
"\u02e5\3\2\2\2\u02e5\u02e6\7)\2\2\u02e6\u0098\3\2\2\2\u02e7\u02e8\7v\2"+
"\2\u02e8\u02e9\7t\2\2\u02e9\u02ea\7w\2\2\u02ea\u02f1\7g\2\2\u02eb\u02ec"+
"\7h\2\2\u02ec\u02ed\7c\2\2\u02ed\u02ee\7n\2\2\u02ee\u02ef\7u\2\2\u02ef"+
"\u02f1\7g\2\2\u02f0\u02e7\3\2\2\2\u02f0\u02eb\3\2\2\2\u02f1\u009a\3\2"+
"\2\2\u02f2\u02f5\5\u009dO\2\u02f3\u02f5\5\u00a5S\2\u02f4\u02f2\3\2\2\2"+
"\u02f4\u02f3\3\2\2\2\u02f5\u009c\3\2\2\2\u02f6\u02fa\5\u009fP\2\u02f7"+
"\u02fa\5\u00a1Q\2\u02f8\u02fa\5\u00a3R\2\u02f9\u02f6\3\2\2\2\u02f9\u02f7"+
"\3\2\2\2\u02f9\u02f8\3\2\2\2\u02fa\u009e\3\2\2\2\u02fb\u0301\7\'\2\2\u02fc"+
"\u02fd\7\62\2\2\u02fd\u0301\7d\2\2\u02fe\u02ff\7\62\2\2\u02ff\u0301\7"+
"D\2\2\u0300\u02fb\3\2\2\2\u0300\u02fc\3\2\2\2\u0300\u02fe\3\2\2\2\u0301"+
"\u0305\3\2\2\2\u0302\u0304\5\u00adW\2\u0303\u0302\3\2\2\2\u0304\u0307"+
"\3\2\2\2\u0305\u0303\3\2\2\2\u0305\u0306\3\2\2\2\u0306\u0308\3\2\2\2\u0307"+
"\u0305\3\2\2\2\u0308\u030a\7\60\2\2\u0309\u030b\5\u00adW\2\u030a\u0309"+
"\3\2\2\2\u030b\u030c\3\2\2\2\u030c\u030a\3\2\2\2\u030c\u030d\3\2\2\2\u030d"+
"\u00a0\3\2\2\2\u030e\u0310\5\u00afX\2\u030f\u030e\3\2\2\2\u0310\u0313"+
"\3\2\2\2\u0311\u030f\3\2\2\2\u0311\u0312\3\2\2\2\u0312\u0314\3\2\2\2\u0313"+
"\u0311\3\2\2\2\u0314\u0316\7\60\2\2\u0315\u0317\5\u00afX\2\u0316\u0315"+
"\3\2\2\2\u0317\u0318\3\2\2\2\u0318\u0316\3\2\2\2\u0318\u0319\3\2\2\2\u0319"+
"\u00a2\3\2\2\2\u031a\u0320\7&\2\2\u031b\u031c\7\62\2\2\u031c\u0320\7z"+
"\2\2\u031d\u031e\7\62\2\2\u031e\u0320\7Z\2\2\u031f\u031a\3\2\2\2\u031f"+
"\u031b\3\2\2\2\u031f\u031d\3\2\2\2\u0320\u0324\3\2\2\2\u0321\u0323\5\u00b1"+
"Y\2\u0322\u0321\3\2\2\2\u0323\u0326\3\2\2\2\u0324\u0322\3\2\2\2\u0324"+
"\u0325\3\2\2\2\u0325\u0327\3\2\2\2\u0326\u0324\3\2\2\2\u0327\u0329\7\60"+
"\2\2\u0328\u032a\5\u00b1Y\2\u0329\u0328\3\2\2\2\u032a\u032b\3\2\2\2\u032b"+
"\u0329\3\2\2\2\u032b\u032c\3\2\2\2\u032c\u00a4\3\2\2\2\u032d\u0331\5\u00a9"+
"U\2\u032e\u0331\5\u00abV\2\u032f\u0331\5\u00a7T\2\u0330\u032d\3\2\2\2"+
"\u0330\u032e\3\2\2\2\u0330\u032f\3\2\2\2\u0331\u00a6\3\2\2\2\u0332\u0333"+
"\7\62\2\2\u0333\u0335\t\4\2\2\u0334\u0336\5\u00adW\2\u0335\u0334\3\2\2"+
"\2\u0336\u0337\3\2\2\2\u0337\u0335\3\2\2\2\u0337\u0338\3\2\2\2\u0338\u0340"+
"\3\2\2\2\u0339\u033b\7\'\2\2\u033a\u033c\5\u00adW\2\u033b\u033a\3\2\2"+
"\2\u033c\u033d\3\2\2\2\u033d\u033b\3\2\2\2\u033d\u033e\3\2\2\2\u033e\u0340"+
"\3\2\2\2\u033f\u0332\3\2\2\2\u033f\u0339\3\2\2\2\u0340\u00a8\3\2\2\2\u0341"+
"\u0343\5\u00afX\2\u0342\u0341\3\2\2\2\u0343\u0344\3\2\2\2\u0344\u0342"+
"\3\2\2\2\u0344\u0345\3\2\2\2\u0345\u00aa\3\2\2\2\u0346\u034c\7&\2\2\u0347"+
"\u0348\7\62\2\2\u0348\u034c\7z\2\2\u0349\u034a\7\62\2\2\u034a\u034c\7"+
"Z\2\2\u034b\u0346\3\2\2\2\u034b\u0347\3\2\2\2\u034b\u0349\3\2\2\2\u034c"+
"\u034e\3\2\2\2\u034d\u034f\5\u00b1Y\2\u034e\u034d\3\2\2\2\u034f\u0350"+
"\3\2\2\2\u0350\u034e\3\2\2\2\u0350\u0351\3\2\2\2\u0351\u00ac\3\2\2\2\u0352"+
"\u0353\t\5\2\2\u0353\u00ae\3\2\2\2\u0354\u0355\t\6\2\2\u0355\u00b0\3\2"+
"\2\2\u0356\u0357\t\7\2\2\u0357\u00b2\3\2\2\2\u0358\u035c\5\u00b5[\2\u0359"+
"\u035b\5\u00b7\\\2\u035a\u0359\3\2\2\2\u035b\u035e\3\2\2\2\u035c\u035a"+
"\3\2\2\2\u035c\u035d\3\2\2\2\u035d\u00b4\3\2\2\2\u035e\u035c\3\2\2\2\u035f"+
"\u0360\t\b\2\2\u0360\u00b6\3\2\2\2\u0361\u0362\t\t\2\2\u0362\u00b8\3\2"+
"\2\2\u0363\u0367\7#\2\2\u0364\u0366\5\u00b7\\\2\u0365\u0364\3\2\2\2\u0366"+
"\u0369\3\2\2\2\u0367\u0365\3\2\2\2\u0367\u0368\3\2\2\2\u0368\u036b\3\2"+
"\2\2\u0369\u0367\3\2\2\2\u036a\u036c\t\n\2\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\u00ba\3\2"+
"\2\2\u036f\u0371\t\13\2\2\u0370\u036f\3\2\2\2\u0371\u0372\3\2\2\2\u0372"+
"\u0370\3\2\2\2\u0372\u0373\3\2\2\2\u0373\u0374\3\2\2\2\u0374\u0375\b^"+
"\2\2\u0375\u00bc\3\2\2\2\u0376\u0377\7\61\2\2\u0377\u0378\7\61\2\2\u0378"+
"\u037c\3\2\2\2\u0379\u037b\n\f\2\2\u037a\u0379\3\2\2\2\u037b\u037e\3\2"+
"\2\2\u037c\u037a\3\2\2\2\u037c\u037d\3\2\2\2\u037d\u037f\3\2\2\2\u037e"+
"\u037c\3\2\2\2\u037f\u0380\b_\3\2\u0380\u00be\3\2\2\2\u0381\u0382\7\61"+
"\2\2\u0382\u0383\7,\2\2\u0383\u0387\3\2\2\2\u0384\u0386\13\2\2\2\u0385"+
"\u0384\3\2\2\2\u0386\u0389\3\2\2\2\u0387\u0388\3\2\2\2\u0387\u0385\3\2"+
"\2\2\u0388\u038a\3\2\2\2\u0389\u0387\3\2\2\2\u038a\u038b\7,\2\2\u038b"+
"\u038c\7\61\2\2\u038c\u038d\3\2\2\2\u038d\u038e\b`\3\2\u038e\u00c0\3\2"+
"\2\2!\2\u02af\u02b7\u02d2\u02d8\u02da\u02e3\u02f0\u02f4\u02f9\u0300\u0305"+
"\u030c\u0311\u0318\u031f\u0324\u032b\u0330\u0337\u033d\u033f\u0344\u034b"+
"\u0350\u035c\u0367\u036d\u0372\u037c\u0387\4\2\3\2\2\4\2";
"\4U\tU\4V\tV\4W\tW\4X\tX\4Y\tY\4Z\tZ\4[\t[\4\\\t\\\4]\t]\4^\t^\4_\t_\3"+
"\2\3\2\3\2\3\2\3\2\3\2\3\2\3\3\3\3\3\4\3\4\3\5\3\5\3\6\3\6\3\7\3\7\3\b"+
"\3\b\3\t\3\t\3\n\3\n\3\n\3\n\3\n\3\n\3\13\3\13\3\13\3\13\3\13\3\13\3\13"+
"\3\f\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\16\3\16"+
"\3\16\3\16\3\16\3\16\3\16\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17"+
"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\21\3\21\3\21\3\22"+
"\3\22\3\22\3\22\3\22\3\23\3\23\3\23\3\23\3\23\3\23\3\24\3\24\3\24\3\25"+
"\3\25\3\25\3\25\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\27\3\27\3\27\3\27"+
"\3\30\3\30\3\31\3\31\3\31\3\32\3\32\3\32\3\32\3\32\3\32\3\32\3\33\3\33"+
"\3\34\3\34\3\35\3\35\3\36\3\36\3\36\3\37\3\37\3\37\3 \3 \3!\3!\3\"\3\""+
"\3#\3#\3$\3$\3%\3%\3%\3&\3&\3&\3\'\3\'\3(\3(\3)\3)\3*\3*\3+\3+\3+\3,\3"+
",\3,\3-\3-\3-\3.\3.\3.\3/\3/\3\60\3\60\3\61\3\61\3\61\3\62\3\62\3\62\3"+
"\63\3\63\3\63\3\64\3\64\3\64\3\65\3\65\3\65\3\66\3\66\3\66\3\67\3\67\3"+
"\67\38\38\38\38\39\39\39\39\3:\3:\3:\3;\3;\3;\3<\3<\3<\3=\3=\3=\3=\3="+
"\3=\3=\3=\3>\3>\3>\3>\3>\3>\3>\3>\3>\3?\3?\3?\3?\3?\3@\3@\3@\3@\3@\3@"+
"\3@\3@\3@\3A\3A\3A\3A\3A\3A\3B\3B\3B\3B\3B\3B\3B\3C\3C\3C\3D\3D\3D\3D"+
"\3D\3D\3E\3E\3F\3F\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+
"\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+
"\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+
"\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+
"\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+
"\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+
"\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+
"\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+
"\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G"+
"\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\5G\u02a8"+
"\nG\3H\3H\3H\3H\7H\u02ae\nH\fH\16H\u02b1\13H\3H\3H\3H\3I\3I\3I\3I\3I\3"+
"I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\5I\u02cb\nI\3J\3J\3J\3"+
"J\7J\u02d1\nJ\fJ\16J\u02d4\13J\3J\3J\3K\3K\3K\3K\5K\u02dc\nK\3K\3K\3L"+
"\3L\3L\3L\3L\3L\3L\3L\3L\5L\u02e9\nL\3M\3M\5M\u02ed\nM\3N\3N\3N\5N\u02f2"+
"\nN\3O\3O\3O\3O\3O\5O\u02f9\nO\3O\7O\u02fc\nO\fO\16O\u02ff\13O\3O\3O\6"+
"O\u0303\nO\rO\16O\u0304\3P\7P\u0308\nP\fP\16P\u030b\13P\3P\3P\6P\u030f"+
"\nP\rP\16P\u0310\3Q\3Q\3Q\3Q\3Q\5Q\u0318\nQ\3Q\7Q\u031b\nQ\fQ\16Q\u031e"+
"\13Q\3Q\3Q\6Q\u0322\nQ\rQ\16Q\u0323\3R\3R\3R\5R\u0329\nR\3S\3S\3S\6S\u032e"+
"\nS\rS\16S\u032f\3S\3S\6S\u0334\nS\rS\16S\u0335\5S\u0338\nS\3T\6T\u033b"+
"\nT\rT\16T\u033c\3U\3U\3U\3U\3U\5U\u0344\nU\3U\6U\u0347\nU\rU\16U\u0348"+
"\3V\3V\3W\3W\3X\3X\3Y\3Y\7Y\u0353\nY\fY\16Y\u0356\13Y\3Z\3Z\3[\3[\3\\"+
"\3\\\7\\\u035e\n\\\f\\\16\\\u0361\13\\\3\\\6\\\u0364\n\\\r\\\16\\\u0365"+
"\3]\6]\u0369\n]\r]\16]\u036a\3]\3]\3^\3^\3^\3^\7^\u0373\n^\f^\16^\u0376"+
"\13^\3^\3^\3_\3_\3_\3_\7_\u037e\n_\f_\16_\u0381\13_\3_\3_\3_\3_\3_\4\u02af"+
"\u037f\2`\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16\33"+
"\17\35\20\37\21!\22#\23%\24\'\25)\26+\27-\30/\31\61\32\63\33\65\34\67"+
"\359\36;\37= ?!A\"C#E$G%I&K\'M(O)Q*S+U,W-Y.[/]\60_\61a\62c\63e\64g\65"+
"i\66k\67m8o9q:s;u<w=y>{?}@\177A\u0081B\u0083C\u0085D\u0087E\u0089F\u008b"+
"G\u008dH\u008fI\u0091J\u0093K\u0095L\u0097M\u0099N\u009bO\u009dP\u009f"+
"Q\u00a1R\u00a3S\u00a5T\u00a7U\u00a9V\u00ab\2\u00ad\2\u00af\2\u00b1W\u00b3"+
"\2\u00b5\2\u00b7X\u00b9Y\u00bbZ\u00bd[\3\2\r\3\2$$\3\2))\4\2DDdd\3\2\62"+
"\63\3\2\62;\5\2\62;CHch\5\2C\\aac|\6\2\62;C\\aac|\4\2--//\6\2\13\f\17"+
"\17\"\"\u00a2\u00a2\4\2\f\f\17\17\2\u03ef\2\3\3\2\2\2\2\5\3\2\2\2\2\7"+
"\3\2\2\2\2\t\3\2\2\2\2\13\3\2\2\2\2\r\3\2\2\2\2\17\3\2\2\2\2\21\3\2\2"+
"\2\2\23\3\2\2\2\2\25\3\2\2\2\2\27\3\2\2\2\2\31\3\2\2\2\2\33\3\2\2\2\2"+
"\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2\2\2\2%\3\2\2\2\2\'\3\2\2\2"+
"\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2/\3\2\2\2\2\61\3\2\2\2\2\63\3\2\2\2"+
"\2\65\3\2\2\2\2\67\3\2\2\2\29\3\2\2\2\2;\3\2\2\2\2=\3\2\2\2\2?\3\2\2\2"+
"\2A\3\2\2\2\2C\3\2\2\2\2E\3\2\2\2\2G\3\2\2\2\2I\3\2\2\2\2K\3\2\2\2\2M"+
"\3\2\2\2\2O\3\2\2\2\2Q\3\2\2\2\2S\3\2\2\2\2U\3\2\2\2\2W\3\2\2\2\2Y\3\2"+
"\2\2\2[\3\2\2\2\2]\3\2\2\2\2_\3\2\2\2\2a\3\2\2\2\2c\3\2\2\2\2e\3\2\2\2"+
"\2g\3\2\2\2\2i\3\2\2\2\2k\3\2\2\2\2m\3\2\2\2\2o\3\2\2\2\2q\3\2\2\2\2s"+
"\3\2\2\2\2u\3\2\2\2\2w\3\2\2\2\2y\3\2\2\2\2{\3\2\2\2\2}\3\2\2\2\2\177"+
"\3\2\2\2\2\u0081\3\2\2\2\2\u0083\3\2\2\2\2\u0085\3\2\2\2\2\u0087\3\2\2"+
"\2\2\u0089\3\2\2\2\2\u008b\3\2\2\2\2\u008d\3\2\2\2\2\u008f\3\2\2\2\2\u0091"+
"\3\2\2\2\2\u0093\3\2\2\2\2\u0095\3\2\2\2\2\u0097\3\2\2\2\2\u0099\3\2\2"+
"\2\2\u009b\3\2\2\2\2\u009d\3\2\2\2\2\u009f\3\2\2\2\2\u00a1\3\2\2\2\2\u00a3"+
"\3\2\2\2\2\u00a5\3\2\2\2\2\u00a7\3\2\2\2\2\u00a9\3\2\2\2\2\u00b1\3\2\2"+
"\2\2\u00b7\3\2\2\2\2\u00b9\3\2\2\2\2\u00bb\3\2\2\2\2\u00bd\3\2\2\2\3\u00bf"+
"\3\2\2\2\5\u00c6\3\2\2\2\7\u00c8\3\2\2\2\t\u00ca\3\2\2\2\13\u00cc\3\2"+
"\2\2\r\u00ce\3\2\2\2\17\u00d0\3\2\2\2\21\u00d2\3\2\2\2\23\u00d4\3\2\2"+
"\2\25\u00da\3\2\2\2\27\u00e1\3\2\2\2\31\u00e7\3\2\2\2\33\u00f0\3\2\2\2"+
"\35\u00f7\3\2\2\2\37\u0100\3\2\2\2!\u010a\3\2\2\2#\u010d\3\2\2\2%\u0112"+
"\3\2\2\2\'\u0118\3\2\2\2)\u011b\3\2\2\2+\u011f\3\2\2\2-\u0126\3\2\2\2"+
"/\u012a\3\2\2\2\61\u012c\3\2\2\2\63\u012f\3\2\2\2\65\u0136\3\2\2\2\67"+
"\u0138\3\2\2\29\u013a\3\2\2\2;\u013c\3\2\2\2=\u013f\3\2\2\2?\u0142\3\2"+
"\2\2A\u0144\3\2\2\2C\u0146\3\2\2\2E\u0148\3\2\2\2G\u014a\3\2\2\2I\u014c"+
"\3\2\2\2K\u014f\3\2\2\2M\u0152\3\2\2\2O\u0154\3\2\2\2Q\u0156\3\2\2\2S"+
"\u0158\3\2\2\2U\u015a\3\2\2\2W\u015d\3\2\2\2Y\u0160\3\2\2\2[\u0163\3\2"+
"\2\2]\u0166\3\2\2\2_\u0168\3\2\2\2a\u016a\3\2\2\2c\u016d\3\2\2\2e\u0170"+
"\3\2\2\2g\u0173\3\2\2\2i\u0176\3\2\2\2k\u0179\3\2\2\2m\u017c\3\2\2\2o"+
"\u017f\3\2\2\2q\u0183\3\2\2\2s\u0187\3\2\2\2u\u018a\3\2\2\2w\u018d\3\2"+
"\2\2y\u0190\3\2\2\2{\u0198\3\2\2\2}\u01a1\3\2\2\2\177\u01a6\3\2\2\2\u0081"+
"\u01af\3\2\2\2\u0083\u01b5\3\2\2\2\u0085\u01bc\3\2\2\2\u0087\u01bf\3\2"+
"\2\2\u0089\u01c5\3\2\2\2\u008b\u01c7\3\2\2\2\u008d\u02a7\3\2\2\2\u008f"+
"\u02a9\3\2\2\2\u0091\u02ca\3\2\2\2\u0093\u02cc\3\2\2\2\u0095\u02d7\3\2"+
"\2\2\u0097\u02e8\3\2\2\2\u0099\u02ec\3\2\2\2\u009b\u02f1\3\2\2\2\u009d"+
"\u02f8\3\2\2\2\u009f\u0309\3\2\2\2\u00a1\u0317\3\2\2\2\u00a3\u0328\3\2"+
"\2\2\u00a5\u0337\3\2\2\2\u00a7\u033a\3\2\2\2\u00a9\u0343\3\2\2\2\u00ab"+
"\u034a\3\2\2\2\u00ad\u034c\3\2\2\2\u00af\u034e\3\2\2\2\u00b1\u0350\3\2"+
"\2\2\u00b3\u0357\3\2\2\2\u00b5\u0359\3\2\2\2\u00b7\u035b\3\2\2\2\u00b9"+
"\u0368\3\2\2\2\u00bb\u036e\3\2\2\2\u00bd\u0379\3\2\2\2\u00bf\u00c0\7k"+
"\2\2\u00c0\u00c1\7o\2\2\u00c1\u00c2\7r\2\2\u00c2\u00c3\7q\2\2\u00c3\u00c4"+
"\7t\2\2\u00c4\u00c5\7v\2\2\u00c5\4\3\2\2\2\u00c6\u00c7\7?\2\2\u00c7\6"+
"\3\2\2\2\u00c8\u00c9\7=\2\2\u00c9\b\3\2\2\2\u00ca\u00cb\7*\2\2\u00cb\n"+
"\3\2\2\2\u00cc\u00cd\7+\2\2\u00cd\f\3\2\2\2\u00ce\u00cf\7}\2\2\u00cf\16"+
"\3\2\2\2\u00d0\u00d1\7\177\2\2\u00d1\20\3\2\2\2\u00d2\u00d3\7.\2\2\u00d3"+
"\22\3\2\2\2\u00d4\u00d5\7e\2\2\u00d5\u00d6\7q\2\2\u00d6\u00d7\7p\2\2\u00d7"+
"\u00d8\7u\2\2\u00d8\u00d9\7v\2\2\u00d9\24\3\2\2\2\u00da\u00db\7g\2\2\u00db"+
"\u00dc\7z\2\2\u00dc\u00dd\7v\2\2\u00dd\u00de\7g\2\2\u00de\u00df\7t\2\2"+
"\u00df\u00e0\7p\2\2\u00e0\26\3\2\2\2\u00e1\u00e2\7c\2\2\u00e2\u00e3\7"+
"n\2\2\u00e3\u00e4\7k\2\2\u00e4\u00e5\7i\2\2\u00e5\u00e6\7p\2\2\u00e6\30"+
"\3\2\2\2\u00e7\u00e8\7t\2\2\u00e8\u00e9\7g\2\2\u00e9\u00ea\7i\2\2\u00ea"+
"\u00eb\7k\2\2\u00eb\u00ec\7u\2\2\u00ec\u00ed\7v\2\2\u00ed\u00ee\7g\2\2"+
"\u00ee\u00ef\7t\2\2\u00ef\32\3\2\2\2\u00f0\u00f1\7k\2\2\u00f1\u00f2\7"+
"p\2\2\u00f2\u00f3\7n\2\2\u00f3\u00f4\7k\2\2\u00f4\u00f5\7p\2\2\u00f5\u00f6"+
"\7g\2\2\u00f6\34\3\2\2\2\u00f7\u00f8\7x\2\2\u00f8\u00f9\7q\2\2\u00f9\u00fa"+
"\7n\2\2\u00fa\u00fb\7c\2\2\u00fb\u00fc\7v\2\2\u00fc\u00fd\7k\2\2\u00fd"+
"\u00fe\7n\2\2\u00fe\u00ff\7g\2\2\u00ff\36\3\2\2\2\u0100\u0101\7k\2\2\u0101"+
"\u0102\7p\2\2\u0102\u0103\7v\2\2\u0103\u0104\7g\2\2\u0104\u0105\7t\2\2"+
"\u0105\u0106\7t\2\2\u0106\u0107\7w\2\2\u0107\u0108\7r\2\2\u0108\u0109"+
"\7v\2\2\u0109 \3\2\2\2\u010a\u010b\7k\2\2\u010b\u010c\7h\2\2\u010c\"\3"+
"\2\2\2\u010d\u010e\7g\2\2\u010e\u010f\7n\2\2\u010f\u0110\7u\2\2\u0110"+
"\u0111\7g\2\2\u0111$\3\2\2\2\u0112\u0113\7y\2\2\u0113\u0114\7j\2\2\u0114"+
"\u0115\7k\2\2\u0115\u0116\7n\2\2\u0116\u0117\7g\2\2\u0117&\3\2\2\2\u0118"+
"\u0119\7f\2\2\u0119\u011a\7q\2\2\u011a(\3\2\2\2\u011b\u011c\7h\2\2\u011c"+
"\u011d\7q\2\2\u011d\u011e\7t\2\2\u011e*\3\2\2\2\u011f\u0120\7t\2\2\u0120"+
"\u0121\7g\2\2\u0121\u0122\7v\2\2\u0122\u0123\7w\2\2\u0123\u0124\7t\2\2"+
"\u0124\u0125\7p\2\2\u0125,\3\2\2\2\u0126\u0127\7c\2\2\u0127\u0128\7u\2"+
"\2\u0128\u0129\7o\2\2\u0129.\3\2\2\2\u012a\u012b\7<\2\2\u012b\60\3\2\2"+
"\2\u012c\u012d\7\60\2\2\u012d\u012e\7\60\2\2\u012e\62\3\2\2\2\u012f\u0130"+
"\7u\2\2\u0130\u0131\7k\2\2\u0131\u0132\7i\2\2\u0132\u0133\7p\2\2\u0133"+
"\u0134\7g\2\2\u0134\u0135\7f\2\2\u0135\64\3\2\2\2\u0136\u0137\7,\2\2\u0137"+
"\66\3\2\2\2\u0138\u0139\7]\2\2\u01398\3\2\2\2\u013a\u013b\7_\2\2\u013b"+
":\3\2\2\2\u013c\u013d\7/\2\2\u013d\u013e\7/\2\2\u013e<\3\2\2\2\u013f\u0140"+
"\7-\2\2\u0140\u0141\7-\2\2\u0141>\3\2\2\2\u0142\u0143\7-\2\2\u0143@\3"+
"\2\2\2\u0144\u0145\7/\2\2\u0145B\3\2\2\2\u0146\u0147\7#\2\2\u0147D\3\2"+
"\2\2\u0148\u0149\7(\2\2\u0149F\3\2\2\2\u014a\u014b\7\u0080\2\2\u014bH"+
"\3\2\2\2\u014c\u014d\7@\2\2\u014d\u014e\7@\2\2\u014eJ\3\2\2\2\u014f\u0150"+
"\7>\2\2\u0150\u0151\7>\2\2\u0151L\3\2\2\2\u0152\u0153\7\61\2\2\u0153N"+
"\3\2\2\2\u0154\u0155\7\'\2\2\u0155P\3\2\2\2\u0156\u0157\7>\2\2\u0157R"+
"\3\2\2\2\u0158\u0159\7@\2\2\u0159T\3\2\2\2\u015a\u015b\7?\2\2\u015b\u015c"+
"\7?\2\2\u015cV\3\2\2\2\u015d\u015e\7#\2\2\u015e\u015f\7?\2\2\u015fX\3"+
"\2\2\2\u0160\u0161\7>\2\2\u0161\u0162\7?\2\2\u0162Z\3\2\2\2\u0163\u0164"+
"\7@\2\2\u0164\u0165\7?\2\2\u0165\\\3\2\2\2\u0166\u0167\7`\2\2\u0167^\3"+
"\2\2\2\u0168\u0169\7~\2\2\u0169`\3\2\2\2\u016a\u016b\7(\2\2\u016b\u016c"+
"\7(\2\2\u016cb\3\2\2\2\u016d\u016e\7~\2\2\u016e\u016f\7~\2\2\u016fd\3"+
"\2\2\2\u0170\u0171\7-\2\2\u0171\u0172\7?\2\2\u0172f\3\2\2\2\u0173\u0174"+
"\7/\2\2\u0174\u0175\7?\2\2\u0175h\3\2\2\2\u0176\u0177\7,\2\2\u0177\u0178"+
"\7?\2\2\u0178j\3\2\2\2\u0179\u017a\7\61\2\2\u017a\u017b\7?\2\2\u017bl"+
"\3\2\2\2\u017c\u017d\7\'\2\2\u017d\u017e\7?\2\2\u017en\3\2\2\2\u017f\u0180"+
"\7>\2\2\u0180\u0181\7>\2\2\u0181\u0182\7?\2\2\u0182p\3\2\2\2\u0183\u0184"+
"\7@\2\2\u0184\u0185\7@\2\2\u0185\u0186\7?\2\2\u0186r\3\2\2\2\u0187\u0188"+
"\7(\2\2\u0188\u0189\7?\2\2\u0189t\3\2\2\2\u018a\u018b\7~\2\2\u018b\u018c"+
"\7?\2\2\u018cv\3\2\2\2\u018d\u018e\7`\2\2\u018e\u018f\7?\2\2\u018fx\3"+
"\2\2\2\u0190\u0191\7m\2\2\u0191\u0192\7k\2\2\u0192\u0193\7e\2\2\u0193"+
"\u0194\7m\2\2\u0194\u0195\7c\2\2\u0195\u0196\7u\2\2\u0196\u0197\7o\2\2"+
"\u0197z\3\2\2\2\u0198\u0199\7t\2\2\u0199\u019a\7g\2\2\u019a\u019b\7u\2"+
"\2\u019b\u019c\7q\2\2\u019c\u019d\7w\2\2\u019d\u019e\7t\2\2\u019e\u019f"+
"\7e\2\2\u019f\u01a0\7g\2\2\u01a0|\3\2\2\2\u01a1\u01a2\7w\2\2\u01a2\u01a3"+
"\7u\2\2\u01a3\u01a4\7g\2\2\u01a4\u01a5\7u\2\2\u01a5~\3\2\2\2\u01a6\u01a7"+
"\7e\2\2\u01a7\u01a8\7n\2\2\u01a8\u01a9\7q\2\2\u01a9\u01aa\7d\2\2\u01aa"+
"\u01ab\7d\2\2\u01ab\u01ac\7g\2\2\u01ac\u01ad\7t\2\2\u01ad\u01ae\7u\2\2"+
"\u01ae\u0080\3\2\2\2\u01af\u01b0\7d\2\2\u01b0\u01b1\7{\2\2\u01b1\u01b2"+
"\7v\2\2\u01b2\u01b3\7g\2\2\u01b3\u01b4\7u\2\2\u01b4\u0082\3\2\2\2\u01b5"+
"\u01b6\7e\2\2\u01b6\u01b7\7{\2\2\u01b7\u01b8\7e\2\2\u01b8\u01b9\7n\2\2"+
"\u01b9\u01ba\7g\2\2\u01ba\u01bb\7u\2\2\u01bb\u0084\3\2\2\2\u01bc\u01bd"+
"\7r\2\2\u01bd\u01be\7e\2\2\u01be\u0086\3\2\2\2\u01bf\u01c0\7\60\2\2\u01c0"+
"\u01c1\7d\2\2\u01c1\u01c2\7{\2\2\u01c2\u01c3\7v\2\2\u01c3\u01c4\7g\2\2"+
"\u01c4\u0088\3\2\2\2\u01c5\u01c6\7%\2\2\u01c6\u008a\3\2\2\2\u01c7\u01c8"+
"\7\60\2\2\u01c8\u008c\3\2\2\2\u01c9\u01ca\7d\2\2\u01ca\u01cb\7t\2\2\u01cb"+
"\u02a8\7m\2\2\u01cc\u01cd\7q\2\2\u01cd\u01ce\7t\2\2\u01ce\u02a8\7c\2\2"+
"\u01cf\u01d0\7m\2\2\u01d0\u01d1\7k\2\2\u01d1\u02a8\7n\2\2\u01d2\u01d3"+
"\7u\2\2\u01d3\u01d4\7n\2\2\u01d4\u02a8\7q\2\2\u01d5\u01d6\7p\2\2\u01d6"+
"\u01d7\7q\2\2\u01d7\u02a8\7r\2\2\u01d8\u01d9\7c\2\2\u01d9\u01da\7u\2\2"+
"\u01da\u02a8\7n\2\2\u01db\u01dc\7r\2\2\u01dc\u01dd\7j\2\2\u01dd\u02a8"+
"\7r\2\2\u01de\u01df\7c\2\2\u01df\u01e0\7p\2\2\u01e0\u02a8\7e\2\2\u01e1"+
"\u01e2\7d\2\2\u01e2\u01e3\7r\2\2\u01e3\u02a8\7n\2\2\u01e4\u01e5\7e\2\2"+
"\u01e5\u01e6\7n\2\2\u01e6\u02a8\7e\2\2\u01e7\u01e8\7l\2\2\u01e8\u01e9"+
"\7u\2\2\u01e9\u02a8\7t\2\2\u01ea\u01eb\7c\2\2\u01eb\u01ec\7p\2\2\u01ec"+
"\u02a8\7f\2\2\u01ed\u01ee\7t\2\2\u01ee\u01ef\7n\2\2\u01ef\u02a8\7c\2\2"+
"\u01f0\u01f1\7d\2\2\u01f1\u01f2\7k\2\2\u01f2\u02a8\7v\2\2\u01f3\u01f4"+
"\7t\2\2\u01f4\u01f5\7q\2\2\u01f5\u02a8\7n\2\2\u01f6\u01f7\7r\2\2\u01f7"+
"\u01f8\7n\2\2\u01f8\u02a8\7c\2\2\u01f9\u01fa\7r\2\2\u01fa\u01fb\7n\2\2"+
"\u01fb\u02a8\7r\2\2\u01fc\u01fd\7d\2\2\u01fd\u01fe\7o\2\2\u01fe\u02a8"+
"\7k\2\2\u01ff\u0200\7u\2\2\u0200\u0201\7g\2\2\u0201\u02a8\7e\2\2\u0202"+
"\u0203\7t\2\2\u0203\u0204\7v\2\2\u0204\u02a8\7k\2\2\u0205\u0206\7g\2\2"+
"\u0206\u0207\7q\2\2\u0207\u02a8\7t\2\2\u0208\u0209\7u\2\2\u0209\u020a"+
"\7t\2\2\u020a\u02a8\7g\2\2\u020b\u020c\7n\2\2\u020c\u020d\7u\2\2\u020d"+
"\u02a8\7t\2\2\u020e\u020f\7r\2\2\u020f\u0210\7j\2\2\u0210\u02a8\7c\2\2"+
"\u0211\u0212\7c\2\2\u0212\u0213\7n\2\2\u0213\u02a8\7t\2\2\u0214\u0215"+
"\7l\2\2\u0215\u0216\7o\2\2\u0216\u02a8\7r\2\2\u0217\u0218\7d\2\2\u0218"+
"\u0219\7x\2\2\u0219\u02a8\7e\2\2\u021a\u021b\7e\2\2\u021b\u021c\7n\2\2"+
"\u021c\u02a8\7k\2\2\u021d\u021e\7t\2\2\u021e\u021f\7v\2\2\u021f\u02a8"+
"\7u\2\2\u0220\u0221\7c\2\2\u0221\u0222\7f\2\2\u0222\u02a8\7e\2\2\u0223"+
"\u0224\7t\2\2\u0224\u0225\7t\2\2\u0225\u02a8\7c\2\2\u0226\u0227\7d\2\2"+
"\u0227\u0228\7x\2\2\u0228\u02a8\7u\2\2\u0229\u022a\7u\2\2\u022a\u022b"+
"\7g\2\2\u022b\u02a8\7k\2\2\u022c\u022d\7u\2\2\u022d\u022e\7c\2\2\u022e"+
"\u02a8\7z\2\2\u022f\u0230\7u\2\2\u0230\u0231\7v\2\2\u0231\u02a8\7{\2\2"+
"\u0232\u0233\7u\2\2\u0233\u0234\7v\2\2\u0234\u02a8\7c\2\2\u0235\u0236"+
"\7u\2\2\u0236\u0237\7v\2\2\u0237\u02a8\7z\2\2\u0238\u0239\7f\2\2\u0239"+
"\u023a\7g\2\2\u023a\u02a8\7{\2\2\u023b\u023c\7v\2\2\u023c\u023d\7z\2\2"+
"\u023d\u02a8\7c\2\2\u023e\u023f\7z\2\2\u023f\u0240\7c\2\2\u0240\u02a8"+
"\7c\2\2\u0241\u0242\7d\2\2\u0242\u0243\7e\2\2\u0243\u02a8\7e\2\2\u0244"+
"\u0245\7c\2\2\u0245\u0246\7j\2\2\u0246\u02a8\7z\2\2\u0247\u0248\7v\2\2"+
"\u0248\u0249\7{\2\2\u0249\u02a8\7c\2\2\u024a\u024b\7v\2\2\u024b\u024c"+
"\7z\2\2\u024c\u02a8\7u\2\2\u024d\u024e\7v\2\2\u024e\u024f\7c\2\2\u024f"+
"\u02a8\7u\2\2\u0250\u0251\7u\2\2\u0251\u0252\7j\2\2\u0252\u02a8\7{\2\2"+
"\u0253\u0254\7u\2\2\u0254\u0255\7j\2\2\u0255\u02a8\7z\2\2\u0256\u0257"+
"\7n\2\2\u0257\u0258\7f\2\2\u0258\u02a8\7{\2\2\u0259\u025a\7n\2\2\u025a"+
"\u025b\7f\2\2\u025b\u02a8\7c\2\2\u025c\u025d\7n\2\2\u025d\u025e\7f\2\2"+
"\u025e\u02a8\7z\2\2\u025f\u0260\7n\2\2\u0260\u0261\7c\2\2\u0261\u02a8"+
"\7z\2\2\u0262\u0263\7v\2\2\u0263\u0264\7c\2\2\u0264\u02a8\7{\2\2\u0265"+
"\u0266\7v\2\2\u0266\u0267\7c\2\2\u0267\u02a8\7z\2\2\u0268\u0269\7d\2\2"+
"\u0269\u026a\7e\2\2\u026a\u02a8\7u\2\2\u026b\u026c\7e\2\2\u026c\u026d"+
"\7n\2\2\u026d\u02a8\7x\2\2\u026e\u026f\7v\2\2\u026f\u0270\7u\2\2\u0270"+
"\u02a8\7z\2\2\u0271\u0272\7n\2\2\u0272\u0273\7c\2\2\u0273\u02a8\7u\2\2"+
"\u0274\u0275\7e\2\2\u0275\u0276\7r\2\2\u0276\u02a8\7{\2\2\u0277\u0278"+
"\7e\2\2\u0278\u0279\7o\2\2\u0279\u02a8\7r\2\2\u027a\u027b\7e\2\2\u027b"+
"\u027c\7r\2\2\u027c\u02a8\7z\2\2\u027d\u027e\7f\2\2\u027e\u027f\7e\2\2"+
"\u027f\u02a8\7r\2\2\u0280\u0281\7f\2\2\u0281\u0282\7g\2\2\u0282\u02a8"+
"\7e\2\2\u0283\u0284\7k\2\2\u0284\u0285\7p\2\2\u0285\u02a8\7e\2\2\u0286"+
"\u0287\7c\2\2\u0287\u0288\7z\2\2\u0288\u02a8\7u\2\2\u0289\u028a\7d\2\2"+
"\u028a\u028b\7p\2\2\u028b\u02a8\7g\2\2\u028c\u028d\7e\2\2\u028d\u028e"+
"\7n\2\2\u028e\u02a8\7f\2\2\u028f\u0290\7u\2\2\u0290\u0291\7d\2\2\u0291"+
"\u02a8\7e\2\2\u0292\u0293\7k\2\2\u0293\u0294\7u\2\2\u0294\u02a8\7e\2\2"+
"\u0295\u0296\7k\2\2\u0296\u0297\7p\2\2\u0297\u02a8\7z\2\2\u0298\u0299"+
"\7d\2\2\u0299\u029a\7g\2\2\u029a\u02a8\7s\2\2\u029b\u029c\7u\2\2\u029c"+
"\u029d\7g\2\2\u029d\u02a8\7f\2\2\u029e\u029f\7f\2\2\u029f\u02a0\7g\2\2"+
"\u02a0\u02a8\7z\2\2\u02a1\u02a2\7k\2\2\u02a2\u02a3\7p\2\2\u02a3\u02a8"+
"\7{\2\2\u02a4\u02a5\7t\2\2\u02a5\u02a6\7q\2\2\u02a6\u02a8\7t\2\2\u02a7"+
"\u01c9\3\2\2\2\u02a7\u01cc\3\2\2\2\u02a7\u01cf\3\2\2\2\u02a7\u01d2\3\2"+
"\2\2\u02a7\u01d5\3\2\2\2\u02a7\u01d8\3\2\2\2\u02a7\u01db\3\2\2\2\u02a7"+
"\u01de\3\2\2\2\u02a7\u01e1\3\2\2\2\u02a7\u01e4\3\2\2\2\u02a7\u01e7\3\2"+
"\2\2\u02a7\u01ea\3\2\2\2\u02a7\u01ed\3\2\2\2\u02a7\u01f0\3\2\2\2\u02a7"+
"\u01f3\3\2\2\2\u02a7\u01f6\3\2\2\2\u02a7\u01f9\3\2\2\2\u02a7\u01fc\3\2"+
"\2\2\u02a7\u01ff\3\2\2\2\u02a7\u0202\3\2\2\2\u02a7\u0205\3\2\2\2\u02a7"+
"\u0208\3\2\2\2\u02a7\u020b\3\2\2\2\u02a7\u020e\3\2\2\2\u02a7\u0211\3\2"+
"\2\2\u02a7\u0214\3\2\2\2\u02a7\u0217\3\2\2\2\u02a7\u021a\3\2\2\2\u02a7"+
"\u021d\3\2\2\2\u02a7\u0220\3\2\2\2\u02a7\u0223\3\2\2\2\u02a7\u0226\3\2"+
"\2\2\u02a7\u0229\3\2\2\2\u02a7\u022c\3\2\2\2\u02a7\u022f\3\2\2\2\u02a7"+
"\u0232\3\2\2\2\u02a7\u0235\3\2\2\2\u02a7\u0238\3\2\2\2\u02a7\u023b\3\2"+
"\2\2\u02a7\u023e\3\2\2\2\u02a7\u0241\3\2\2\2\u02a7\u0244\3\2\2\2\u02a7"+
"\u0247\3\2\2\2\u02a7\u024a\3\2\2\2\u02a7\u024d\3\2\2\2\u02a7\u0250\3\2"+
"\2\2\u02a7\u0253\3\2\2\2\u02a7\u0256\3\2\2\2\u02a7\u0259\3\2\2\2\u02a7"+
"\u025c\3\2\2\2\u02a7\u025f\3\2\2\2\u02a7\u0262\3\2\2\2\u02a7\u0265\3\2"+
"\2\2\u02a7\u0268\3\2\2\2\u02a7\u026b\3\2\2\2\u02a7\u026e\3\2\2\2\u02a7"+
"\u0271\3\2\2\2\u02a7\u0274\3\2\2\2\u02a7\u0277\3\2\2\2\u02a7\u027a\3\2"+
"\2\2\u02a7\u027d\3\2\2\2\u02a7\u0280\3\2\2\2\u02a7\u0283\3\2\2\2\u02a7"+
"\u0286\3\2\2\2\u02a7\u0289\3\2\2\2\u02a7\u028c\3\2\2\2\u02a7\u028f\3\2"+
"\2\2\u02a7\u0292\3\2\2\2\u02a7\u0295\3\2\2\2\u02a7\u0298\3\2\2\2\u02a7"+
"\u029b\3\2\2\2\u02a7\u029e\3\2\2\2\u02a7\u02a1\3\2\2\2\u02a7\u02a4\3\2"+
"\2\2\u02a8\u008e\3\2\2\2\u02a9\u02aa\7}\2\2\u02aa\u02ab\7}\2\2\u02ab\u02af"+
"\3\2\2\2\u02ac\u02ae\13\2\2\2\u02ad\u02ac\3\2\2\2\u02ae\u02b1\3\2\2\2"+
"\u02af\u02b0\3\2\2\2\u02af\u02ad\3\2\2\2\u02b0\u02b2\3\2\2\2\u02b1\u02af"+
"\3\2\2\2\u02b2\u02b3\7\177\2\2\u02b3\u02b4\7\177\2\2\u02b4\u0090\3\2\2"+
"\2\u02b5\u02b6\7d\2\2\u02b6\u02b7\7{\2\2\u02b7\u02b8\7v\2\2\u02b8\u02cb"+
"\7g\2\2\u02b9\u02ba\7y\2\2\u02ba\u02bb\7q\2\2\u02bb\u02bc\7t\2\2\u02bc"+
"\u02cb\7f\2\2\u02bd\u02be\7f\2\2\u02be\u02bf\7y\2\2\u02bf\u02c0\7q\2\2"+
"\u02c0\u02c1\7t\2\2\u02c1\u02cb\7f\2\2\u02c2\u02c3\7d\2\2\u02c3\u02c4"+
"\7q\2\2\u02c4\u02c5\7q\2\2\u02c5\u02cb\7n\2\2\u02c6\u02c7\7x\2\2\u02c7"+
"\u02c8\7q\2\2\u02c8\u02c9\7k\2\2\u02c9\u02cb\7f\2\2\u02ca\u02b5\3\2\2"+
"\2\u02ca\u02b9\3\2\2\2\u02ca\u02bd\3\2\2\2\u02ca\u02c2\3\2\2\2\u02ca\u02c6"+
"\3\2\2\2\u02cb\u0092\3\2\2\2\u02cc\u02d2\7$\2\2\u02cd\u02ce\7^\2\2\u02ce"+
"\u02d1\7$\2\2\u02cf\u02d1\n\2\2\2\u02d0\u02cd\3\2\2\2\u02d0\u02cf\3\2"+
"\2\2\u02d1\u02d4\3\2\2\2\u02d2\u02d0\3\2\2\2\u02d2\u02d3\3\2\2\2\u02d3"+
"\u02d5\3\2\2\2\u02d4\u02d2\3\2\2\2\u02d5\u02d6\7$\2\2\u02d6\u0094\3\2"+
"\2\2\u02d7\u02db\7)\2\2\u02d8\u02d9\7^\2\2\u02d9\u02dc\7)\2\2\u02da\u02dc"+
"\n\3\2\2\u02db\u02d8\3\2\2\2\u02db\u02da\3\2\2\2\u02dc\u02dd\3\2\2\2\u02dd"+
"\u02de\7)\2\2\u02de\u0096\3\2\2\2\u02df\u02e0\7v\2\2\u02e0\u02e1\7t\2"+
"\2\u02e1\u02e2\7w\2\2\u02e2\u02e9\7g\2\2\u02e3\u02e4\7h\2\2\u02e4\u02e5"+
"\7c\2\2\u02e5\u02e6\7n\2\2\u02e6\u02e7\7u\2\2\u02e7\u02e9\7g\2\2\u02e8"+
"\u02df\3\2\2\2\u02e8\u02e3\3\2\2\2\u02e9\u0098\3\2\2\2\u02ea\u02ed\5\u009b"+
"N\2\u02eb\u02ed\5\u00a3R\2\u02ec\u02ea\3\2\2\2\u02ec\u02eb\3\2\2\2\u02ed"+
"\u009a\3\2\2\2\u02ee\u02f2\5\u009dO\2\u02ef\u02f2\5\u009fP\2\u02f0\u02f2"+
"\5\u00a1Q\2\u02f1\u02ee\3\2\2\2\u02f1\u02ef\3\2\2\2\u02f1\u02f0\3\2\2"+
"\2\u02f2\u009c\3\2\2\2\u02f3\u02f9\7\'\2\2\u02f4\u02f5\7\62\2\2\u02f5"+
"\u02f9\7d\2\2\u02f6\u02f7\7\62\2\2\u02f7\u02f9\7D\2\2\u02f8\u02f3\3\2"+
"\2\2\u02f8\u02f4\3\2\2\2\u02f8\u02f6\3\2\2\2\u02f9\u02fd\3\2\2\2\u02fa"+
"\u02fc\5\u00abV\2\u02fb\u02fa\3\2\2\2\u02fc\u02ff\3\2\2\2\u02fd\u02fb"+
"\3\2\2\2\u02fd\u02fe\3\2\2\2\u02fe\u0300\3\2\2\2\u02ff\u02fd\3\2\2\2\u0300"+
"\u0302\7\60\2\2\u0301\u0303\5\u00abV\2\u0302\u0301\3\2\2\2\u0303\u0304"+
"\3\2\2\2\u0304\u0302\3\2\2\2\u0304\u0305\3\2\2\2\u0305\u009e\3\2\2\2\u0306"+
"\u0308\5\u00adW\2\u0307\u0306\3\2\2\2\u0308\u030b\3\2\2\2\u0309\u0307"+
"\3\2\2\2\u0309\u030a\3\2\2\2\u030a\u030c\3\2\2\2\u030b\u0309\3\2\2\2\u030c"+
"\u030e\7\60\2\2\u030d\u030f\5\u00adW\2\u030e\u030d\3\2\2\2\u030f\u0310"+
"\3\2\2\2\u0310\u030e\3\2\2\2\u0310\u0311\3\2\2\2\u0311\u00a0\3\2\2\2\u0312"+
"\u0318\7&\2\2\u0313\u0314\7\62\2\2\u0314\u0318\7z\2\2\u0315\u0316\7\62"+
"\2\2\u0316\u0318\7Z\2\2\u0317\u0312\3\2\2\2\u0317\u0313\3\2\2\2\u0317"+
"\u0315\3\2\2\2\u0318\u031c\3\2\2\2\u0319\u031b\5\u00afX\2\u031a\u0319"+
"\3\2\2\2\u031b\u031e\3\2\2\2\u031c\u031a\3\2\2\2\u031c\u031d\3\2\2\2\u031d"+
"\u031f\3\2\2\2\u031e\u031c\3\2\2\2\u031f\u0321\7\60\2\2\u0320\u0322\5"+
"\u00afX\2\u0321\u0320\3\2\2\2\u0322\u0323\3\2\2\2\u0323\u0321\3\2\2\2"+
"\u0323\u0324\3\2\2\2\u0324\u00a2\3\2\2\2\u0325\u0329\5\u00a7T\2\u0326"+
"\u0329\5\u00a9U\2\u0327\u0329\5\u00a5S\2\u0328\u0325\3\2\2\2\u0328\u0326"+
"\3\2\2\2\u0328\u0327\3\2\2\2\u0329\u00a4\3\2\2\2\u032a\u032b\7\62\2\2"+
"\u032b\u032d\t\4\2\2\u032c\u032e\5\u00abV\2\u032d\u032c\3\2\2\2\u032e"+
"\u032f\3\2\2\2\u032f\u032d\3\2\2\2\u032f\u0330\3\2\2\2\u0330\u0338\3\2"+
"\2\2\u0331\u0333\7\'\2\2\u0332\u0334\5\u00abV\2\u0333\u0332\3\2\2\2\u0334"+
"\u0335\3\2\2\2\u0335\u0333\3\2\2\2\u0335\u0336\3\2\2\2\u0336\u0338\3\2"+
"\2\2\u0337\u032a\3\2\2\2\u0337\u0331\3\2\2\2\u0338\u00a6\3\2\2\2\u0339"+
"\u033b\5\u00adW\2\u033a\u0339\3\2\2\2\u033b\u033c\3\2\2\2\u033c\u033a"+
"\3\2\2\2\u033c\u033d\3\2\2\2\u033d\u00a8\3\2\2\2\u033e\u0344\7&\2\2\u033f"+
"\u0340\7\62\2\2\u0340\u0344\7z\2\2\u0341\u0342\7\62\2\2\u0342\u0344\7"+
"Z\2\2\u0343\u033e\3\2\2\2\u0343\u033f\3\2\2\2\u0343\u0341\3\2\2\2\u0344"+
"\u0346\3\2\2\2\u0345\u0347\5\u00afX\2\u0346\u0345\3\2\2\2\u0347\u0348"+
"\3\2\2\2\u0348\u0346\3\2\2\2\u0348\u0349\3\2\2\2\u0349\u00aa\3\2\2\2\u034a"+
"\u034b\t\5\2\2\u034b\u00ac\3\2\2\2\u034c\u034d\t\6\2\2\u034d\u00ae\3\2"+
"\2\2\u034e\u034f\t\7\2\2\u034f\u00b0\3\2\2\2\u0350\u0354\5\u00b3Z\2\u0351"+
"\u0353\5\u00b5[\2\u0352\u0351\3\2\2\2\u0353\u0356\3\2\2\2\u0354\u0352"+
"\3\2\2\2\u0354\u0355\3\2\2\2\u0355\u00b2\3\2\2\2\u0356\u0354\3\2\2\2\u0357"+
"\u0358\t\b\2\2\u0358\u00b4\3\2\2\2\u0359\u035a\t\t\2\2\u035a\u00b6\3\2"+
"\2\2\u035b\u035f\7#\2\2\u035c\u035e\5\u00b5[\2\u035d\u035c\3\2\2\2\u035e"+
"\u0361\3\2\2\2\u035f\u035d\3\2\2\2\u035f\u0360\3\2\2\2\u0360\u0363\3\2"+
"\2\2\u0361\u035f\3\2\2\2\u0362\u0364\t\n\2\2\u0363\u0362\3\2\2\2\u0364"+
"\u0365\3\2\2\2\u0365\u0363\3\2\2\2\u0365\u0366\3\2\2\2\u0366\u00b8\3\2"+
"\2\2\u0367\u0369\t\13\2\2\u0368\u0367\3\2\2\2\u0369\u036a\3\2\2\2\u036a"+
"\u0368\3\2\2\2\u036a\u036b\3\2\2\2\u036b\u036c\3\2\2\2\u036c\u036d\b]"+
"\2\2\u036d\u00ba\3\2\2\2\u036e\u036f\7\61\2\2\u036f\u0370\7\61\2\2\u0370"+
"\u0374\3\2\2\2\u0371\u0373\n\f\2\2\u0372\u0371\3\2\2\2\u0373\u0376\3\2"+
"\2\2\u0374\u0372\3\2\2\2\u0374\u0375\3\2\2\2\u0375\u0377\3\2\2\2\u0376"+
"\u0374\3\2\2\2\u0377\u0378\b^\3\2\u0378\u00bc\3\2\2\2\u0379\u037a\7\61"+
"\2\2\u037a\u037b\7,\2\2\u037b\u037f\3\2\2\2\u037c\u037e\13\2\2\2\u037d"+
"\u037c\3\2\2\2\u037e\u0381\3\2\2\2\u037f\u0380\3\2\2\2\u037f\u037d\3\2"+
"\2\2\u0380\u0382\3\2\2\2\u0381\u037f\3\2\2\2\u0382\u0383\7,\2\2\u0383"+
"\u0384\7\61\2\2\u0384\u0385\3\2\2\2\u0385\u0386\b_\3\2\u0386\u00be\3\2"+
"\2\2!\2\u02a7\u02af\u02ca\u02d0\u02d2\u02db\u02e8\u02ec\u02f1\u02f8\u02fd"+
"\u0304\u0309\u0310\u0317\u031c\u0323\u0328\u032f\u0335\u0337\u033c\u0343"+
"\u0348\u0354\u035f\u0365\u036a\u0374\u037f\4\2\3\2\2\4\2";
public static final ATN _ATN =
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
static {

View File

@ -67,27 +67,26 @@ T__65=66
T__66=67
T__67=68
T__68=69
T__69=70
MNEMONIC=71
KICKASM=72
SIMPLETYPE=73
STRING=74
CHAR=75
BOOLEAN=76
NUMBER=77
NUMFLOAT=78
BINFLOAT=79
DECFLOAT=80
HEXFLOAT=81
NUMINT=82
BININTEGER=83
DECINTEGER=84
HEXINTEGER=85
NAME=86
ASMREL=87
WS=88
COMMENT_LINE=89
COMMENT_BLOCK=90
MNEMONIC=70
KICKASM=71
SIMPLETYPE=72
STRING=73
CHAR=74
BOOLEAN=75
NUMBER=76
NUMFLOAT=77
BINFLOAT=78
DECFLOAT=79
HEXFLOAT=80
NUMINT=81
BININTEGER=82
DECINTEGER=83
HEXINTEGER=84
NAME=85
ASMREL=86
WS=87
COMMENT_LINE=88
COMMENT_BLOCK=89
'import'=1
'='=2
';'=3
@ -95,66 +94,65 @@ COMMENT_BLOCK=90
')'=5
'{'=6
'}'=7
'kickasm'=8
','=9
'resource'=10
'uses'=11
'clobbers'=12
'param'=13
':'=14
'bytes'=15
'cycles'=16
'pc'=17
'inline'=18
'const'=19
'extern'=20
'align'=21
'register'=22
'volatile'=23
'interrupt'=24
'if'=25
'else'=26
'while'=27
'do'=28
'for'=29
'return'=30
'asm'=31
'..'=32
'signed'=33
'*'=34
'['=35
']'=36
'--'=37
'++'=38
'+'=39
'-'=40
'!'=41
'&'=42
'~'=43
'>>'=44
'<<'=45
'/'=46
'%'=47
'<'=48
'>'=49
'=='=50
'!='=51
'<='=52
'>='=53
'^'=54
'|'=55
'&&'=56
'||'=57
'+='=58
'-='=59
'*='=60
'/='=61
'%='=62
'<<='=63
'>>='=64
'&='=65
'|='=66
'^='=67
'.byte'=68
'#'=69
'.'=70
','=8
'const'=9
'extern'=10
'align'=11
'register'=12
'inline'=13
'volatile'=14
'interrupt'=15
'if'=16
'else'=17
'while'=18
'do'=19
'for'=20
'return'=21
'asm'=22
':'=23
'..'=24
'signed'=25
'*'=26
'['=27
']'=28
'--'=29
'++'=30
'+'=31
'-'=32
'!'=33
'&'=34
'~'=35
'>>'=36
'<<'=37
'/'=38
'%'=39
'<'=40
'>'=41
'=='=42
'!='=43
'<='=44
'>='=45
'^'=46
'|'=47
'&&'=48
'||'=49
'+='=50
'-='=51
'*='=52
'/='=53
'%='=54
'<<='=55
'>>='=56
'&='=57
'|='=58
'^='=59
'kickasm'=60
'resource'=61
'uses'=62
'clobbers'=63
'bytes'=64
'cycles'=65
'pc'=66
'.byte'=67
'#'=68
'.'=69

View File

@ -87,110 +87,6 @@ public interface KickCListener extends ParseTreeListener {
* @param ctx the parse tree
*/
void exitDeclFunction(KickCParser.DeclFunctionContext ctx);
/**
* Enter a parse tree produced by {@link KickCParser#declKasm}.
* @param ctx the parse tree
*/
void enterDeclKasm(KickCParser.DeclKasmContext ctx);
/**
* Exit a parse tree produced by {@link KickCParser#declKasm}.
* @param ctx the parse tree
*/
void exitDeclKasm(KickCParser.DeclKasmContext ctx);
/**
* Enter a parse tree produced by {@link KickCParser#kasmDirectives}.
* @param ctx the parse tree
*/
void enterKasmDirectives(KickCParser.KasmDirectivesContext ctx);
/**
* Exit a parse tree produced by {@link KickCParser#kasmDirectives}.
* @param ctx the parse tree
*/
void exitKasmDirectives(KickCParser.KasmDirectivesContext ctx);
/**
* Enter a parse tree produced by the {@code kasmDirectiveResource}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void enterKasmDirectiveResource(KickCParser.KasmDirectiveResourceContext ctx);
/**
* Exit a parse tree produced by the {@code kasmDirectiveResource}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void exitKasmDirectiveResource(KickCParser.KasmDirectiveResourceContext ctx);
/**
* Enter a parse tree produced by the {@code kasmDirectiveUses}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void enterKasmDirectiveUses(KickCParser.KasmDirectiveUsesContext ctx);
/**
* Exit a parse tree produced by the {@code kasmDirectiveUses}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void exitKasmDirectiveUses(KickCParser.KasmDirectiveUsesContext ctx);
/**
* Enter a parse tree produced by the {@code kasmDirectiveClobber}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void enterKasmDirectiveClobber(KickCParser.KasmDirectiveClobberContext ctx);
/**
* Exit a parse tree produced by the {@code kasmDirectiveClobber}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void exitKasmDirectiveClobber(KickCParser.KasmDirectiveClobberContext ctx);
/**
* Enter a parse tree produced by the {@code kasmDirectiveTransfer}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void enterKasmDirectiveTransfer(KickCParser.KasmDirectiveTransferContext ctx);
/**
* Exit a parse tree produced by the {@code kasmDirectiveTransfer}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void exitKasmDirectiveTransfer(KickCParser.KasmDirectiveTransferContext ctx);
/**
* Enter a parse tree produced by the {@code kasmDirectiveBytes}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void enterKasmDirectiveBytes(KickCParser.KasmDirectiveBytesContext ctx);
/**
* Exit a parse tree produced by the {@code kasmDirectiveBytes}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void exitKasmDirectiveBytes(KickCParser.KasmDirectiveBytesContext ctx);
/**
* Enter a parse tree produced by the {@code kasmDirectiveCycles}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void enterKasmDirectiveCycles(KickCParser.KasmDirectiveCyclesContext ctx);
/**
* Exit a parse tree produced by the {@code kasmDirectiveCycles}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void exitKasmDirectiveCycles(KickCParser.KasmDirectiveCyclesContext ctx);
/**
* Enter a parse tree produced by the {@code kasmDirectiveAddress}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void enterKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx);
/**
* Exit a parse tree produced by the {@code kasmDirectiveAddress}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
*/
void exitKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx);
/**
* Enter a parse tree produced by {@link KickCParser#parameterListDecl}.
* @param ctx the parse tree
@ -747,6 +643,16 @@ public interface KickCListener extends ParseTreeListener {
* @param ctx the parse tree
*/
void exitParameterList(KickCParser.ParameterListContext ctx);
/**
* Enter a parse tree produced by {@link KickCParser#declKasm}.
* @param ctx the parse tree
*/
void enterDeclKasm(KickCParser.DeclKasmContext ctx);
/**
* Exit a parse tree produced by {@link KickCParser#declKasm}.
* @param ctx the parse tree
*/
void exitDeclKasm(KickCParser.DeclKasmContext ctx);
/**
* Enter a parse tree produced by {@link KickCParser#asmDirectives}.
* @param ctx the parse tree
@ -757,6 +663,30 @@ public interface KickCListener extends ParseTreeListener {
* @param ctx the parse tree
*/
void exitAsmDirectives(KickCParser.AsmDirectivesContext ctx);
/**
* Enter a parse tree produced by the {@code asmDirectiveResource}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
*/
void enterAsmDirectiveResource(KickCParser.AsmDirectiveResourceContext ctx);
/**
* Exit a parse tree produced by the {@code asmDirectiveResource}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
*/
void exitAsmDirectiveResource(KickCParser.AsmDirectiveResourceContext ctx);
/**
* Enter a parse tree produced by the {@code asmDirectiveUses}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
*/
void enterAsmDirectiveUses(KickCParser.AsmDirectiveUsesContext ctx);
/**
* Exit a parse tree produced by the {@code asmDirectiveUses}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
*/
void exitAsmDirectiveUses(KickCParser.AsmDirectiveUsesContext ctx);
/**
* Enter a parse tree produced by the {@code asmDirectiveClobber}
* labeled alternative in {@link KickCParser#asmDirective}.
@ -769,6 +699,42 @@ public interface KickCListener extends ParseTreeListener {
* @param ctx the parse tree
*/
void exitAsmDirectiveClobber(KickCParser.AsmDirectiveClobberContext ctx);
/**
* Enter a parse tree produced by the {@code asmDirectiveBytes}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
*/
void enterAsmDirectiveBytes(KickCParser.AsmDirectiveBytesContext ctx);
/**
* Exit a parse tree produced by the {@code asmDirectiveBytes}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
*/
void exitAsmDirectiveBytes(KickCParser.AsmDirectiveBytesContext ctx);
/**
* Enter a parse tree produced by the {@code asmDirectiveCycles}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
*/
void enterAsmDirectiveCycles(KickCParser.AsmDirectiveCyclesContext ctx);
/**
* Exit a parse tree produced by the {@code asmDirectiveCycles}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
*/
void exitAsmDirectiveCycles(KickCParser.AsmDirectiveCyclesContext ctx);
/**
* Enter a parse tree produced by the {@code asmDirectiveAddress}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
*/
void enterAsmDirectiveAddress(KickCParser.AsmDirectiveAddressContext ctx);
/**
* Exit a parse tree produced by the {@code asmDirectiveAddress}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
*/
void exitAsmDirectiveAddress(KickCParser.AsmDirectiveAddressContext ctx);
/**
* Enter a parse tree produced by {@link KickCParser#asmLines}.
* @param ctx the parse tree

File diff suppressed because it is too large Load Diff

View File

@ -58,67 +58,6 @@ public interface KickCVisitor<T> extends ParseTreeVisitor<T> {
* @return the visitor result
*/
T visitDeclFunction(KickCParser.DeclFunctionContext ctx);
/**
* Visit a parse tree produced by {@link KickCParser#declKasm}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDeclKasm(KickCParser.DeclKasmContext ctx);
/**
* Visit a parse tree produced by {@link KickCParser#kasmDirectives}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitKasmDirectives(KickCParser.KasmDirectivesContext ctx);
/**
* Visit a parse tree produced by the {@code kasmDirectiveResource}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitKasmDirectiveResource(KickCParser.KasmDirectiveResourceContext ctx);
/**
* Visit a parse tree produced by the {@code kasmDirectiveUses}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitKasmDirectiveUses(KickCParser.KasmDirectiveUsesContext ctx);
/**
* Visit a parse tree produced by the {@code kasmDirectiveClobber}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitKasmDirectiveClobber(KickCParser.KasmDirectiveClobberContext ctx);
/**
* Visit a parse tree produced by the {@code kasmDirectiveTransfer}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitKasmDirectiveTransfer(KickCParser.KasmDirectiveTransferContext ctx);
/**
* Visit a parse tree produced by the {@code kasmDirectiveBytes}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitKasmDirectiveBytes(KickCParser.KasmDirectiveBytesContext ctx);
/**
* Visit a parse tree produced by the {@code kasmDirectiveCycles}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitKasmDirectiveCycles(KickCParser.KasmDirectiveCyclesContext ctx);
/**
* Visit a parse tree produced by the {@code kasmDirectiveAddress}
* labeled alternative in {@link KickCParser#kasmDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx);
/**
* Visit a parse tree produced by {@link KickCParser#parameterListDecl}.
* @param ctx the parse tree
@ -444,12 +383,32 @@ public interface KickCVisitor<T> extends ParseTreeVisitor<T> {
* @return the visitor result
*/
T visitParameterList(KickCParser.ParameterListContext ctx);
/**
* Visit a parse tree produced by {@link KickCParser#declKasm}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDeclKasm(KickCParser.DeclKasmContext ctx);
/**
* Visit a parse tree produced by {@link KickCParser#asmDirectives}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAsmDirectives(KickCParser.AsmDirectivesContext ctx);
/**
* Visit a parse tree produced by the {@code asmDirectiveResource}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAsmDirectiveResource(KickCParser.AsmDirectiveResourceContext ctx);
/**
* Visit a parse tree produced by the {@code asmDirectiveUses}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAsmDirectiveUses(KickCParser.AsmDirectiveUsesContext ctx);
/**
* Visit a parse tree produced by the {@code asmDirectiveClobber}
* labeled alternative in {@link KickCParser#asmDirective}.
@ -457,6 +416,27 @@ public interface KickCVisitor<T> extends ParseTreeVisitor<T> {
* @return the visitor result
*/
T visitAsmDirectiveClobber(KickCParser.AsmDirectiveClobberContext ctx);
/**
* Visit a parse tree produced by the {@code asmDirectiveBytes}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAsmDirectiveBytes(KickCParser.AsmDirectiveBytesContext ctx);
/**
* Visit a parse tree produced by the {@code asmDirectiveCycles}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAsmDirectiveCycles(KickCParser.AsmDirectiveCyclesContext ctx);
/**
* Visit a parse tree produced by the {@code asmDirectiveAddress}
* labeled alternative in {@link KickCParser#asmDirective}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAsmDirectiveAddress(KickCParser.AsmDirectiveAddressContext ctx);
/**
* Visit a parse tree produced by {@link KickCParser#asmLines}.
* @param ctx the parse tree

View File

@ -3,7 +3,6 @@ package dk.camelot64.kickc.passes;
import dk.camelot64.kickc.Compiler;
import dk.camelot64.kickc.NumberParser;
import dk.camelot64.kickc.asm.AsmClobber;
import dk.camelot64.kickc.asm.AsmDataString;
import dk.camelot64.kickc.model.*;
import dk.camelot64.kickc.model.operators.Operator;
import dk.camelot64.kickc.model.operators.Operators;
@ -174,17 +173,21 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
if(m.find()) {
String kickAsmCode = m.group(1).replaceAll("\r", "");
StatementKickAsm statementKickAsm = new StatementKickAsm(kickAsmCode, new StatementSource(ctx), ensureUnusedComments(getCommentsSymbol(ctx)));
if(ctx.kasmDirectives() != null) {
List<KasmDirective> kasmDirectives = this.visitKasmDirectives(ctx.kasmDirectives());
for(KasmDirective kasmDirective : kasmDirectives) {
if(kasmDirective instanceof KasmDirectiveLocation) {
statementKickAsm.setLocation(((KasmDirectiveLocation) kasmDirective).getAddress());
} else if(kasmDirective instanceof KasmDirectiveBytes) {
statementKickAsm.setBytes(((KasmDirectiveBytes) kasmDirective).getBytes());
} else if(kasmDirective instanceof KasmDirectiveCycles) {
statementKickAsm.setCycles(((KasmDirectiveCycles) kasmDirective).getCycles());
} else if(kasmDirective instanceof KasmDirectiveUses) {
statementKickAsm.addUses(((KasmDirectiveUses) kasmDirective).getUses());
if(ctx.asmDirectives() != null) {
List<AsmDirective> asmDirectives = this.visitAsmDirectives(ctx.asmDirectives());
for(AsmDirective asmDirective : asmDirectives) {
if(asmDirective instanceof AsmDirectiveLocation) {
statementKickAsm.setLocation(((AsmDirectiveLocation) asmDirective).getAddress());
} else if(asmDirective instanceof AsmDirectiveBytes) {
statementKickAsm.setBytes(((AsmDirectiveBytes) asmDirective).getBytes());
} else if(asmDirective instanceof AsmDirectiveCycles) {
statementKickAsm.setCycles(((AsmDirectiveCycles) asmDirective).getCycles());
} else if(asmDirective instanceof AsmDirectiveUses) {
statementKickAsm.addUses(((AsmDirectiveUses) asmDirective).getUses());
} else if(asmDirective instanceof AsmDirectiveClobber) {
statementKickAsm.setDeclaredClobber(((AsmDirectiveClobber) asmDirective).getClobber());
} else {
throw new CompileError("kickasm does not support directive "+asmDirective, statementKickAsm);
}
}
}
@ -193,28 +196,28 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
return null;
}
private interface KasmDirective {
private interface AsmDirective {
}
@Override
public List<KasmDirective> visitKasmDirectives(KickCParser.KasmDirectivesContext ctx) {
ArrayList<KasmDirective> kasmDirectives = new ArrayList<>();
List<KickCParser.KasmDirectiveContext> params = ctx.kasmDirective();
for(KickCParser.KasmDirectiveContext param : params) {
KasmDirective directive = (KasmDirective) visit(param);
public List<AsmDirective> visitAsmDirectives(KickCParser.AsmDirectivesContext ctx) {
ArrayList<AsmDirective> asmDirectives = new ArrayList<>();
List<KickCParser.AsmDirectiveContext> params = ctx.asmDirective();
for(KickCParser.AsmDirectiveContext param : params) {
AsmDirective directive = (AsmDirective) visit(param);
if(directive != null) {
kasmDirectives.add(directive);
asmDirectives.add(directive);
}
}
return kasmDirectives;
return asmDirectives;
}
/** KickAssembler directive specifying an absolute address for the generated code/data. */
public static class KasmDirectiveLocation implements KasmDirective {
public static class AsmDirectiveLocation implements AsmDirective {
/** will contain the address to generate the KickAssembler-code to. */
private RValue address;
public KasmDirectiveLocation(RValue address) {
public AsmDirectiveLocation(RValue address) {
this.address = address;
}
@ -222,13 +225,17 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
return address;
}
@Override
public String toString() {
return "pc";
}
}
@Override
public Object visitKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx) {
public Object visitAsmDirectiveAddress(KickCParser.AsmDirectiveAddressContext ctx) {
if(ctx.expr() != null) {
RValue expr = (RValue) visit(ctx.expr());
return new KasmDirectiveLocation(expr);
return new AsmDirectiveLocation(expr);
} else {
// PLace inline
return null;
@ -236,45 +243,36 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
}
/** KickAssembler directive specifying the number of bytes for generated code/data. */
public static class KasmDirectiveBytes implements KasmDirective {
public static class AsmDirectiveBytes implements AsmDirective {
/** bytes for the KickAssembler-code. */
private RValue bytes;
public KasmDirectiveBytes(RValue bytes) {
public AsmDirectiveBytes(RValue bytes) {
this.bytes = bytes;
}
public RValue getBytes() {
return bytes;
}
@Override
public String toString() {
return "bytes";
}
}
@Override
public KasmDirective visitKasmDirectiveBytes(KickCParser.KasmDirectiveBytesContext ctx) {
public AsmDirective visitAsmDirectiveBytes(KickCParser.AsmDirectiveBytesContext ctx) {
if(ctx.expr() != null) {
RValue bytes = (RValue) this.visit(ctx.expr());
return new KasmDirectiveBytes(bytes);
return new AsmDirectiveBytes(bytes);
} else {
return null;
}
}
/** KickAssembler directive specifying the number of cycles for generated code/data. */
public static class KasmDirectiveCycles implements KasmDirective {
/** cycles for the KickAssembler-code. */
private RValue cycles;
public KasmDirectiveCycles(RValue cycles) {
this.cycles = cycles;
}
public RValue getCycles() {
return cycles;
}
}
/** KickAssembler directive specifying a constant used by the kickasm code. */
public static class KasmDirectiveUses implements KasmDirective {
public static class AsmDirectiveUses implements AsmDirective {
/** constant/variable used by the KickAssembler-code. */
private SymbolVariableRef uses;
@ -282,7 +280,7 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
return uses;
}
public KasmDirectiveUses(SymbolVariableRef uses) {
public AsmDirectiveUses(SymbolVariableRef uses) {
this.uses = uses;
}
@ -290,10 +288,15 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
this.uses = uses;
}
@Override
public String toString() {
return "uses";
}
}
@Override
public Object visitKasmDirectiveUses(KickCParser.KasmDirectiveUsesContext ctx) {
public Object visitAsmDirectiveUses(KickCParser.AsmDirectiveUsesContext ctx) {
String varName = ctx.NAME().getText();
SymbolVariableRef variableRef;
Symbol symbol = getCurrentSymbols().getSymbol(varName);
@ -305,21 +308,41 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
// Either forward reference or a non-existing variable. Create a forward reference for later resolving.
variableRef = new ForwardVariableRef(varName);
}
return new KasmDirectiveUses(variableRef);
return new AsmDirectiveUses(variableRef);
}
/** KickAssembler directive specifying the number of cycles for generated code/data. */
public static class AsmDirectiveCycles implements AsmDirective {
/** cycles for the KickAssembler-code. */
private RValue cycles;
public AsmDirectiveCycles(RValue cycles) {
this.cycles = cycles;
}
public RValue getCycles() {
return cycles;
}
@Override
public String toString() {
return "cycles";
}
}
@Override
public KasmDirective visitKasmDirectiveCycles(KickCParser.KasmDirectiveCyclesContext ctx) {
public AsmDirective visitAsmDirectiveCycles(KickCParser.AsmDirectiveCyclesContext ctx) {
if(ctx.expr() != null) {
RValue cycles = (RValue) this.visit(ctx.expr());
return new KasmDirectiveCycles(cycles);
return new AsmDirectiveCycles(cycles);
} else {
return null;
}
}
@Override
public Object visitKasmDirectiveResource(KickCParser.KasmDirectiveResourceContext ctx) {
public Object visitAsmDirectiveResource(KickCParser.AsmDirectiveResourceContext ctx) {
TerminalNode resource = ctx.STRING();
String resourceName = resource.getText();
resourceName = resourceName.substring(1, resourceName.length() - 1);
@ -332,6 +355,41 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
return null;
}
/** ASM Directive specifying clobber registers. */
private class AsmDirectiveClobber implements AsmDirective {
private AsmClobber clobber;
public AsmDirectiveClobber(AsmClobber clobber) {
this.clobber = clobber;
}
public AsmClobber getClobber() {
return clobber;
}
@Override
public String toString() {
return "clobbers";
}
}
@Override
public AsmDirectiveClobber visitAsmDirectiveClobber(KickCParser.AsmDirectiveClobberContext ctx) {
String clobberString = ctx.STRING().getText().toUpperCase();
clobberString = clobberString.substring(1, clobberString.length()-1);
if(!clobberString.matches("[AXY]*")) {
throw new CompileError("Error! Illegal clobber value " + clobberString, new StatementSource(ctx));
}
AsmClobber clobber = new AsmClobber();
clobber.setClobberA(clobberString.contains("A"));
clobber.setClobberX(clobberString.contains("X"));
clobber.setClobberY(clobberString.contains("Y"));
return new AsmDirectiveClobber(clobber);
}
@Override
public Object visitDeclVariable(KickCParser.DeclVariableContext ctx) {
SymbolType type = (SymbolType) visit(ctx.typeDecl());
@ -742,6 +800,8 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
for(AsmDirective asmDirective : asmDirectives) {
if(asmDirective instanceof AsmDirectiveClobber) {
declaredClobber = ((AsmDirectiveClobber) asmDirective).getClobber();
} else {
throw new CompileError("inline ASM does not support directive "+asmDirective, new StatementSource(ctx));
}
}
}
@ -750,50 +810,6 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
return null;
}
@Override
public List<AsmDirective> visitAsmDirectives(KickCParser.AsmDirectivesContext ctx) {
ArrayList<AsmDirective> asmDirectives = new ArrayList<>();
List<KickCParser.AsmDirectiveContext> params = ctx.asmDirective();
for(KickCParser.AsmDirectiveContext param : params) {
AsmDirective directive = (AsmDirective) visit(param);
if(directive != null) {
asmDirectives.add(directive);
}
}
return asmDirectives;
}
/** Directives for inline ASM. */
private interface AsmDirective {
}
/** ASM Directive specifying clobber registers. */
private class AsmDirectiveClobber implements AsmDirective {
private AsmClobber clobber;
public AsmDirectiveClobber(AsmClobber clobber) {
this.clobber = clobber;
}
public AsmClobber getClobber() {
return clobber;
}
}
@Override
public AsmDirectiveClobber visitAsmDirectiveClobber(KickCParser.AsmDirectiveClobberContext ctx) {
String clobberString = ctx.STRING().getText().toUpperCase();
clobberString = clobberString.substring(1, clobberString.length()-1);
if(!clobberString.matches("[AXY]*")) {
throw new CompileError("Error! Illegal clobber value " + clobberString, new StatementSource(ctx));
}
AsmClobber clobber = new AsmClobber();
clobber.setClobberA(clobberString.contains("A"));
clobber.setClobberX(clobberString.contains("X"));
clobber.setClobberY(clobberString.contains("Y"));
return new AsmDirectiveClobber(clobber);
}
/**
* Find all referenced symbol variables
* @param ctx An ASM statement

View File

@ -563,6 +563,9 @@ public class Pass4CodeGeneration {
if(statementKasm.getLocation() == null) {
addKickAsm(asm, statementKasm);
}
if(statementKasm.getDeclaredClobber()!=null) {
asm.getCurrentSegment().setClobberOverwrite(statementKasm.getDeclaredClobber());
}
} else {
throw new RuntimeException("Statement not supported " + statement);
}

View File

@ -39,9 +39,19 @@ public class TestPrograms {
@AfterClass
public static void tearDown() {
CompileLog log = getLogSysout();
AsmFragmentTemplateUsages.logUsages(log, false, false, false, false, false, false);
}
@Test
public void testInlineKickAsmClobber() throws IOException, URISyntaxException {
compileAndCompare("inline-kasm-clobber");
}
private static CompileLog getLogSysout() {
CompileLog log = new CompileLog();
log.setSysOut(true);
AsmFragmentTemplateUsages.logUsages(log, false, false, false, false, false, false);
return log;
}
@Test

View File

@ -0,0 +1,15 @@
// Tests that inline kickasm supports the clobbering directive
byte* SCREEN = $0400;
void main() {
for(byte k : 0..10) {
for(byte l: 0..10) {
for(byte m: 0..10) {
kickasm(uses SCREEN, clobbers "AX") {{
lda #0
ldx #0
sta SCREEN,x
}}
}
}
}
}

View File

@ -0,0 +1,33 @@
// Tests that inline kickasm supports the clobbering directive
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
.label SCREEN = $400
main: {
.label l = 3
.label k = 2
lda #0
sta k
b1:
lda #0
sta l
b2:
ldy #0
b3:
lda #0
ldx #0
sta SCREEN,x
iny
cpy #$b
bne b3
inc l
lda l
cmp #$b
bne b2
inc k
lda k
cmp #$b
bne b1
rts
}

View File

@ -0,0 +1,38 @@
@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
[1] phi()
[2] call main
to:@end
@end: scope:[] from @1
[3] phi()
main: scope:[main] from @1
[4] phi()
to:main::@1
main::@1: scope:[main] from main main::@5
[5] (byte) main::k#6 ← phi( main/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@5/(byte) main::k#1 )
to:main::@2
main::@2: scope:[main] from main::@1 main::@4
[6] (byte) main::l#4 ← phi( main::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@4/(byte) main::l#1 )
to:main::@3
main::@3: scope:[main] from main::@2 main::@3
[7] (byte) main::m#2 ← phi( main::@2/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@3/(byte) main::m#1 )
kickasm( uses SCREEN#0) {{ lda #0
ldx #0
sta SCREEN,x
}}
[9] (byte) main::m#1 ← ++ (byte) main::m#2
[10] if((byte) main::m#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@3
to:main::@4
main::@4: scope:[main] from main::@3
[11] (byte) main::l#1 ← ++ (byte) main::l#4
[12] if((byte) main::l#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@2
to:main::@5
main::@5: scope:[main] from main::@4
[13] (byte) main::k#1 ← ++ (byte) main::k#6
[14] if((byte) main::k#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@1
to:main::@return
main::@return: scope:[main] from main::@5
[15] return
to:@return

View File

@ -0,0 +1,611 @@
CONTROL FLOW GRAPH SSA
@begin: scope:[] from
(byte*) SCREEN#0 ← ((byte*)) (word/signed word/dword/signed dword) $400
to:@1
main: scope:[main] from @1
(byte*) SCREEN#5 ← phi( @1/(byte*) SCREEN#7 )
(byte) main::k#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0
to:main::@1
main::@1: scope:[main] from main main::@5
(byte) main::k#6 ← phi( main/(byte) main::k#0 main::@5/(byte) main::k#1 )
(byte*) SCREEN#3 ← phi( main/(byte*) SCREEN#5 main::@5/(byte*) SCREEN#6 )
(byte) main::l#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0
to:main::@2
main::@2: scope:[main] from main::@1 main::@4
(byte) main::k#5 ← phi( main::@1/(byte) main::k#6 main::@4/(byte) main::k#3 )
(byte) main::l#4 ← phi( main::@1/(byte) main::l#0 main::@4/(byte) main::l#1 )
(byte*) SCREEN#2 ← phi( main::@1/(byte*) SCREEN#3 main::@4/(byte*) SCREEN#4 )
(byte) main::m#0 ← (byte/signed byte/word/signed word/dword/signed dword) 0
to:main::@3
main::@3: scope:[main] from main::@2 main::@3
(byte) main::k#4 ← phi( main::@2/(byte) main::k#5 main::@3/(byte) main::k#4 )
(byte) main::l#3 ← phi( main::@2/(byte) main::l#4 main::@3/(byte) main::l#3 )
(byte) main::m#2 ← phi( main::@2/(byte) main::m#0 main::@3/(byte) main::m#1 )
(byte*) SCREEN#1 ← phi( main::@2/(byte*) SCREEN#2 main::@3/(byte*) SCREEN#1 )
kickasm( uses SCREEN#1) {{ lda #0
ldx #0
sta SCREEN,x
}}
(byte) main::m#1 ← (byte) main::m#2 + rangenext(0,$a)
(bool~) main::$0 ← (byte) main::m#1 != rangelast(0,$a)
if((bool~) main::$0) goto main::@3
to:main::@4
main::@4: scope:[main] from main::@3
(byte*) SCREEN#4 ← phi( main::@3/(byte*) SCREEN#1 )
(byte) main::k#3 ← phi( main::@3/(byte) main::k#4 )
(byte) main::l#2 ← phi( main::@3/(byte) main::l#3 )
(byte) main::l#1 ← (byte) main::l#2 + rangenext(0,$a)
(bool~) main::$1 ← (byte) main::l#1 != rangelast(0,$a)
if((bool~) main::$1) goto main::@2
to:main::@5
main::@5: scope:[main] from main::@4
(byte*) SCREEN#6 ← phi( main::@4/(byte*) SCREEN#4 )
(byte) main::k#2 ← phi( main::@4/(byte) main::k#3 )
(byte) main::k#1 ← (byte) main::k#2 + rangenext(0,$a)
(bool~) main::$2 ← (byte) main::k#1 != rangelast(0,$a)
if((bool~) main::$2) goto main::@1
to:main::@return
main::@return: scope:[main] from main::@5
return
to:@return
@1: scope:[] from @begin
(byte*) SCREEN#7 ← phi( @begin/(byte*) SCREEN#0 )
call main
to:@2
@2: scope:[] from @1
to:@end
@end: scope:[] from @2
SYMBOL TABLE SSA
(label) @1
(label) @2
(label) @begin
(label) @end
(byte*) SCREEN
(byte*) SCREEN#0
(byte*) SCREEN#1
(byte*) SCREEN#2
(byte*) SCREEN#3
(byte*) SCREEN#4
(byte*) SCREEN#5
(byte*) SCREEN#6
(byte*) SCREEN#7
(void()) main()
(bool~) main::$0
(bool~) main::$1
(bool~) main::$2
(label) main::@1
(label) main::@2
(label) main::@3
(label) main::@4
(label) main::@5
(label) main::@return
(byte) main::k
(byte) main::k#0
(byte) main::k#1
(byte) main::k#2
(byte) main::k#3
(byte) main::k#4
(byte) main::k#5
(byte) main::k#6
(byte) main::l
(byte) main::l#0
(byte) main::l#1
(byte) main::l#2
(byte) main::l#3
(byte) main::l#4
(byte) main::m
(byte) main::m#0
(byte) main::m#1
(byte) main::m#2
Culled Empty Block (label) @2
Successful SSA optimization Pass2CullEmptyBlocks
Alias (byte) main::l#2 = (byte) main::l#3
Alias (byte) main::k#2 = (byte) main::k#3 (byte) main::k#4
Alias (byte*) SCREEN#1 = (byte*) SCREEN#4 (byte*) SCREEN#6
Alias (byte*) SCREEN#0 = (byte*) SCREEN#7
Successful SSA optimization Pass2AliasElimination
Self Phi Eliminated (byte*) SCREEN#1
Self Phi Eliminated (byte) main::l#2
Self Phi Eliminated (byte) main::k#2
Successful SSA optimization Pass2SelfPhiElimination
Redundant Phi (byte*) SCREEN#5 (byte*) SCREEN#0
Redundant Phi (byte*) SCREEN#1 (byte*) SCREEN#2
Redundant Phi (byte) main::l#2 (byte) main::l#4
Redundant Phi (byte) main::k#2 (byte) main::k#5
Successful SSA optimization Pass2RedundantPhiElimination
Simple Condition (bool~) main::$0 [11] if((byte) main::m#1!=rangelast(0,$a)) goto main::@3
Simple Condition (bool~) main::$1 [15] if((byte) main::l#1!=rangelast(0,$a)) goto main::@2
Simple Condition (bool~) main::$2 [19] if((byte) main::k#1!=rangelast(0,$a)) goto main::@1
Successful SSA optimization Pass2ConditionalJumpSimplification
Constant (const byte*) SCREEN#0 = ((byte*))$400
Constant (const byte) main::k#0 = 0
Constant (const byte) main::l#0 = 0
Constant (const byte) main::m#0 = 0
Successful SSA optimization Pass2ConstantIdentification
Resolved ranged next value main::m#1 ← ++ main::m#2 to ++
Resolved ranged comparison value if(main::m#1!=rangelast(0,$a)) goto main::@3 to (byte/signed byte/word/signed word/dword/signed dword) $b
Resolved ranged next value main::l#1 ← ++ main::l#4 to ++
Resolved ranged comparison value if(main::l#1!=rangelast(0,$a)) goto main::@2 to (byte/signed byte/word/signed word/dword/signed dword) $b
Resolved ranged next value main::k#1 ← ++ main::k#5 to ++
Resolved ranged comparison value if(main::k#1!=rangelast(0,$a)) goto main::@1 to (byte/signed byte/word/signed word/dword/signed dword) $b
Self Phi Eliminated (byte*) SCREEN#2
Self Phi Eliminated (byte) main::k#5
Successful SSA optimization Pass2SelfPhiElimination
Redundant Phi (byte*) SCREEN#2 (byte*) SCREEN#3
Redundant Phi (byte) main::k#5 (byte) main::k#6
Successful SSA optimization Pass2RedundantPhiElimination
Self Phi Eliminated (byte*) SCREEN#3
Successful SSA optimization Pass2SelfPhiElimination
Redundant Phi (byte*) SCREEN#3 (const byte*) SCREEN#0
Successful SSA optimization Pass2RedundantPhiElimination
Inlining constant with var siblings (const byte) main::k#0
Inlining constant with var siblings (const byte) main::l#0
Inlining constant with var siblings (const byte) main::m#0
Constant inlined main::k#0 = (byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::m#0 = (byte/signed byte/word/signed word/dword/signed dword) 0
Constant inlined main::l#0 = (byte/signed byte/word/signed word/dword/signed dword) 0
Successful SSA optimization Pass2ConstantInlining
Added new block during phi lifting main::@7(between main::@5 and main::@1)
Added new block during phi lifting main::@8(between main::@4 and main::@2)
Added new block during phi lifting main::@9(between main::@3 and main::@3)
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
CALL GRAPH
Calls in [] to main:2
Created 3 initial phi equivalence classes
Coalesced [16] main::k#7 ← main::k#1
Coalesced [17] main::l#5 ← main::l#1
Coalesced [18] main::m#3 ← main::m#1
Coalesced down to 3 phi equivalence classes
Culled Empty Block (label) main::@7
Culled Empty Block (label) main::@8
Culled Empty Block (label) main::@9
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
FINAL CONTROL FLOW GRAPH
@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
[1] phi()
[2] call main
to:@end
@end: scope:[] from @1
[3] phi()
main: scope:[main] from @1
[4] phi()
to:main::@1
main::@1: scope:[main] from main main::@5
[5] (byte) main::k#6 ← phi( main/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@5/(byte) main::k#1 )
to:main::@2
main::@2: scope:[main] from main::@1 main::@4
[6] (byte) main::l#4 ← phi( main::@1/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@4/(byte) main::l#1 )
to:main::@3
main::@3: scope:[main] from main::@2 main::@3
[7] (byte) main::m#2 ← phi( main::@2/(byte/signed byte/word/signed word/dword/signed dword) 0 main::@3/(byte) main::m#1 )
kickasm( uses SCREEN#0) {{ lda #0
ldx #0
sta SCREEN,x
}}
[9] (byte) main::m#1 ← ++ (byte) main::m#2
[10] if((byte) main::m#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@3
to:main::@4
main::@4: scope:[main] from main::@3
[11] (byte) main::l#1 ← ++ (byte) main::l#4
[12] if((byte) main::l#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@2
to:main::@5
main::@5: scope:[main] from main::@4
[13] (byte) main::k#1 ← ++ (byte) main::k#6
[14] if((byte) main::k#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@1
to:main::@return
main::@return: scope:[main] from main::@5
[15] return
to:@return
VARIABLE REGISTER WEIGHTS
(byte*) SCREEN
(void()) main()
(byte) main::k
(byte) main::k#1 16.5
(byte) main::k#6 2.75
(byte) main::l
(byte) main::l#1 151.5
(byte) main::l#4 40.4
(byte) main::m
(byte) main::m#1 1501.5
(byte) main::m#2 1001.0
Initial phi equivalence classes
[ main::k#6 main::k#1 ]
[ main::l#4 main::l#1 ]
[ main::m#2 main::m#1 ]
Complete equivalence classes
[ main::k#6 main::k#1 ]
[ main::l#4 main::l#1 ]
[ main::m#2 main::m#1 ]
Allocated zp ZP_BYTE:2 [ main::k#6 main::k#1 ]
Allocated zp ZP_BYTE:3 [ main::l#4 main::l#1 ]
Allocated zp ZP_BYTE:4 [ main::m#2 main::m#1 ]
INITIAL ASM
//SEG0 File Comments
// Tests that inline kickasm supports the clobbering directive
//SEG1 Basic Upstart
.pc = $801 "Basic"
:BasicUpstart(bbegin)
.pc = $80d "Program"
//SEG2 Global Constants & labels
.label SCREEN = $400
//SEG3 @begin
bbegin:
//SEG4 [1] phi from @begin to @1 [phi:@begin->@1]
b1_from_bbegin:
jmp b1
//SEG5 @1
b1:
//SEG6 [2] call main
//SEG7 [4] phi from @1 to main [phi:@1->main]
main_from_b1:
jsr main
//SEG8 [3] phi from @1 to @end [phi:@1->@end]
bend_from_b1:
jmp bend
//SEG9 @end
bend:
//SEG10 main
main: {
.label m = 4
.label l = 3
.label k = 2
//SEG11 [5] phi from main to main::@1 [phi:main->main::@1]
b1_from_main:
//SEG12 [5] phi (byte) main::k#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main->main::@1#0] -- vbuz1=vbuc1
lda #0
sta k
jmp b1
//SEG13 [5] phi from main::@5 to main::@1 [phi:main::@5->main::@1]
b1_from_b5:
//SEG14 [5] phi (byte) main::k#6 = (byte) main::k#1 [phi:main::@5->main::@1#0] -- register_copy
jmp b1
//SEG15 main::@1
b1:
//SEG16 [6] phi from main::@1 to main::@2 [phi:main::@1->main::@2]
b2_from_b1:
//SEG17 [6] phi (byte) main::l#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@1->main::@2#0] -- vbuz1=vbuc1
lda #0
sta l
jmp b2
//SEG18 [6] phi from main::@4 to main::@2 [phi:main::@4->main::@2]
b2_from_b4:
//SEG19 [6] phi (byte) main::l#4 = (byte) main::l#1 [phi:main::@4->main::@2#0] -- register_copy
jmp b2
//SEG20 main::@2
b2:
//SEG21 [7] phi from main::@2 to main::@3 [phi:main::@2->main::@3]
b3_from_b2:
//SEG22 [7] phi (byte) main::m#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@2->main::@3#0] -- vbuz1=vbuc1
lda #0
sta m
jmp b3
//SEG23 [7] phi from main::@3 to main::@3 [phi:main::@3->main::@3]
b3_from_b3:
//SEG24 [7] phi (byte) main::m#2 = (byte) main::m#1 [phi:main::@3->main::@3#0] -- register_copy
jmp b3
//SEG25 main::@3
b3:
//SEG26 kickasm( uses SCREEN#0) {{ lda #0 ldx #0 sta SCREEN,x }}
lda #0
ldx #0
sta SCREEN,x
//SEG27 [9] (byte) main::m#1 ← ++ (byte) main::m#2 -- vbuz1=_inc_vbuz1
inc m
//SEG28 [10] if((byte) main::m#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@3 -- vbuz1_neq_vbuc1_then_la1
lda m
cmp #$b
bne b3_from_b3
jmp b4
//SEG29 main::@4
b4:
//SEG30 [11] (byte) main::l#1 ← ++ (byte) main::l#4 -- vbuz1=_inc_vbuz1
inc l
//SEG31 [12] if((byte) main::l#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@2 -- vbuz1_neq_vbuc1_then_la1
lda l
cmp #$b
bne b2_from_b4
jmp b5
//SEG32 main::@5
b5:
//SEG33 [13] (byte) main::k#1 ← ++ (byte) main::k#6 -- vbuz1=_inc_vbuz1
inc k
//SEG34 [14] if((byte) main::k#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@1 -- vbuz1_neq_vbuc1_then_la1
lda k
cmp #$b
bne b1_from_b5
jmp breturn
//SEG35 main::@return
breturn:
//SEG36 [15] return
rts
}
REGISTER UPLIFT POTENTIAL REGISTERS
Statement kickasm( uses SCREEN#0) {{ lda #0
ldx #0
sta SCREEN,x
}} always clobbers reg byte a reg byte x
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:2 [ main::k#6 main::k#1 ]
Removing always clobbered register reg byte x as potential for zp ZP_BYTE:2 [ main::k#6 main::k#1 ]
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:3 [ main::l#4 main::l#1 ]
Removing always clobbered register reg byte x as potential for zp ZP_BYTE:3 [ main::l#4 main::l#1 ]
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:4 [ main::m#2 main::m#1 ]
Removing always clobbered register reg byte x as potential for zp ZP_BYTE:4 [ main::m#2 main::m#1 ]
Statement kickasm( uses SCREEN#0) {{ lda #0
ldx #0
sta SCREEN,x
}} always clobbers reg byte a reg byte x
Potential registers zp ZP_BYTE:2 [ main::k#6 main::k#1 ] : zp ZP_BYTE:2 , reg byte y ,
Potential registers zp ZP_BYTE:3 [ main::l#4 main::l#1 ] : zp ZP_BYTE:3 , reg byte y ,
Potential registers zp ZP_BYTE:4 [ main::m#2 main::m#1 ] : zp ZP_BYTE:4 , reg byte y ,
REGISTER UPLIFT SCOPES
Uplift Scope [main] 2,502.5: zp ZP_BYTE:4 [ main::m#2 main::m#1 ] 191.9: zp ZP_BYTE:3 [ main::l#4 main::l#1 ] 19.25: zp ZP_BYTE:2 [ main::k#6 main::k#1 ]
Uplift Scope []
Uplifting [main] best 276433 combination reg byte y [ main::m#2 main::m#1 ] zp ZP_BYTE:3 [ main::l#4 main::l#1 ] zp ZP_BYTE:2 [ main::k#6 main::k#1 ]
Uplifting [] best 276433 combination
Attempting to uplift remaining variables inzp ZP_BYTE:3 [ main::l#4 main::l#1 ]
Uplifting [main] best 276433 combination zp ZP_BYTE:3 [ main::l#4 main::l#1 ]
Attempting to uplift remaining variables inzp ZP_BYTE:2 [ main::k#6 main::k#1 ]
Uplifting [main] best 276433 combination zp ZP_BYTE:2 [ main::k#6 main::k#1 ]
ASSEMBLER BEFORE OPTIMIZATION
//SEG0 File Comments
// Tests that inline kickasm supports the clobbering directive
//SEG1 Basic Upstart
.pc = $801 "Basic"
:BasicUpstart(bbegin)
.pc = $80d "Program"
//SEG2 Global Constants & labels
.label SCREEN = $400
//SEG3 @begin
bbegin:
//SEG4 [1] phi from @begin to @1 [phi:@begin->@1]
b1_from_bbegin:
jmp b1
//SEG5 @1
b1:
//SEG6 [2] call main
//SEG7 [4] phi from @1 to main [phi:@1->main]
main_from_b1:
jsr main
//SEG8 [3] phi from @1 to @end [phi:@1->@end]
bend_from_b1:
jmp bend
//SEG9 @end
bend:
//SEG10 main
main: {
.label l = 3
.label k = 2
//SEG11 [5] phi from main to main::@1 [phi:main->main::@1]
b1_from_main:
//SEG12 [5] phi (byte) main::k#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main->main::@1#0] -- vbuz1=vbuc1
lda #0
sta k
jmp b1
//SEG13 [5] phi from main::@5 to main::@1 [phi:main::@5->main::@1]
b1_from_b5:
//SEG14 [5] phi (byte) main::k#6 = (byte) main::k#1 [phi:main::@5->main::@1#0] -- register_copy
jmp b1
//SEG15 main::@1
b1:
//SEG16 [6] phi from main::@1 to main::@2 [phi:main::@1->main::@2]
b2_from_b1:
//SEG17 [6] phi (byte) main::l#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@1->main::@2#0] -- vbuz1=vbuc1
lda #0
sta l
jmp b2
//SEG18 [6] phi from main::@4 to main::@2 [phi:main::@4->main::@2]
b2_from_b4:
//SEG19 [6] phi (byte) main::l#4 = (byte) main::l#1 [phi:main::@4->main::@2#0] -- register_copy
jmp b2
//SEG20 main::@2
b2:
//SEG21 [7] phi from main::@2 to main::@3 [phi:main::@2->main::@3]
b3_from_b2:
//SEG22 [7] phi (byte) main::m#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@2->main::@3#0] -- vbuyy=vbuc1
ldy #0
jmp b3
//SEG23 [7] phi from main::@3 to main::@3 [phi:main::@3->main::@3]
b3_from_b3:
//SEG24 [7] phi (byte) main::m#2 = (byte) main::m#1 [phi:main::@3->main::@3#0] -- register_copy
jmp b3
//SEG25 main::@3
b3:
//SEG26 kickasm( uses SCREEN#0) {{ lda #0 ldx #0 sta SCREEN,x }}
lda #0
ldx #0
sta SCREEN,x
//SEG27 [9] (byte) main::m#1 ← ++ (byte) main::m#2 -- vbuyy=_inc_vbuyy
iny
//SEG28 [10] if((byte) main::m#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@3 -- vbuyy_neq_vbuc1_then_la1
cpy #$b
bne b3_from_b3
jmp b4
//SEG29 main::@4
b4:
//SEG30 [11] (byte) main::l#1 ← ++ (byte) main::l#4 -- vbuz1=_inc_vbuz1
inc l
//SEG31 [12] if((byte) main::l#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@2 -- vbuz1_neq_vbuc1_then_la1
lda l
cmp #$b
bne b2_from_b4
jmp b5
//SEG32 main::@5
b5:
//SEG33 [13] (byte) main::k#1 ← ++ (byte) main::k#6 -- vbuz1=_inc_vbuz1
inc k
//SEG34 [14] if((byte) main::k#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@1 -- vbuz1_neq_vbuc1_then_la1
lda k
cmp #$b
bne b1_from_b5
jmp breturn
//SEG35 main::@return
breturn:
//SEG36 [15] return
rts
}
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 breturn
Succesful ASM optimization Pass5NextJumpElimination
Replacing label b3_from_b3 with b3
Replacing label b2_from_b4 with b2
Replacing label b1_from_b5 with b1
Removing instruction b1_from_bbegin:
Removing instruction b1:
Removing instruction main_from_b1:
Removing instruction bend_from_b1:
Removing instruction b1_from_b5:
Removing instruction b2_from_b1:
Removing instruction b2_from_b4:
Removing instruction b3_from_b2:
Removing instruction b3_from_b3:
Succesful ASM optimization Pass5RedundantLabelElimination
Removing instruction bend:
Removing instruction b1_from_main:
Removing instruction b4:
Removing instruction b5:
Removing instruction breturn:
Succesful ASM optimization Pass5UnusedLabelElimination
Updating BasicUpstart to call main directly
Removing instruction jsr main
Succesful ASM optimization Pass5SkipBegin
Removing instruction jmp b1
Removing instruction jmp b2
Removing instruction jmp b3
Succesful ASM optimization Pass5NextJumpElimination
Removing instruction bbegin:
Succesful ASM optimization Pass5UnusedLabelElimination
FINAL SYMBOL TABLE
(label) @1
(label) @begin
(label) @end
(byte*) SCREEN
(const byte*) SCREEN#0 SCREEN = ((byte*))(word/signed word/dword/signed dword) $400
(void()) main()
(label) main::@1
(label) main::@2
(label) main::@3
(label) main::@4
(label) main::@5
(label) main::@return
(byte) main::k
(byte) main::k#1 k zp ZP_BYTE:2 16.5
(byte) main::k#6 k zp ZP_BYTE:2 2.75
(byte) main::l
(byte) main::l#1 l zp ZP_BYTE:3 151.5
(byte) main::l#4 l zp ZP_BYTE:3 40.4
(byte) main::m
(byte) main::m#1 reg byte y 1501.5
(byte) main::m#2 reg byte y 1001.0
zp ZP_BYTE:2 [ main::k#6 main::k#1 ]
zp ZP_BYTE:3 [ main::l#4 main::l#1 ]
reg byte y [ main::m#2 main::m#1 ]
FINAL ASSEMBLER
Score: 266431
//SEG0 File Comments
// Tests that inline kickasm supports the clobbering directive
//SEG1 Basic Upstart
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
//SEG2 Global Constants & labels
.label SCREEN = $400
//SEG3 @begin
//SEG4 [1] phi from @begin to @1 [phi:@begin->@1]
//SEG5 @1
//SEG6 [2] call main
//SEG7 [4] phi from @1 to main [phi:@1->main]
//SEG8 [3] phi from @1 to @end [phi:@1->@end]
//SEG9 @end
//SEG10 main
main: {
.label l = 3
.label k = 2
//SEG11 [5] phi from main to main::@1 [phi:main->main::@1]
//SEG12 [5] phi (byte) main::k#6 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main->main::@1#0] -- vbuz1=vbuc1
lda #0
sta k
//SEG13 [5] phi from main::@5 to main::@1 [phi:main::@5->main::@1]
//SEG14 [5] phi (byte) main::k#6 = (byte) main::k#1 [phi:main::@5->main::@1#0] -- register_copy
//SEG15 main::@1
b1:
//SEG16 [6] phi from main::@1 to main::@2 [phi:main::@1->main::@2]
//SEG17 [6] phi (byte) main::l#4 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@1->main::@2#0] -- vbuz1=vbuc1
lda #0
sta l
//SEG18 [6] phi from main::@4 to main::@2 [phi:main::@4->main::@2]
//SEG19 [6] phi (byte) main::l#4 = (byte) main::l#1 [phi:main::@4->main::@2#0] -- register_copy
//SEG20 main::@2
b2:
//SEG21 [7] phi from main::@2 to main::@3 [phi:main::@2->main::@3]
//SEG22 [7] phi (byte) main::m#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@2->main::@3#0] -- vbuyy=vbuc1
ldy #0
//SEG23 [7] phi from main::@3 to main::@3 [phi:main::@3->main::@3]
//SEG24 [7] phi (byte) main::m#2 = (byte) main::m#1 [phi:main::@3->main::@3#0] -- register_copy
//SEG25 main::@3
b3:
//SEG26 kickasm( uses SCREEN#0) {{ lda #0 ldx #0 sta SCREEN,x }}
lda #0
ldx #0
sta SCREEN,x
//SEG27 [9] (byte) main::m#1 ← ++ (byte) main::m#2 -- vbuyy=_inc_vbuyy
iny
//SEG28 [10] if((byte) main::m#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@3 -- vbuyy_neq_vbuc1_then_la1
cpy #$b
bne b3
//SEG29 main::@4
//SEG30 [11] (byte) main::l#1 ← ++ (byte) main::l#4 -- vbuz1=_inc_vbuz1
inc l
//SEG31 [12] if((byte) main::l#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@2 -- vbuz1_neq_vbuc1_then_la1
lda l
cmp #$b
bne b2
//SEG32 main::@5
//SEG33 [13] (byte) main::k#1 ← ++ (byte) main::k#6 -- vbuz1=_inc_vbuz1
inc k
//SEG34 [14] if((byte) main::k#1!=(byte/signed byte/word/signed word/dword/signed dword) $b) goto main::@1 -- vbuz1_neq_vbuc1_then_la1
lda k
cmp #$b
bne b1
//SEG35 main::@return
//SEG36 [15] return
rts
}

View File

@ -0,0 +1,25 @@
(label) @1
(label) @begin
(label) @end
(byte*) SCREEN
(const byte*) SCREEN#0 SCREEN = ((byte*))(word/signed word/dword/signed dword) $400
(void()) main()
(label) main::@1
(label) main::@2
(label) main::@3
(label) main::@4
(label) main::@5
(label) main::@return
(byte) main::k
(byte) main::k#1 k zp ZP_BYTE:2 16.5
(byte) main::k#6 k zp ZP_BYTE:2 2.75
(byte) main::l
(byte) main::l#1 l zp ZP_BYTE:3 151.5
(byte) main::l#4 l zp ZP_BYTE:3 40.4
(byte) main::m
(byte) main::m#1 reg byte y 1501.5
(byte) main::m#2 reg byte y 1001.0
zp ZP_BYTE:2 [ main::k#6 main::k#1 ]
zp ZP_BYTE:3 [ main::l#4 main::l#1 ]
reg byte y [ main::m#2 main::m#1 ]