diff options
author | ptmcg <ptmcg@austin.rr.com> | 2021-08-14 10:17:50 -0500 |
---|---|---|
committer | ptmcg <ptmcg@austin.rr.com> | 2021-08-14 10:17:50 -0500 |
commit | 575903aa361cfbc1829049b0122f8fd677cfec01 (patch) | |
tree | ce57fefd745701da2ff6ef880c77cab8353d91ec | |
parent | cb86d4698af3db11f11c4487610a22ca266319c5 (diff) | |
download | pyparsing-git-575903aa361cfbc1829049b0122f8fd677cfec01.tar.gz |
Add note on enable/disable memoization methods in whats_new_in_3_0_0.rst
-rw-r--r-- | docs/whats_new_in_3_0_0.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/whats_new_in_3_0_0.rst b/docs/whats_new_in_3_0_0.rst index 56d7355..ad96a0b 100644 --- a/docs/whats_new_in_3_0_0.rst +++ b/docs/whats_new_in_3_0_0.rst @@ -96,6 +96,19 @@ See more examples in ``left_recursion.py`` in the pyparsing examples directory. (Contributed by Max Fischer) +Packrat/memoization enable and disable methods +---------------------------------------------- +As part of the implementation of left-recursion support, new methods have been added +to enable and disable packrat parsing. + +====================== ======================================================= +Name Description +---------------------- ------------------------------------------------------- +enable_packrat Enable packrat parsing (with specified cache size) +enable_left_recursion Enable left-recursion cache +disable_memoization Disable all internal parsing caches +====================== ======================================================= + Refactored/added diagnostic flags --------------------------------- |