textproc/ruby-treetop - The NetBSD Packages Collection

Ruby-based text parsing and interpretation DSL

Languages can be split into two components, their *syntax* and their
*semantics*. It's your understanding of English syntax that tells you
the stream of words "Sleep furiously green ideas colorless" is not a
valid sentence. Semantics is deeper. Even if we rearrange the above
sentence to be "Colorless green ideas sleep furiously", which is
syntactically correct, it remains nonsensical on a semantic
level. With Treetop, you'll be dealing with languages that are much
simpler than English, but these basic concepts apply. Your programs
will need to address both the syntax and the semantics of the
languages they interpret.

Treetop equips you with powerful tools for each of these two aspects
of interpreter writing. You'll describe the syntax of your language
with a *parsing expression grammar*. From this description, Treetop
will generate a Ruby parser that transforms streams of characters
written into your language into *abstract syntax trees* representing
their structure. You'll then describe the semantics of your language
in Ruby by defining methods on the syntax trees the parser generates.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/ruby-polyglot lang/ruby32-base

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64ruby31-treetop-1.6.12.tgz
NetBSD 10.0aarch64ruby32-treetop-1.6.12.tgz
NetBSD 10.0aarch64ruby33-treetop-1.6.12.tgz
NetBSD 10.0aarch64ruby31-treetop-1.6.12.tgz
NetBSD 10.0aarch64ruby32-treetop-1.6.12.tgz
NetBSD 10.0aarch64ruby31-treetop-1.6.12.tgz
NetBSD 10.0aarch64ruby32-treetop-1.6.12.tgz
NetBSD 10.0aarch64ruby33-treetop-1.6.12.tgz
NetBSD 10.0aarch64ruby31-treetop-1.6.12.tgz
NetBSD 10.0aarch64ruby32-treetop-1.6.12.tgz
NetBSD 10.0aarch64ruby33-treetop-1.6.12.tgz
NetBSD 10.0aarch64ebruby31-treetop-1.6.12.tgz
NetBSD 10.0aarch64ebruby31-treetop-1.6.12.tgz
NetBSD 10.0earmv6hfruby31-treetop-1.6.12.tgz
NetBSD 10.0earmv6hfruby32-treetop-1.6.12.tgz
NetBSD 10.0earmv6hfruby33-treetop-1.6.12.tgz
NetBSD 10.0earmv6hfruby31-treetop-1.6.12.tgz
NetBSD 10.0earmv6hfruby32-treetop-1.6.12.tgz
NetBSD 10.0earmv6hfruby33-treetop-1.6.12.tgz
NetBSD 10.0earmv6hfruby31-treetop-1.6.12.tgz
NetBSD 10.0earmv6hfruby32-treetop-1.6.12.tgz
NetBSD 10.0earmv6hfruby33-treetop-1.6.12.tgz
NetBSD 10.0earmv7hfruby31-treetop-1.6.12.tgz
NetBSD 10.0earmv7hfruby32-treetop-1.6.12.tgz
NetBSD 10.0earmv7hfruby33-treetop-1.6.12.tgz
NetBSD 10.0earmv7hfruby31-treetop-1.6.12.tgz
NetBSD 10.0earmv7hfruby32-treetop-1.6.12.tgz
NetBSD 10.0earmv7hfruby33-treetop-1.6.12.tgz
NetBSD 10.0earmv7hfruby31-treetop-1.6.12.tgz
NetBSD 10.0earmv7hfruby32-treetop-1.6.12.tgz
NetBSD 10.0earmv7hfruby33-treetop-1.6.12.tgz
NetBSD 10.0i386ruby31-treetop-1.6.12.tgz
NetBSD 10.0i386ruby32-treetop-1.6.12.tgz
NetBSD 10.0i386ruby33-treetop-1.6.12.tgz
NetBSD 10.0i386ruby31-treetop-1.6.12.tgz
NetBSD 10.0i386ruby32-treetop-1.6.12.tgz
NetBSD 10.0i386ruby31-treetop-1.6.12.tgz
NetBSD 10.0i386ruby32-treetop-1.6.12.tgz
NetBSD 10.0i386ruby33-treetop-1.6.12.tgz
NetBSD 10.0i386ruby31-treetop-1.6.12.tgz
NetBSD 10.0i386ruby32-treetop-1.6.12.tgz
NetBSD 10.0i386ruby33-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby27-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby30-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby31-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby32-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby27-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby30-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby31-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby32-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby27-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby30-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby31-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby32-treetop-1.6.12.tgz
NetBSD 10.0powerpcruby33-treetop-1.6.12.tgz
NetBSD 10.0sparc64ruby31-treetop-1.6.12.tgz
NetBSD 10.0sparc64ruby32-treetop-1.6.12.tgz
NetBSD 10.0sparc64ruby33-treetop-1.6.12.tgz
NetBSD 10.0sparc64ruby31-treetop-1.6.12.tgz
NetBSD 10.0sparc64ruby32-treetop-1.6.12.tgz
NetBSD 10.0sparc64ruby33-treetop-1.6.12.tgz
NetBSD 10.0vaxruby31-treetop-1.6.12.tgz
NetBSD 10.0vaxruby31-treetop-1.6.12.tgz
NetBSD 10.0vaxruby31-treetop-1.6.12.tgz
NetBSD 10.0x86_64ruby31-treetop-1.6.12.tgz
NetBSD 10.0x86_64ruby32-treetop-1.6.12.tgz
NetBSD 10.0x86_64ruby33-treetop-1.6.12.tgz
NetBSD 10.0x86_64ruby31-treetop-1.6.12.tgz
NetBSD 10.0x86_64ruby32-treetop-1.6.12.tgz
NetBSD 10.0x86_64ruby31-treetop-1.6.12.tgz
NetBSD 10.0x86_64ruby32-treetop-1.6.12.tgz
NetBSD 10.0x86_64ruby33-treetop-1.6.12.tgz
NetBSD 10.0x86_64ruby31-treetop-1.6.12.tgz
NetBSD 10.0x86_64ruby32-treetop-1.6.12.tgz
NetBSD 10.0x86_64ruby33-treetop-1.6.12.tgz
NetBSD 9.0aarch64ruby31-treetop-1.6.12.tgz
NetBSD 9.0aarch64ruby31-treetop-1.6.12.tgz
NetBSD 9.0aarch64ruby32-treetop-1.6.12.tgz
NetBSD 9.0aarch64ruby31-treetop-1.6.12.tgz
NetBSD 9.0aarch64ruby31-treetop-1.6.12.tgz
NetBSD 9.0earmv6hfruby31-treetop-1.6.12.tgz
NetBSD 9.0earmv6hfruby32-treetop-1.6.12.tgz
NetBSD 9.0earmv6hfruby33-treetop-1.6.12.tgz
NetBSD 9.0earmv6hfruby31-treetop-1.6.12.tgz
NetBSD 9.0earmv6hfruby32-treetop-1.6.12.tgz
NetBSD 9.0earmv6hfruby33-treetop-1.6.12.tgz
NetBSD 9.0earmv6hfruby31-treetop-1.6.12.tgz
NetBSD 9.0earmv6hfruby32-treetop-1.6.12.tgz
NetBSD 9.0earmv6hfruby33-treetop-1.6.12.tgz
NetBSD 9.0earmv7hfruby31-treetop-1.6.12.tgz
NetBSD 9.0earmv7hfruby32-treetop-1.6.12.tgz
NetBSD 9.0earmv7hfruby33-treetop-1.6.12.tgz
NetBSD 9.0earmv7hfruby31-treetop-1.6.12.tgz
NetBSD 9.0earmv7hfruby32-treetop-1.6.12.tgz
NetBSD 9.0earmv7hfruby33-treetop-1.6.12.tgz
NetBSD 9.0earmv7hfruby31-treetop-1.6.12.tgz
NetBSD 9.0earmv7hfruby32-treetop-1.6.12.tgz
NetBSD 9.0earmv7hfruby33-treetop-1.6.12.tgz
NetBSD 9.0i386ruby31-treetop-1.6.12.tgz
NetBSD 9.0i386ruby32-treetop-1.6.12.tgz
NetBSD 9.0i386ruby33-treetop-1.6.12.tgz
NetBSD 9.0i386ruby31-treetop-1.6.12.tgz
NetBSD 9.0i386ruby32-treetop-1.6.12.tgz
NetBSD 9.0i386ruby31-treetop-1.6.12.tgz
NetBSD 9.0i386ruby32-treetop-1.6.12.tgz
NetBSD 9.0i386ruby33-treetop-1.6.12.tgz
NetBSD 9.0i386ruby31-treetop-1.6.12.tgz
NetBSD 9.0i386ruby32-treetop-1.6.12.tgz
NetBSD 9.0i386ruby33-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby27-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby30-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby31-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby32-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby27-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby30-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby31-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby32-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby27-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby30-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby31-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby32-treetop-1.6.12.tgz
NetBSD 9.0powerpcruby33-treetop-1.6.12.tgz
NetBSD 9.0x86_64ruby31-treetop-1.6.12.tgz
NetBSD 9.0x86_64ruby32-treetop-1.6.12.tgz
NetBSD 9.0x86_64ruby33-treetop-1.6.12.tgz
NetBSD 9.0x86_64ruby31-treetop-1.6.12.tgz
NetBSD 9.0x86_64ruby32-treetop-1.6.12.tgz
NetBSD 9.0x86_64ruby31-treetop-1.6.12.tgz
NetBSD 9.0x86_64ruby32-treetop-1.6.12.tgz
NetBSD 9.0x86_64ruby33-treetop-1.6.12.tgz
NetBSD 9.0x86_64ruby31-treetop-1.6.12.tgz
NetBSD 9.0x86_64ruby32-treetop-1.6.12.tgz
NetBSD 9.0x86_64ruby33-treetop-1.6.12.tgz
NetBSD 9.3x86_64ruby31-treetop-1.6.12.tgz
NetBSD 9.3x86_64ruby32-treetop-1.6.12.tgz
NetBSD 9.3x86_64ruby33-treetop-1.6.12.tgz
NetBSD 9.3x86_64ruby31-treetop-1.6.12.tgz
NetBSD 9.3x86_64ruby32-treetop-1.6.12.tgz
NetBSD 9.3x86_64ruby33-treetop-1.6.12.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.