OpenCores
URL https://opencores.org/ocsvn/hpc-16/hpc-16/trunk

Subversion Repositories hpc-16

[/] [hpc-16/] [trunk/] [impl0/] [asm/] [HPC16Lexer.py] - Rev 18

Compare with Previous | Blame | View Log

# Generated from HPC16.g4 by ANTLR 4.5.1
# encoding: utf-8
from __future__ import print_function
from antlr4 import *
from io import StringIO
 
 
def serializedATN():
    with StringIO() as buf:
        buf.write(u"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2")
        buf.write(u"R\u01fc\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4")
        buf.write(u"\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")
        buf.write(u"\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22")
        buf.write(u"\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4")
        buf.write(u"\30\t\30\4\31\t\31\4\32\t\32\4\33\t\33\4\34\t\34\4\35")
        buf.write(u"\t\35\4\36\t\36\4\37\t\37\4 \t \4!\t!\4\"\t\"\4#\t#\4")
        buf.write(u"$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4,\t")
        buf.write(u",\4-\t-\4.\t.\4/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63")
        buf.write(u"\t\63\4\64\t\64\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\4")
        buf.write(u"9\t9\4:\t:\4;\t;\4<\t<\4=\t=\4>\t>\4?\t?\4@\t@\4A\tA")
        buf.write(u"\4B\tB\4C\tC\4D\tD\4E\tE\4F\tF\4G\tG\4H\tH\4I\tI\4J\t")
        buf.write(u"J\4K\tK\4L\tL\4M\tM\4N\tN\4O\tO\4P\tP\4Q\tQ\3\2\3\2\3")
        buf.write(u"\2\3\2\3\3\3\3\3\4\3\4\3\4\3\5\3\5\3\6\3\6\3\7\3\7\3")
        buf.write(u"\b\3\b\3\b\3\t\3\t\3\t\3\t\3\t\3\n\3\n\3\n\3\n\3\n\3")
        buf.write(u"\13\3\13\3\13\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\16\3\16\3")
        buf.write(u"\16\3\16\3\17\3\17\3\17\3\17\3\20\3\20\3\20\3\20\3\21")
        buf.write(u"\3\21\3\21\3\21\3\22\3\22\3\22\3\22\3\23\3\23\3\23\3")
        buf.write(u"\23\3\24\3\24\3\24\3\25\3\25\3\25\3\25\3\26\3\26\3\26")
        buf.write(u"\3\26\3\27\3\27\3\27\3\27\3\30\3\30\3\30\3\30\3\30\3")
        buf.write(u"\31\3\31\3\31\3\31\3\32\3\32\3\32\3\32\3\33\3\33\3\33")
        buf.write(u"\3\33\3\34\3\34\3\34\3\34\3\35\3\35\3\35\3\35\3\36\3")
        buf.write(u"\36\3\36\3\36\3\37\3\37\3\37\3\37\3 \3 \3 \3 \3!\3!\3")
        buf.write(u"!\3!\3!\3\"\3\"\3\"\3\"\3\"\3\"\3#\3#\3#\3#\3$\3$\3$")
        buf.write(u"\3$\3$\3%\3%\3%\3%\3%\3%\3&\3&\3&\3&\3&\3\'\3\'\3\'\3")
        buf.write(u"\'\3(\3(\3(\3(\3(\3)\3)\3)\3)\3*\3*\3*\3*\3+\3+\3+\3")
        buf.write(u"+\3,\3,\3,\3,\3-\3-\3-\3-\3.\3.\3.\3.\3/\3/\3/\3/\3/")
        buf.write(u"\3\60\3\60\3\60\3\60\3\60\3\61\3\61\3\61\3\61\3\62\3")
        buf.write(u"\62\3\62\3\62\3\63\3\63\3\63\3\63\3\64\3\64\3\64\3\65")
        buf.write(u"\3\65\3\65\3\65\3\66\3\66\3\66\3\67\3\67\3\67\3\67\3")
        buf.write(u"\67\38\38\38\38\39\39\39\39\3:\3:\3:\3;\3;\3;\3<\3<\3")
        buf.write(u"<\3<\3=\3=\3=\3=\3>\3>\3>\3>\3?\3?\3?\3?\3@\3@\3@\3@")
        buf.write(u"\3@\3A\3A\3A\3B\3B\3B\3C\3C\3C\3C\3D\3D\3D\3E\3E\3E\3")
        buf.write(u"E\3E\3F\3F\3F\3F\3G\3G\3G\3G\3H\3H\3H\3H\3I\3I\3I\3I")
        buf.write(u"\3J\3J\3J\3J\3J\3K\3K\3K\3L\3L\6L\u01ca\nL\rL\16L\u01cb")
        buf.write(u"\3M\6M\u01cf\nM\rM\16M\u01d0\3M\3M\3M\3M\6M\u01d7\nM")
        buf.write(u"\rM\16M\u01d8\5M\u01db\nM\3N\3N\3N\3N\5N\u01e1\nN\3O")
        buf.write(u"\6O\u01e4\nO\rO\16O\u01e5\3O\3O\3P\3P\7P\u01ec\nP\fP")
        buf.write(u"\16P\u01ef\13P\3P\5P\u01f2\nP\3P\3P\3P\3P\3Q\5Q\u01f9")
        buf.write(u"\nQ\3Q\3Q\3\u01ed\2R\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21")
        buf.write(u"\n\23\13\25\f\27\r\31\16\33\17\35\20\37\21!\22#\23%\24")
        buf.write(u"\'\25)\26+\27-\30/\31\61\32\63\33\65\34\67\359\36;\37")
        buf.write(u"= ?!A\"C#E$G%I&K\'M(O)Q*S+U,W-Y.[/]\60_\61a\62c\63e\64")
        buf.write(u"g\65i\66k\67m8o9q:s;u<w=y>{?}@\177A\u0081B\u0083C\u0085")
        buf.write(u"D\u0087E\u0089F\u008bG\u008dH\u008fI\u0091J\u0093K\u0095")
        buf.write(u"L\u0097M\u0099N\u009bO\u009dP\u009fQ\u00a1R\3\2\6\4\2")
        buf.write(u"TTtt\3\2\62;\5\2\62;CHch\4\2\13\13\"\"\u0204\2\3\3\2")
        buf.write(u"\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")
        buf.write(u"\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")
        buf.write(u"\25\3\2\2\2\2\27\3\2\2\2\2\31\3\2\2\2\2\33\3\2\2\2\2")
        buf.write(u"\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2\2\2\2%\3\2")
        buf.write(u"\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2/")
        buf.write(u"\3\2\2\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67")
        buf.write(u"\3\2\2\2\29\3\2\2\2\2;\3\2\2\2\2=\3\2\2\2\2?\3\2\2\2")
        buf.write(u"\2A\3\2\2\2\2C\3\2\2\2\2E\3\2\2\2\2G\3\2\2\2\2I\3\2\2")
        buf.write(u"\2\2K\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\2Q\3\2\2\2\2S\3\2")
        buf.write(u"\2\2\2U\3\2\2\2\2W\3\2\2\2\2Y\3\2\2\2\2[\3\2\2\2\2]\3")
        buf.write(u"\2\2\2\2_\3\2\2\2\2a\3\2\2\2\2c\3\2\2\2\2e\3\2\2\2\2")
        buf.write(u"g\3\2\2\2\2i\3\2\2\2\2k\3\2\2\2\2m\3\2\2\2\2o\3\2\2\2")
        buf.write(u"\2q\3\2\2\2\2s\3\2\2\2\2u\3\2\2\2\2w\3\2\2\2\2y\3\2\2")
        buf.write(u"\2\2{\3\2\2\2\2}\3\2\2\2\2\177\3\2\2\2\2\u0081\3\2\2")
        buf.write(u"\2\2\u0083\3\2\2\2\2\u0085\3\2\2\2\2\u0087\3\2\2\2\2")
        buf.write(u"\u0089\3\2\2\2\2\u008b\3\2\2\2\2\u008d\3\2\2\2\2\u008f")
        buf.write(u"\3\2\2\2\2\u0091\3\2\2\2\2\u0093\3\2\2\2\2\u0095\3\2")
        buf.write(u"\2\2\2\u0097\3\2\2\2\2\u0099\3\2\2\2\2\u009b\3\2\2\2")
        buf.write(u"\2\u009d\3\2\2\2\2\u009f\3\2\2\2\2\u00a1\3\2\2\2\3\u00a3")
        buf.write(u"\3\2\2\2\5\u00a7\3\2\2\2\7\u00a9\3\2\2\2\t\u00ac\3\2")
        buf.write(u"\2\2\13\u00ae\3\2\2\2\r\u00b0\3\2\2\2\17\u00b2\3\2\2")
        buf.write(u"\2\21\u00b5\3\2\2\2\23\u00ba\3\2\2\2\25\u00bf\3\2\2\2")
        buf.write(u"\27\u00c2\3\2\2\2\31\u00c5\3\2\2\2\33\u00c9\3\2\2\2\35")
        buf.write(u"\u00cd\3\2\2\2\37\u00d1\3\2\2\2!\u00d5\3\2\2\2#\u00d9")
        buf.write(u"\3\2\2\2%\u00dd\3\2\2\2\'\u00e1\3\2\2\2)\u00e4\3\2\2")
        buf.write(u"\2+\u00e8\3\2\2\2-\u00ec\3\2\2\2/\u00f0\3\2\2\2\61\u00f5")
        buf.write(u"\3\2\2\2\63\u00f9\3\2\2\2\65\u00fd\3\2\2\2\67\u0101\3")
        buf.write(u"\2\2\29\u0105\3\2\2\2;\u0109\3\2\2\2=\u010d\3\2\2\2?")
        buf.write(u"\u0111\3\2\2\2A\u0115\3\2\2\2C\u011a\3\2\2\2E\u0120\3")
        buf.write(u"\2\2\2G\u0124\3\2\2\2I\u0129\3\2\2\2K\u012f\3\2\2\2M")
        buf.write(u"\u0134\3\2\2\2O\u0138\3\2\2\2Q\u013d\3\2\2\2S\u0141\3")
        buf.write(u"\2\2\2U\u0145\3\2\2\2W\u0149\3\2\2\2Y\u014d\3\2\2\2[")
        buf.write(u"\u0151\3\2\2\2]\u0155\3\2\2\2_\u015a\3\2\2\2a\u015f\3")
        buf.write(u"\2\2\2c\u0163\3\2\2\2e\u0167\3\2\2\2g\u016b\3\2\2\2i")
        buf.write(u"\u016e\3\2\2\2k\u0172\3\2\2\2m\u0175\3\2\2\2o\u017a\3")
        buf.write(u"\2\2\2q\u017e\3\2\2\2s\u0182\3\2\2\2u\u0185\3\2\2\2w")
        buf.write(u"\u0188\3\2\2\2y\u018c\3\2\2\2{\u0190\3\2\2\2}\u0194\3")
        buf.write(u"\2\2\2\177\u0198\3\2\2\2\u0081\u019d\3\2\2\2\u0083\u01a0")
        buf.write(u"\3\2\2\2\u0085\u01a3\3\2\2\2\u0087\u01a7\3\2\2\2\u0089")
        buf.write(u"\u01aa\3\2\2\2\u008b\u01af\3\2\2\2\u008d\u01b3\3\2\2")
        buf.write(u"\2\u008f\u01b7\3\2\2\2\u0091\u01bb\3\2\2\2\u0093\u01bf")
        buf.write(u"\3\2\2\2\u0095\u01c4\3\2\2\2\u0097\u01c7\3\2\2\2\u0099")
        buf.write(u"\u01da\3\2\2\2\u009b\u01e0\3\2\2\2\u009d\u01e3\3\2\2")
        buf.write(u"\2\u009f\u01e9\3\2\2\2\u00a1\u01f8\3\2\2\2\u00a3\u00a4")
        buf.write(u"\7o\2\2\u00a4\u00a5\7q\2\2\u00a5\u00a6\7x\2\2\u00a6\4")
        buf.write(u"\3\2\2\2\u00a7\u00a8\7.\2\2\u00a8\6\3\2\2\2\u00a9\u00aa")
        buf.write(u"\7n\2\2\u00aa\u00ab\7f\2\2\u00ab\b\3\2\2\2\u00ac\u00ad")
        buf.write(u"\7*\2\2\u00ad\n\3\2\2\2\u00ae\u00af\7+\2\2\u00af\f\3")
        buf.write(u"\2\2\2\u00b0\u00b1\7-\2\2\u00b1\16\3\2\2\2\u00b2\u00b3")
        buf.write(u"\7u\2\2\u00b3\u00b4\7v\2\2\u00b4\20\3\2\2\2\u00b5\u00b6")
        buf.write(u"\7n\2\2\u00b6\u00b7\7d\2\2\u00b7\u00b8\7|\2\2\u00b8\u00b9")
        buf.write(u"\7z\2\2\u00b9\22\3\2\2\2\u00ba\u00bb\7n\2\2\u00bb\u00bc")
        buf.write(u"\7d\2\2\u00bc\u00bd\7u\2\2\u00bd\u00be\7z\2\2\u00be\24")
        buf.write(u"\3\2\2\2\u00bf\u00c0\7u\2\2\u00c0\u00c1\7d\2\2\u00c1")
        buf.write(u"\26\3\2\2\2\u00c2\u00c3\7n\2\2\u00c3\u00c4\7k\2\2\u00c4")
        buf.write(u"\30\3\2\2\2\u00c5\u00c6\7k\2\2\u00c6\u00c7\7p\2\2\u00c7")
        buf.write(u"\u00c8\7e\2\2\u00c8\32\3\2\2\2\u00c9\u00ca\7f\2\2\u00ca")
        buf.write(u"\u00cb\7g\2\2\u00cb\u00cc\7e\2\2\u00cc\34\3\2\2\2\u00cd")
        buf.write(u"\u00ce\7u\2\2\u00ce\u00cf\7w\2\2\u00cf\u00d0\7d\2\2\u00d0")
        buf.write(u"\36\3\2\2\2\u00d1\u00d2\7c\2\2\u00d2\u00d3\7p\2\2\u00d3")
        buf.write(u"\u00d4\7f\2\2\u00d4 \3\2\2\2\u00d5\u00d6\7c\2\2\u00d6")
        buf.write(u"\u00d7\7f\2\2\u00d7\u00d8\7f\2\2\u00d8\"\3\2\2\2\u00d9")
        buf.write(u"\u00da\7c\2\2\u00da\u00db\7f\2\2\u00db\u00dc\7e\2\2\u00dc")
        buf.write(u"$\3\2\2\2\u00dd\u00de\7u\2\2\u00de\u00df\7d\2\2\u00df")
        buf.write(u"\u00e0\7d\2\2\u00e0&\3\2\2\2\u00e1\u00e2\7q\2\2\u00e2")
        buf.write(u"\u00e3\7t\2\2\u00e3(\3\2\2\2\u00e4\u00e5\7z\2\2\u00e5")
        buf.write(u"\u00e6\7q\2\2\u00e6\u00e7\7t\2\2\u00e7*\3\2\2\2\u00e8")
        buf.write(u"\u00e9\7p\2\2\u00e9\u00ea\7q\2\2\u00ea\u00eb\7v\2\2\u00eb")
        buf.write(u",\3\2\2\2\u00ec\u00ed\7e\2\2\u00ed\u00ee\7o\2\2\u00ee")
        buf.write(u"\u00ef\7r\2\2\u00ef.\3\2\2\2\u00f0\u00f1\7v\2\2\u00f1")
        buf.write(u"\u00f2\7g\2\2\u00f2\u00f3\7u\2\2\u00f3\u00f4\7v\2\2\u00f4")
        buf.write(u"\60\3\2\2\2\u00f5\u00f6\7u\2\2\u00f6\u00f7\7n\2\2\u00f7")
        buf.write(u"\u00f8\7n\2\2\u00f8\62\3\2\2\2\u00f9\u00fa\7u\2\2\u00fa")
        buf.write(u"\u00fb\7n\2\2\u00fb\u00fc\7t\2\2\u00fc\64\3\2\2\2\u00fd")
        buf.write(u"\u00fe\7u\2\2\u00fe\u00ff\7c\2\2\u00ff\u0100\7n\2\2\u0100")
        buf.write(u"\66\3\2\2\2\u0101\u0102\7u\2\2\u0102\u0103\7c\2\2\u0103")
        buf.write(u"\u0104\7t\2\2\u01048\3\2\2\2\u0105\u0106\7t\2\2\u0106")
        buf.write(u"\u0107\7q\2\2\u0107\u0108\7n\2\2\u0108:\3\2\2\2\u0109")
        buf.write(u"\u010a\7t\2\2\u010a\u010b\7q\2\2\u010b\u010c\7t\2\2\u010c")
        buf.write(u"<\3\2\2\2\u010d\u010e\7t\2\2\u010e\u010f\7e\2\2\u010f")
        buf.write(u"\u0110\7n\2\2\u0110>\3\2\2\2\u0111\u0112\7t\2\2\u0112")
        buf.write(u"\u0113\7e\2\2\u0113\u0114\7t\2\2\u0114@\3\2\2\2\u0115")
        buf.write(u"\u0116\7r\2\2\u0116\u0117\7w\2\2\u0117\u0118\7u\2\2\u0118")
        buf.write(u"\u0119\7j\2\2\u0119B\3\2\2\2\u011a\u011b\7r\2\2\u011b")
        buf.write(u"\u011c\7w\2\2\u011c\u011d\7u\2\2\u011d\u011e\7j\2\2\u011e")
        buf.write(u"\u011f\7h\2\2\u011fD\3\2\2\2\u0120\u0121\7r\2\2\u0121")
        buf.write(u"\u0122\7q\2\2\u0122\u0123\7r\2\2\u0123F\3\2\2\2\u0124")
        buf.write(u"\u0125\7r\2\2\u0125\u0126\7q\2\2\u0126\u0127\7r\2\2\u0127")
        buf.write(u"\u0128\7h\2\2\u0128H\3\2\2\2\u0129\u012a\7c\2\2\u012a")
        buf.write(u"\u012b\7e\2\2\u012b\u012c\7c\2\2\u012c\u012d\7n\2\2\u012d")
        buf.write(u"\u012e\7n\2\2\u012eJ\3\2\2\2\u012f\u0130\7e\2\2\u0130")
        buf.write(u"\u0131\7c\2\2\u0131\u0132\7n\2\2\u0132\u0133\7n\2\2\u0133")
        buf.write(u"L\3\2\2\2\u0134\u0135\7t\2\2\u0135\u0136\7g\2\2\u0136")
        buf.write(u"\u0137\7v\2\2\u0137N\3\2\2\2\u0138\u0139\7k\2\2\u0139")
        buf.write(u"\u013a\7t\2\2\u013a\u013b\7g\2\2\u013b\u013c\7v\2\2\u013c")
        buf.write(u"P\3\2\2\2\u013d\u013e\7e\2\2\u013e\u013f\7n\2\2\u013f")
        buf.write(u"\u0140\7e\2\2\u0140R\3\2\2\2\u0141\u0142\7u\2\2\u0142")
        buf.write(u"\u0143\7v\2\2\u0143\u0144\7e\2\2\u0144T\3\2\2\2\u0145")
        buf.write(u"\u0146\7e\2\2\u0146\u0147\7o\2\2\u0147\u0148\7e\2\2\u0148")
        buf.write(u"V\3\2\2\2\u0149\u014a\7e\2\2\u014a\u014b\7n\2\2\u014b")
        buf.write(u"\u014c\7k\2\2\u014cX\3\2\2\2\u014d\u014e\7u\2\2\u014e")
        buf.write(u"\u014f\7v\2\2\u014f\u0150\7k\2\2\u0150Z\3\2\2\2\u0151")
        buf.write(u"\u0152\7k\2\2\u0152\u0153\7p\2\2\u0153\u0154\7v\2\2\u0154")
        buf.write(u"\\\3\2\2\2\u0155\u0156\7k\2\2\u0156\u0157\7p\2\2\u0157")
        buf.write(u"\u0158\7v\2\2\u0158\u0159\7q\2\2\u0159^\3\2\2\2\u015a")
        buf.write(u"\u015b\7c\2\2\u015b\u015c\7l\2\2\u015c\u015d\7o\2\2\u015d")
        buf.write(u"\u015e\7r\2\2\u015e`\3\2\2\2\u015f\u0160\7l\2\2\u0160")
        buf.write(u"\u0161\7o\2\2\u0161\u0162\7r\2\2\u0162b\3\2\2\2\u0163")
        buf.write(u"\u0164\7p\2\2\u0164\u0165\7q\2\2\u0165\u0166\7r\2\2\u0166")
        buf.write(u"d\3\2\2\2\u0167\u0168\7j\2\2\u0168\u0169\7n\2\2\u0169")
        buf.write(u"\u016a\7v\2\2\u016af\3\2\2\2\u016b\u016c\7l\2\2\u016c")
        buf.write(u"\u016d\7q\2\2\u016dh\3\2\2\2\u016e\u016f\7l\2\2\u016f")
        buf.write(u"\u0170\7p\2\2\u0170\u0171\7q\2\2\u0171j\3\2\2\2\u0172")
        buf.write(u"\u0173\7l\2\2\u0173\u0174\7d\2\2\u0174l\3\2\2\2\u0175")
        buf.write(u"\u0176\7l\2\2\u0176\u0177\7p\2\2\u0177\u0178\7c\2\2\u0178")
        buf.write(u"\u0179\7g\2\2\u0179n\3\2\2\2\u017a\u017b\7l\2\2\u017b")
        buf.write(u"\u017c\7p\2\2\u017c\u017d\7d\2\2\u017dp\3\2\2\2\u017e")
        buf.write(u"\u017f\7l\2\2\u017f\u0180\7c\2\2\u0180\u0181\7g\2\2\u0181")
        buf.write(u"r\3\2\2\2\u0182\u0183\7l\2\2\u0183\u0184\7g\2\2\u0184")
        buf.write(u"t\3\2\2\2\u0185\u0186\7l\2\2\u0186\u0187\7|\2\2\u0187")
        buf.write(u"v\3\2\2\2\u0188\u0189\7l\2\2\u0189\u018a\7p\2\2\u018a")
        buf.write(u"\u018b\7g\2\2\u018bx\3\2\2\2\u018c\u018d\7l\2\2\u018d")
        buf.write(u"\u018e\7p\2\2\u018e\u018f\7|\2\2\u018fz\3\2\2\2\u0190")
        buf.write(u"\u0191\7l\2\2\u0191\u0192\7d\2\2\u0192\u0193\7g\2\2\u0193")
        buf.write(u"|\3\2\2\2\u0194\u0195\7l\2\2\u0195\u0196\7p\2\2\u0196")
        buf.write(u"\u0197\7c\2\2\u0197~\3\2\2\2\u0198\u0199\7l\2\2\u0199")
        buf.write(u"\u019a\7p\2\2\u019a\u019b\7d\2\2\u019b\u019c\7g\2\2\u019c")
        buf.write(u"\u0080\3\2\2\2\u019d\u019e\7l\2\2\u019e\u019f\7c\2\2")
        buf.write(u"\u019f\u0082\3\2\2\2\u01a0\u01a1\7l\2\2\u01a1\u01a2\7")
        buf.write(u"u\2\2\u01a2\u0084\3\2\2\2\u01a3\u01a4\7l\2\2\u01a4\u01a5")
        buf.write(u"\7p\2\2\u01a5\u01a6\7u\2\2\u01a6\u0086\3\2\2\2\u01a7")
        buf.write(u"\u01a8\7l\2\2\u01a8\u01a9\7n\2\2\u01a9\u0088\3\2\2\2")
        buf.write(u"\u01aa\u01ab\7l\2\2\u01ab\u01ac\7p\2\2\u01ac\u01ad\7")
        buf.write(u"i\2\2\u01ad\u01ae\7g\2\2\u01ae\u008a\3\2\2\2\u01af\u01b0")
        buf.write(u"\7l\2\2\u01b0\u01b1\7p\2\2\u01b1\u01b2\7n\2\2\u01b2\u008c")
        buf.write(u"\3\2\2\2\u01b3\u01b4\7l\2\2\u01b4\u01b5\7i\2\2\u01b5")
        buf.write(u"\u01b6\7g\2\2\u01b6\u008e\3\2\2\2\u01b7\u01b8\7l\2\2")
        buf.write(u"\u01b8\u01b9\7n\2\2\u01b9\u01ba\7g\2\2\u01ba\u0090\3")
        buf.write(u"\2\2\2\u01bb\u01bc\7l\2\2\u01bc\u01bd\7p\2\2\u01bd\u01be")
        buf.write(u"\7i\2\2\u01be\u0092\3\2\2\2\u01bf\u01c0\7l\2\2\u01c0")
        buf.write(u"\u01c1\7p\2\2\u01c1\u01c2\7n\2\2\u01c2\u01c3\7g\2\2\u01c3")
        buf.write(u"\u0094\3\2\2\2\u01c4\u01c5\7l\2\2\u01c5\u01c6\7i\2\2")
        buf.write(u"\u01c6\u0096\3\2\2\2\u01c7\u01c9\t\2\2\2\u01c8\u01ca")
        buf.write(u"\t\3\2\2\u01c9\u01c8\3\2\2\2\u01ca\u01cb\3\2\2\2\u01cb")
        buf.write(u"\u01c9\3\2\2\2\u01cb\u01cc\3\2\2\2\u01cc\u0098\3\2\2")
        buf.write(u"\2\u01cd\u01cf\t\3\2\2\u01ce\u01cd\3\2\2\2\u01cf\u01d0")
        buf.write(u"\3\2\2\2\u01d0\u01ce\3\2\2\2\u01d0\u01d1\3\2\2\2\u01d1")
        buf.write(u"\u01db\3\2\2\2\u01d2\u01d3\7\62\2\2\u01d3\u01d4\7z\2")
        buf.write(u"\2\u01d4\u01d6\3\2\2\2\u01d5\u01d7\t\4\2\2\u01d6\u01d5")
        buf.write(u"\3\2\2\2\u01d7\u01d8\3\2\2\2\u01d8\u01d6\3\2\2\2\u01d8")
        buf.write(u"\u01d9\3\2\2\2\u01d9\u01db\3\2\2\2\u01da\u01ce\3\2\2")
        buf.write(u"\2\u01da\u01d2\3\2\2\2\u01db\u009a\3\2\2\2\u01dc\u01dd")
        buf.write(u"\7U\2\2\u01dd\u01e1\7R\2\2\u01de\u01df\7u\2\2\u01df\u01e1")
        buf.write(u"\7r\2\2\u01e0\u01dc\3\2\2\2\u01e0\u01de\3\2\2\2\u01e1")
        buf.write(u"\u009c\3\2\2\2\u01e2\u01e4\t\5\2\2\u01e3\u01e2\3\2\2")
        buf.write(u"\2\u01e4\u01e5\3\2\2\2\u01e5\u01e3\3\2\2\2\u01e5\u01e6")
        buf.write(u"\3\2\2\2\u01e6\u01e7\3\2\2\2\u01e7\u01e8\bO\2\2\u01e8")
        buf.write(u"\u009e\3\2\2\2\u01e9\u01ed\7%\2\2\u01ea\u01ec\13\2\2")
        buf.write(u"\2\u01eb\u01ea\3\2\2\2\u01ec\u01ef\3\2\2\2\u01ed\u01ee")
        buf.write(u"\3\2\2\2\u01ed\u01eb\3\2\2\2\u01ee\u01f1\3\2\2\2\u01ef")
        buf.write(u"\u01ed\3\2\2\2\u01f0\u01f2\7\17\2\2\u01f1\u01f0\3\2\2")
        buf.write(u"\2\u01f1\u01f2\3\2\2\2\u01f2\u01f3\3\2\2\2\u01f3\u01f4")
        buf.write(u"\7\f\2\2\u01f4\u01f5\3\2\2\2\u01f5\u01f6\bP\2\2\u01f6")
        buf.write(u"\u00a0\3\2\2\2\u01f7\u01f9\7\17\2\2\u01f8\u01f7\3\2\2")
        buf.write(u"\2\u01f8\u01f9\3\2\2\2\u01f9\u01fa\3\2\2\2\u01fa\u01fb")
        buf.write(u"\7\f\2\2\u01fb\u00a2\3\2\2\2\f\2\u01cb\u01d0\u01d8\u01da")
        buf.write(u"\u01e0\u01e5\u01ed\u01f1\u01f8\3\b\2\2")
        return buf.getvalue()
 
 
class HPC16Lexer(Lexer):
 
    atn = ATNDeserializer().deserialize(serializedATN())
 
    decisionsToDFA = [ DFA(ds, i) for i, ds in enumerate(atn.decisionToState) ]
 
 
    T__0 = 1
    T__1 = 2
    T__2 = 3
    T__3 = 4
    T__4 = 5
    T__5 = 6
    T__6 = 7
    T__7 = 8
    T__8 = 9
    T__9 = 10
    T__10 = 11
    T__11 = 12
    T__12 = 13
    T__13 = 14
    T__14 = 15
    T__15 = 16
    T__16 = 17
    T__17 = 18
    T__18 = 19
    T__19 = 20
    T__20 = 21
    T__21 = 22
    T__22 = 23
    T__23 = 24
    T__24 = 25
    T__25 = 26
    T__26 = 27
    T__27 = 28
    T__28 = 29
    T__29 = 30
    T__30 = 31
    T__31 = 32
    T__32 = 33
    T__33 = 34
    T__34 = 35
    T__35 = 36
    T__36 = 37
    T__37 = 38
    T__38 = 39
    T__39 = 40
    T__40 = 41
    T__41 = 42
    T__42 = 43
    T__43 = 44
    T__44 = 45
    T__45 = 46
    T__46 = 47
    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
    T__70 = 71
    T__71 = 72
    T__72 = 73
    T__73 = 74
    REG = 75
    IMM = 76
    STK_PTR = 77
    WS = 78
    LINE_COMMENT = 79
    NEWLINE = 80
 
    modeNames = [ u"DEFAULT_MODE" ]
 
    literalNames = [ u"<INVALID>",
            u"'mov'", u"','", u"'ld'", u"'('", u"')'", u"'+'", u"'st'", 
            u"'lbzx'", u"'lbsx'", u"'sb'", u"'li'", u"'inc'", u"'dec'", 
            u"'sub'", u"'and'", u"'add'", u"'adc'", u"'sbb'", u"'or'", u"'xor'", 
            u"'not'", u"'cmp'", u"'test'", u"'sll'", u"'slr'", u"'sal'", 
            u"'sar'", u"'rol'", u"'ror'", u"'rcl'", u"'rcr'", u"'push'", 
            u"'pushf'", u"'pop'", u"'popf'", u"'acall'", u"'call'", u"'ret'", 
            u"'iret'", u"'clc'", u"'stc'", u"'cmc'", u"'cli'", u"'sti'", 
            u"'int'", u"'into'", u"'ajmp'", u"'jmp'", u"'nop'", u"'hlt'", 
            u"'jo'", u"'jno'", u"'jb'", u"'jnae'", u"'jnb'", u"'jae'", u"'je'", 
            u"'jz'", u"'jne'", u"'jnz'", u"'jbe'", u"'jna'", u"'jnbe'", 
            u"'ja'", u"'js'", u"'jns'", u"'jl'", u"'jnge'", u"'jnl'", u"'jge'", 
            u"'jle'", u"'jng'", u"'jnle'", u"'jg'" ]
 
    symbolicNames = [ u"<INVALID>",
            u"REG", u"IMM", u"STK_PTR", u"WS", u"LINE_COMMENT", u"NEWLINE" ]
 
    ruleNames = [ u"T__0", u"T__1", u"T__2", u"T__3", u"T__4", u"T__5", 
                  u"T__6", u"T__7", u"T__8", u"T__9", u"T__10", u"T__11", 
                  u"T__12", u"T__13", u"T__14", u"T__15", u"T__16", u"T__17", 
                  u"T__18", u"T__19", u"T__20", u"T__21", u"T__22", u"T__23", 
                  u"T__24", u"T__25", u"T__26", u"T__27", u"T__28", u"T__29", 
                  u"T__30", u"T__31", u"T__32", u"T__33", u"T__34", u"T__35", 
                  u"T__36", u"T__37", u"T__38", u"T__39", u"T__40", u"T__41", 
                  u"T__42", u"T__43", u"T__44", u"T__45", u"T__46", u"T__47", 
                  u"T__48", u"T__49", u"T__50", u"T__51", u"T__52", u"T__53", 
                  u"T__54", u"T__55", u"T__56", u"T__57", u"T__58", u"T__59", 
                  u"T__60", u"T__61", u"T__62", u"T__63", u"T__64", u"T__65", 
                  u"T__66", u"T__67", u"T__68", u"T__69", u"T__70", u"T__71", 
                  u"T__72", u"T__73", u"REG", u"IMM", u"STK_PTR", u"WS", 
                  u"LINE_COMMENT", u"NEWLINE" ]
 
    grammarFileName = u"HPC16.g4"
 
    def __init__(self, input=None):
        super(HPC16Lexer, self).__init__(input)
        self.checkVersion("4.5.1")
        self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache())
        self._actions = None
        self._predicates = None
 
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.