Searched refs:yacc (Results 26 - 48 of 48) sorted by relevance
12
/gem5/ext/ply/test/ |
H A D | yacc_simple.py | 9 import ply.yacc as yacc 64 yacc.yacc()
|
H A D | yacc_sr.py | 9 import ply.yacc as yacc 59 yacc.yacc()
|
H A D | yacc_term1.py | 9 import ply.yacc as yacc 64 yacc.yacc()
|
H A D | yacc_unused.py | 9 import ply.yacc as yacc 73 yacc.yacc()
|
H A D | yacc_unused_rule.py | 9 import ply.yacc as yacc 68 yacc.yacc()
|
H A D | yacc_uprec.py | 9 import ply.yacc as yacc 59 yacc.yacc()
|
H A D | yacc_uprec2.py | 9 import ply.yacc as yacc 59 yacc.yacc()
|
H A D | testyacc.py | 15 import ply.yacc 54 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_badargs") 61 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_badid") 71 except ply.yacc.YaccError: 77 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_badprec2") 93 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_badrule") 105 except ply.yacc.YaccError: 123 except ply.yacc.YaccError: 131 except ply.yacc.YaccError: 139 except ply.yacc [all...] |
/gem5/ext/ply/example/calc/ |
H A D | calc.py | 98 import ply.yacc as yacc 99 yacc.yacc() 107 yacc.parse(s)
|
/gem5/ext/ply/example/calcdebug/ |
H A D | calc.py | 98 import ply.yacc as yacc 99 yacc.yacc() 113 yacc.parse(s,debug=logging.getLogger())
|
/gem5/ext/ply/example/unicalc/ |
H A D | calc.py | 108 import ply.yacc as yacc 109 yacc.yacc() 117 yacc.parse(unicode(s))
|
/gem5/ext/ply/example/closurecalc/ |
H A D | calc.py | 19 import ply.yacc as yacc 108 parser = yacc.yacc()
|
/gem5/ext/ply/example/yply/ |
H A D | yply.py | 7 # Converts a UNIX-yacc specification file into a PLY-compatible 19 # a yacc-specified C++ parser containing 442 rules and 855 parsing 45 yacc.parse(open(filename).read()) 50 yacc.yacc()
|
H A D | yparse.py | 1 # parser for Unix yacc-based grammars 17 '''yacc : defsection rulesection''' 210 yacc.yacc(debug=0)
|
/gem5/src/python/m5/util/ |
H A D | grammar.py | 31 import ply.yacc 74 if attr == 'yacc': 75 self.yacc = ply.yacc.yacc(module=self, **self.yacc_kwargs) 76 return self.yacc 106 'productions' : self.yacc.productions, 107 'action' : self.yacc.action, 108 'goto' : self.yacc.goto, 109 'errorfunc' : self.yacc [all...] |
/gem5/ext/ply/example/optcalc/ |
H A D | calc.py | 110 import ply.yacc as yacc 111 yacc.yacc(optimize=1) 118 yacc.parse(s)
|
/gem5/ext/ply/example/newclasscalc/ |
H A D | calc.py | 21 import ply.yacc as yacc 45 yacc.yacc(module=self, 57 yacc.parse(s)
|
/gem5/ext/ply/example/classcalc/ |
H A D | calc.py | 19 import ply.yacc as yacc 42 yacc.yacc(module=self, 54 yacc.parse(s)
|
/gem5/ext/ply/example/ansic/ |
H A D | cparse.py | 9 import ply.yacc as yacc 857 yacc.yacc(method='LALR') 859 #profile.run("yacc.yacc(method='LALR')")
|
/gem5/src/arch/ |
H A D | micro_asm.py | 40 from ply import yacc 489 self.parser = yacc.yacc()
|
/gem5/ext/ply/example/BASIC/ |
H A D | basparse.py | 404 bparser = yacc.yacc()
|
/gem5/ext/ply/example/GardenSnake/ |
H A D | GardenSnake.py | 333 #import yacc 636 self.parser = yacc.yacc(start="file_input_end")
|
/gem5/ext/ply/ply/ |
H A D | yacc.py | 2 # ply: yacc.py 68 # Change these to modify the default behavior of yacc (if you wish) 71 yaccdebug = 0 # Debugging mode. If set, yacc generates a 80 yaccdevel = 0 # Set to True if developing yacc. This turns off optimized 139 # Exception raised for yacc-related errors 534 sys.stderr.write("yacc: Syntax error at line %d, token=%s\n" % (lineno, errtoken.type)) 536 sys.stderr.write("yacc: Syntax error, token=%s" % errtoken.type) 538 sys.stderr.write("yacc: Parse error in input. EOF\n") 586 raise RuntimeError("yacc: internal parser error!!!\n") 807 sys.stderr.write("yacc 3036 def yacc(method='LALR', debug=yaccdebug, module=None, tabmodule=tab_module, start=None, function [all...] |
Completed in 28 milliseconds
12