# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Parse-RecDescent 1.967015
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Generate Recursive-Descent Parsers
long_description    RecDescent incrementally generates top-down \
                    recursive-descent text parsers from simple yacc-like \
                    grammar specifications. It provides: \
                    * Regular expressions or literal strings as \
                    terminals (tokens), \
                    * Multiple (non-contiguous) productions for any rule, \
                    * Repeated, optional and alternate subrules within \
                    productions, \
                    * Late-bound (run-time dispatched) subrules \
                    * Full access to Perl within actions specified as \
                    part of the grammar, \
                    * Simple automated error reporting during parser \
                    generation and parsing, \
                    * The ability to commit to, uncommit to, or reject \
                    particular productions during a parse, \
                    * Incremental extension of the parsing grammar (even \
                    during a parse), \
                    * Precompilation of parser objects, \
                    * User-definable reduce-reduce conflict resolution \
                    via "scoring" of matching productions. \
                    See the file "RecDescent.pod" for excruciating \
                    detail on all of this.

checksums           rmd160  18ab2e58c43358d1c7e664c9e0100f3318d8fda5 \
                    sha256  1943336a4cb54f1788a733f0827c0c55db4310d5eae15e542639c9dd85656e37

platforms           {darwin any}
supported_archs     noarch

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-test-warn

    depends_lib-append \
                    port:p${perl5.major}-text-balanced
}
