haoxiang47 / ply

Automatically exported from code.google.com/p/ply
0 stars 0 forks source link

way to create parsers from lr tables #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
yacc.yacc() parses tables and returns a new LRParser. It would be nice to
be able to simply get a LRTable back, so that new LRParsers could be
created from them. Since parsers have state on their instances, it should
be easy to create one from the same tables, so concurrent parsing can occur.

It would also be nice if something similar could be done for lex.

Original issue reported on code.google.com by musiccom...@gmail.com on 28 May 2010 at 8:30