The Changelog
2.0.0 — to be released
Dropped support for Python 2.7 (end of life). For compatibility with Python 2.7 please
use version >=1.0,==1.* (~=1.0).
Added
- Added support for Python 3.12
Changed
- Dropped support for Python 2.7
- Dropped support for Python 3.7
1.0.1 — 2022-11-04
Added
- Added support for Python 3.11
1.0.0 — 2022-05-02
The stable 1.0.0 release freezes the API of funcparserlib 0.3.6 which was released on 2013-05-02, with a few bug fixes and small features.
Added
- Added support for Python 3.10
- Added support for Python 3.9 (#63) (Thanks to @pkulev)
- Added support for Python 3.8
- Added
-p(the same asskip(p)) with more strict type hints for-pandp1 + p2 - Added
tok(type[, value])for more compact grammars, better error messages - Added
TokenSpec(type, pattern[, flags])to simplify the use ofmake_tokenizer() - Added type hints for the public API
- Added the new library homepage with the new Getting Started guide and the new API reference
Changed
- Parse exceptions now show expected tokens and grammar rules at the stopped position (#52)
- Dropped support for Python 3.4, 3.5, 3.6 (end of life)
- Dropped support for Python 2.5, 2.6, 3.3 (end of life), modernized code for Python
3 to run without obsolete
2to3(#57) (Thanks to @jdufresne) - Removed documentation and unit tests from the distribution
- Switched from setuptools to Poetry
- Switched to poetry-core for lighter PEP 517 builds (#73) (Thanks to @fabaff)
- Run unit tests on GitHub Actions for all supported Pythons
Fixed
- Fixed
TypeErrorinonepluswhen applying itparser + parser(#66) (Thanks to @martica) - Fixed
AttributeErrorwhen comparingTokenobjects toNone(#58) (Thanks to @Halolegend94) - Fixed doctests in the tutorial (#49)
- Fixed several cases of wrong expected tokens in error messages
0.3.6 — 2013-05-02
Changed
- Python 3 compatibility
- More info available in exception objects (#14)
Fixed
- Fixed
many()that consumed too many tokens in some cases (#31)
0.3.5 — 2011-01-13
Changed
- Python 2.4 compatibility
- More readable terminal names for error reporting
Fixed
- Fixed wrong token positions in lexer error messages
0.3.4 — 2009-10-06
Changed
- Switched from
setuptoolstodistutils - Improved the
run-testsutility
Fixed
- Fixed importing all symbols from
funcparserlib.lexer
0.3.3 — 2009-08-03
Added
- Added a FAQ question about infinite loops in parsers
Changed
- Debug rule tracing can be enabled again
Fixed
- Fixed a bug in results of skip + skip parsers
0.3.2 — 2009-07-26
Added
- Added the Parsing Stages Illustrated page
Fixed
- Fixed some string and number encoding issues in examples
0.3.1 — 2009-07-26
Major optimizations (10x faster than the version 0.3).
Added
- Added the
forward_declfunction, that performs better thanwith_forward_decls - Added the
pretty_treefunction for creating pseudo-graphic trees - Added the Nested Brackets Mini-HOWTO
- Added
Makefileand thisCHANGES.mdfile
Changed
- Use a single immutable input sequence in parsers
- Call a wrapped parser directly using
run(without__call__) - The slow
loggingis enabled only when thedebugflag is set
0.3 — 2009-07-23
Added
- Added
pureandbindfunctions onParsers making them monads - Added the Funcparserlib Tutorial
- Added a JSON parser as an example
Changed
- Translated the docs from Russian into English
0.2 — 2009-07-07
Added
- Added the
with_forward_declscombinator for dealing with forward declarations
Changed
- Switched to the iterative implementation of
many - Un-curried the parser function type in order to simplify things
- Improvements to the DOT parser
0.1 — 2009-06-26
Initial release.