Name : python3-parsley
| |
Version : 1.3
| Vendor : Fedora Project
|
Release : 21.fc35
| Date : 2021-07-23 10:13:04
|
Group : Unspecified
| Source RPM : python-parsley-1.3-21.fc35.src.rpm
|
Size : 1.00 MB
| |
Packager : Fedora Project
| |
Summary : Parsing and pattern matching made easy
|
Description :
A parser generator library based on OMeta, and other useful parsing tools. Parsley is a parsing library for people who find parsers scary or annoying. I wrote it because I wanted to parse a programming language, and tools like PLY or ANTLR or Bison were very hard to understand and integrate into my Python code. Most parser generators are based on LL or LR parsing algorithms that compile to big state machine tables. It was like I had to wake up a different section of my brain to understand or work on grammar rules.
Parsley, like pyparsing and ZestyParser, uses the PEG algorithm, so each expression in the grammar rules works like a Python expression. In particular, alternatives are evaluated in order, unlike table-driven parsers such as yacc, bison or PLY.
Parsley is an implementation of OMeta, an object-oriented pattern-matching language developed by Alessandro Warth at thesis, which provides a detailed description of OMeta: http://www.vpri.org/pdf/tr2008003_experimenting.pdf
|
RPM found in directory: /packages/linux-pbone/archive.fedoraproject.org/fedora/linux/releases/35/Everything/x86_64/os/Packages/p |