Python Lex-Yacc
Home Page:http://www.dabeaz.com/ply/index.html
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
95833 opened this issue 2 years ago · comments
from example:
def p_tokens(p): """ token : INT | FLOAT | AAAA | BBBB """ #"Whether p[1] can be distinguished between tok_INT and tok_FLOAT and ... by using tok.type ?"