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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-yapps2 | 2.1.1_2 |
| DragonFly | devel/py-yapps2 | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.1.1_2 | 2.1.1_2 | 2.1.1_1 | 2.1.1_2 | 2.1.1_2 |
| FreeBSD:14:quarterly | 2.1.1_2 | 2.1.1_2 | n/a | 2.1.1_2 | 2.1.1_2 |
| FreeBSD:15:latest | 2.1.1_2 | 2.1.1_2 | n/a | 2.1.1_2 | 2.1.1_2 |
| FreeBSD:15:quarterly | 2.1.1_2 | 2.1.1_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.1.1_2 | 2.1.1_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| yapps2.1.1.tar.gz | 19685 | e7a0d087b237d1b949bc1643b8e2529ff870005ad38953732ff1c347b0b2fea3 |
Master sites 1
- http://theory.stanford.edu/~amitp/yapps/
Commit history 0
No commits in the history this site was built from.