7267
|
1 October 2, 2015
|
|
2
|
|
3 Announcing : PLY-3.8 (Python Lex-Yacc)
|
|
4
|
|
5 http://www.dabeaz.com/ply
|
|
6
|
|
7 I'm pleased to announce PLY-3.7--a pure Python implementation of the
|
|
8 common parsing tools lex and yacc. PLY-3.7 is a minor bug fix
|
|
9 release. It supports both Python 2 and Python 3.
|
|
10
|
|
11 If you are new to PLY, here are a few highlights:
|
|
12
|
|
13 - PLY is closely modeled after traditional lex/yacc. If you know how
|
|
14 to use these or similar tools in other languages, you will find
|
|
15 PLY to be comparable.
|
|
16
|
|
17 - PLY provides very extensive error reporting and diagnostic
|
|
18 information to assist in parser construction. The original
|
|
19 implementation was developed for instructional purposes. As
|
|
20 a result, the system tries to identify the most common types
|
|
21 of errors made by novice users.
|
|
22
|
|
23 - PLY provides full support for empty productions, error recovery,
|
|
24 precedence rules, and ambiguous grammars.
|
|
25
|
|
26 - Parsing is based on LR-parsing which is fast, memory efficient,
|
|
27 better suited to large grammars, and which has a number of nice
|
|
28 properties when dealing with syntax errors and other parsing
|
|
29 problems. Currently, PLY can build its parsing tables using
|
|
30 either SLR or LALR(1) algorithms.
|
|
31
|
|
32 More information about PLY can be obtained on the PLY webpage at:
|
|
33
|
|
34 http://www.dabeaz.com/ply
|
|
35
|
|
36 PLY is freely available.
|
|
37
|
|
38 Cheers,
|
|
39
|
|
40 David Beazley (http://www.dabeaz.com) |