@@ -4,10 +4,42 @@ IMPORTANT NOTE (2018-12-22): PLY is no longer be released in any
44package-installable format. If you want to use the latest version, you
55need to COPY the contents of the ply/ directory into your own project
66and use it. Although PLY is no longer distributed as a package, it is
7- maintained as a mature library. No new features are planned, but
8- issues and pull requests for bugs are still welcome. Any changes to the
7+ maintained as a mature library. No new major features are planned, but
8+ issues reported for bugs are still welcome. Any changes to the
99software will be noted here.
1010
11+ Version 4.0 (In progress)
12+ -------------------------
13+ Note: The 4.0 series of PLY represents a massive cleanup and modernization
14+ effort. At a fundamental level, no new "features" are being added.
15+ Instead, a lot of outdated, inconsistent, and problematic features are
16+ being eliminated. Here is a short summary:
17+
18+ - PLY no longer writes table files or cached data. If you want this,
19+ it's your responsibility to serialize the parser tables. Use pickle.
20+
21+ - Elimination of side-effects and global variables (generally).
22+
23+ - Elimination of numerous optional features in an effort to
24+ simplify the API.
25+
26+ - More use of modern Python features including iterators/generators,
27+ keyword-only arguments, f-strings, etc.
28+
29+ - Dropped support for Python 2.x
30+ ------------------------
31+
32+ 01/26/20 PLY no longer writes cached table files. Honestly, the use of
33+ the cached files made more sense when I was developing PLY on
34+ my 200Mhz PC in 2001. It's not as much as an issue now. For small
35+ to medium sized grammars, PLY should be almost instantaneous.
36+ If you're working with a large grammar, you can arrange
37+ to pickle the associated grammar instance yourself if need be.
38+ The removal of table files eliminated a large number of optional
39+ arguments to yacc() concerning the names and packages of these files.
40+
41+ 01/26/20 PLY no longer supports Python 2.x.
42+
114301/01/20 Added an install.py script to make it easy to install PLY into
1244 virtual environment if you just want to play with it.
1345
0 commit comments