devel/py-yapps2 2.1.1_2 DragonFly
Easy-to-use parser generator that generates Python code
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- xenophon+[email protected] (as in FreeBSD)
- Categories
- devel, python
- Package size
- 30.5 KiB, 224.9 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 |
|---|---|---|
| DragonFly | devel/py-yapps2 | 2.1.1_2 |
| FreeBSD | devel/py-yapps2 | 2.1.1_2 |
| HardenedBSD | devel/py-yapps2 | 2.1.1_2 |
| GhostBSD | devel/py-yapps2 | 2.1.1_2 |
Install
Binary package:
pkg install py311-yapps2
From DPorts:
cd /usr/dports/devel/py-yapps2 && make install clean
Dependencies
Run dependencies 1
No port depends on this one.