summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorptmcg <ptmcg@austin.rr.com>2021-08-14 10:17:50 -0500
committerptmcg <ptmcg@austin.rr.com>2021-08-14 10:17:50 -0500
commit575903aa361cfbc1829049b0122f8fd677cfec01 (patch)
treece57fefd745701da2ff6ef880c77cab8353d91ec
parentcb86d4698af3db11f11c4487610a22ca266319c5 (diff)
downloadpyparsing-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.rst13
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
---------------------------------