Pyparsing 3.3.0b1 #624
ptmcg
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
(added in 3.3.0b1)
Implemented a TINY language parser/interpreter using pyparsing, in the
examples/tinydirectory. This is a little tutorial language that I used to demonstrate how to use pyparsing to build a simple interpreter, following a recommended parser+AST+engine+run structure. The docs sub-directory also includes transcripts of the AI session used to create the parser and the interpreter.Fixed minor formatting bugs in pyparsing.testing.with_line_numbers, found during development of the TINY language example.
Added test in
DelimitedListandnested_exprwhich auto-suppress delimiting commas to avoid wrapping in aSuppressif delimiter is already aSuppress.Added performance benchmarking tools and documentation:
tests/perf_pyparsing.pyruns a series of benchmark parsing tests, exercising different aspects of the pyparsing package. For cross-version analysis, this script can export results as CSV and append to a consolidated data file.run_perf_all_tags.bat(Windows) andrun_perf_all_tags.sh(Ubuntu/bash) execute the benchmark across multiple Python versions (3.9–3.14) and pyparsing versions (3.1.1 through 3.3.0), aggregating results intoperf_pyparsing.csvat the repo root.tests/README.mdfor usage instructions.This discussion was created from the release Pyparsing 3.3.0b1.
Beta Was this translation helpful? Give feedback.
All reactions