[Bug 2235079] New: Review Request: python-pygmars - Craft simple regex-based small language lexers and parser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2235079

            Bug ID: 2235079
           Summary: Review Request: python-pygmars - Craft simple
                    regex-based small language lexers and parser
           Product: Fedora
           Version: rawhide
            Status: NEW
         Component: Package Review
          Assignee: nobody@xxxxxxxxxxxxxxxxx
          Reporter: zebob.m@xxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: package-review@xxxxxxxxxxxxxxxxxxxxxxx
  Target Milestone: ---
    Classification: Fedora



Spec URL: https://eclipseo.fedorapeople.org/for-review/python-pygmars.spec
SRPM URL:
https://eclipseo.fedorapeople.org/for-review/python-pygmars-0.8.0-1.fc38.src.rpm

Description:
pygmars is a simple lexing and parsing library designed to craft lightweight
lexers and parsers using regular expressions.  pygmars allows you to craft
simple lexers that recognizes words based on regular expressions and identify
sequences of words using lightweight grammars to obtain a parse tree.  The
lexing task transforms a sequence of words or strings (e.g. already split in
words) in a sequence of Token objects, assigning a label to each word and
tracking their position and line number.  In particular, the lexing output is
designed to be compatible with the output of Pygments lexers. It becomes
possible to build simple grammars on top of existing Pygments lexers to perform
lightweight parsing of the many (130+) programming languages supported by
Pygments.  The parsing task transforms a sequence of Tokens in a parse Tree
where each node in the tree is recognized and assigned a label. Parsing is
using regular expression-based grammar rules applied to recognize Token
sequences.  These rules are evaluated sequentially and not recursively: this
keeps things simple and works very well in practice. This approach and the
rules syntax has been battle-tested with NLTK from which pygmars is derived.

Fedora Account System Username: eclipseo

To build it against the dependencies, use the following COPR in your rawhide
mock.cfg:

[copr:copr.fedorainfracloud.org:eclipseo:scancode-toolkit]
name=Copr repo for scancode-toolkit owned by eclipseo
baseurl=https://download.copr.fedorainfracloud.org/results/eclipseo/scancode-toolkit/fedora-rawhide-/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/eclipseo/scancode-toolkit/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2235079

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202235079%23c0
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux