BSD Ports

devel/py-yapps2 2.1.1_2 FreeBSD

Easy-to-use parser generator that generates Python code

System
FreeBSD
Repository
FreeBSD ports
Maintainer
xenophon+[email protected]
Categories
devel, python
Package size
31.8 KiB, 210.1 KiB installed

Description

Yapps (Yet Another Python Parser System) is an easy to use parser generator that is written in Python and generates Python code. Yapps is simple, is easy to use, and produces human-readable parsers. It is not fast, powerful, or particularly flexible. Yapps is designed to be used when regular expressions are not enough and other parser systems are too much: situations where you may write your own recursive descent parser. Yapps 1 is more like a functional language (concise grammars of the form when you see this, return this), while Yapps 2 is more like an imperative language (more verbose grammars of the form if/while you see this, do this). Yapps 2 is more flexible than Yapps 1 but it requires Python 1.5 and is not backwards-compatible with Yapps 1.

This is the development version of Yapps 2.

In the other systems

SystemPortVersion
FreeBSDdevel/py-yapps22.1.1_2
DragonFlydevel/py-yapps22.1.1_2

Install

Binary package:

pkg install py312-yapps2

From the ports tree:

cd /usr/ports/devel/py-yapps2/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-yapps2>0:devel/py-yapps2

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.1.1_22.1.1_22.1.1_12.1.1_22.1.1_2
FreeBSD:14:quarterly2.1.1_22.1.1_2n/a2.1.1_22.1.1_2
FreeBSD:15:latest2.1.1_22.1.1_2n/a2.1.1_22.1.1_2
FreeBSD:15:quarterly2.1.1_22.1.1_2n/an/an/a
FreeBSD:16:latest2.1.1_22.1.1_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
yapps2.1.1.tar.gz19685e7a0d087b237d1b949bc1643b8e2529ff870005ad38953732ff1c347b0b2fea3
Master sites 1
  • http://theory.stanford.edu/~amitp/yapps/

Commit history 0

No commits in the history this site was built from.