File: ANNOUNCE

package info (click to toggle)
ply 2.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,084 kB
  • ctags: 1,254
  • sloc: python: 6,169; makefile: 5; sh: 2
file content (48 lines) | stat: -rw-r--r-- 1,870 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
November 1, 2006

                  Announcing :  PLY-2.2 (Python Lex-Yacc)

                        http://www.dabeaz.com/ply

I'm pleased to announce a significant new update to PLY---a 100% Python
implementation of the common parsing tools lex and yacc.  PLY-2.2 is
a minor update that fixes a few bugs and adds some new capabilities.

If you are new to PLY, here are a few highlights:

-  PLY is closely modeled after traditional lex/yacc.  If you know how 
   to use these or similar tools in other languages, you will find
   PLY to be comparable.

-  PLY provides very extensive error reporting and diagnostic
   information to assist in parser construction.  The original
   implementation was developed for instructional purposes.  As
   a result, the system tries to identify the most common types
   of errors made by novice users.

-  PLY provides full support for empty productions, error recovery,
   precedence rules, and ambiguous grammars.

-  Parsing is based on LR-parsing which is fast, memory efficient,
   better suited to large grammars, and which has a number of nice
   properties when dealing with syntax errors and other parsing 
   problems. Currently, PLY can build its parsing tables using 
   either SLR or LALR(1) algorithms. 

-  PLY can be used to build parsers for large programming languages.
   Although it is not ultra-fast due to its Python implementation,
   PLY can be used to parse grammars consisting of several hundred
   rules (as might be found for a language like C).  The lexer and LR
   parser are also reasonably efficient when parsing normal
   sized programs.

More information about PLY can be obtained on the PLY webpage at:

                   http://www.dabeaz.com/ply

PLY is freely available and is licensed under the terms of the Lesser
GNU Public License (LGPL).

Cheers,

David Beazley (http://www.dabeaz.com)