Apocrypha

ply

Python Lex-Yacc library

PLY is a Python-only implementation of the popular compiler construction tools lex and yacc. The implementation borrows ideas from a number of previous efforts; most notably John Aycock's SPARK toolkit. However, the overall flavor of the implementation is more closely modeled after the C version of lex and yacc. The other significant feature of PLY is that it provides extensive input validation and error reporting--much more so than other Python parsing tools.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 3.11-r2 1 14 h details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvalphaarmarm64-macoshppaloongm68kmipsppcs390sparcx64-macosx64-solaris Committed
3.11-r2 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable arm64-macos testing hppa testing loong testing m68k testing mips testing ppc stable s390 testing sparc testing x64-macos testing x64-solaris testing view · download · history ↗

Use flags of 3.11-r2

  • examples Install examples, usually source code
6 expansion flags (python targets, ABIs, cpu flags…)
  • python_targets_python3_14t
  • python_targets_python3_15t
  • python_targets_python3_12
  • python_targets_python3_13
  • python_targets_python3_14
  • python_targets_python3_15

Runtime dependencies of 3.11-r2

show 18 lines
python_targets_python3_14t? (
)
python_targets_python3_15t? (
)
python_targets_python3_12? (
)
python_targets_python3_13? (
)
python_targets_python3_14? (
)
python_targets_python3_15? (
)