ports/123154: New port: devel/py-yapps2 (an easy-to-use parser generator that generates Python code)
| From: | "Matthew X. Economou" <xenophon+fbsdports@irtnog.org> |
| Date: | Mon, 28 Apr 2008 01:16:40 GMT |
| Subject: | New port: devel/py-yapps2 (an easy-to-use parser generator that generates Python code) |
| Send-pr version: | www-3.1 |
| Number: | 123154 |
| Category: | ports |
| Synopsis: | New port: devel/py-yapps2 (an easy-to-use parser generator that generates Python code) |
| Severity: | non-critical |
| Priority: | low |
| Responsible: | freebsd-python@FreeBSD.org |
| State: | feedback |
| Class: | change-request |
| Arrival-Date: | Mon Apr 28 01:20:04 UTC 2008 |
| Closed-Date: | |
| Last-Modified: | Mon Jul 13 10:17:26 UTC 2009 |
| Originator: | Matthew X. Economou |
| Release: | 6.3-RELEASE |
| Organization: |
IRTNOG
| Environment: |
FreeBSD cinip101bsdlog.irtnog.net 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #4: Fri Apr 18 14:11:55 EDT 2008 root@cinip101bsdlog.irtnog.net:/usr/obj/usr/src/sys/SMP i386
| 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.
WWW: http://theory.stanford.edu/~amitp/yapps/
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.
WWW: http://theory.stanford.edu/~amitp/yapps/
| How-To-Repeat: |
N/A
| Fix: |
N/A
| Download patch.txt |
# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # devel/py-yapps2 # devel/py-yapps2/distinfo # devel/py-yapps2/Makefile # devel/py-yapps2/pkg-plist # devel/py-yapps2/pkg-descr # echo c - devel/py-yapps2 mkdir -p devel/py-yapps2 > /dev/null 2>&1 echo x - devel/py-yapps2/distinfo sed 's/^X//' >devel/py-yapps2/distinfo << 'END-of-devel/py-yapps2/distinfo' XMD5 (yapps2.1.1.tar.gz) = 7d5ac9cfb2de690adf26d5e83ca7679f XSHA256 (yapps2.1.1.tar.gz) = e7a0d087b237d1b949bc1643b8e2529ff870005ad38953732ff1c347b0b2fea3 XSIZE (yapps2.1.1.tar.gz) = 19685 END-of-devel/py-yapps2/distinfo echo x - devel/py-yapps2/Makefile sed 's/^X//' >devel/py-yapps2/Makefile << 'END-of-devel/py-yapps2/Makefile' X# New ports collection makefile for: Yapps2 X# Date created: 27 April 2008 X# Whom: xenophon+fbsdports@irtnog.org X# X# $FreeBSD$ X# X XPORTNAME= yapps2 XPORTVERSION= 2.1.1 XCATEGORIES= devel python XMASTER_SITES= http://theory.stanford.edu/~amitp/yapps/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= yapps${PORTVERSION} X XMAINTAINER= xenophon+fbsdports@irtnog.org XCOMMENT= An easy-to-use parser generator that generates Python code X XWRKSRC= ${WRKDIR}/Yapps-${PORTVERSION} XUSE_PYTHON= yes XUSE_PYDISTUTILS=yes X X.include <bsd.port.mk> END-of-devel/py-yapps2/Makefile echo x - devel/py-yapps2/pkg-plist sed 's/^X//' >devel/py-yapps2/pkg-plist << 'END-of-devel/py-yapps2/pkg-plist' Xbin/yapps2 X%%PYTHON_SITELIBDIR%%/yapps/__init__.py X%%PYTHON_SITELIBDIR%%/yapps/__init__.pyc X%%PYTHON_SITELIBDIR%%/yapps/__init__.pyo X%%PYTHON_SITELIBDIR%%/yapps/grammar.py X%%PYTHON_SITELIBDIR%%/yapps/grammar.pyc X%%PYTHON_SITELIBDIR%%/yapps/grammar.pyo X%%PYTHON_SITELIBDIR%%/yapps/parsetree.py X%%PYTHON_SITELIBDIR%%/yapps/parsetree.pyc X%%PYTHON_SITELIBDIR%%/yapps/parsetree.pyo X%%PYTHON_SITELIBDIR%%/yapps/yapps_grammar.py X%%PYTHON_SITELIBDIR%%/yapps/yapps_grammar.pyc X%%PYTHON_SITELIBDIR%%/yapps/yapps_grammar.pyo X%%PYTHON_SITELIBDIR%%/yapps/yappsrt.py X%%PYTHON_SITELIBDIR%%/yapps/yappsrt.pyc X%%PYTHON_SITELIBDIR%%/yapps/yappsrt.pyo X@dirrm %%PYTHON_SITELIBDIR%%/yapps END-of-devel/py-yapps2/pkg-plist echo x - devel/py-yapps2/pkg-descr sed 's/^X//' >devel/py-yapps2/pkg-descr << 'END-of-devel/py-yapps2/pkg-descr' XYapps (Yet Another Python Parser System) is an easy to use parser Xgenerator that is written in Python and generates Python code. Yapps Xis simple, is easy to use, and produces human-readable parsers. It is Xnot fast, powerful, or particularly flexible. Yapps is designed to be Xused when regular expressions are not enough and other parser systems Xare too much: situations where you may write your own recursive Xdescent parser. Yapps 1 is more like a functional language (concise Xgrammars of the form when you see this, return this), while Yapps 2 is Xmore like an imperative language (more verbose grammars of the form Xif/while you see this, do this). Yapps 2 is more flexible than Yapps X1 but it requires Python 1.5 and is not backwards-compatible with XYapps 1. X XThis is the development version of Yapps 2. X XWWW: http://theory.stanford.edu/~amitp/yapps/ END-of-devel/py-yapps2/pkg-descr exit |
| Release-Note: |
| Audit-Trail: |
| Responsible Changed | |
| From-To: | freebsd-ports-bugs->freebsd-python |
| By: | edwin |
| When: | Mon Apr 28 01:20:09 UTC 2008 |
| Why: | freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) |
| Reply via E-mail | |
| From: | "Matthew X. Economou" <xenophon@irtnog.org> |
| Date: | Sun, 27 Apr 2008 22:46:51 -0400 |
|
To whom it may concern: On second thought, let me rename this particular version devel/py-yapps2-devel and create ports for the other two releases posted on the author's web site. I'll submit the new ports tomorrow or Tuesday at the latest. I will need to add a CONFLICTS entry for each port, as they install to the same directory under ${PYTHON_SITELIBDIR}. Best wishes, Matthew | |
| Reply via E-mail | |||
| From: | "Matthew X. Economou" <xenophon@irtnog.org> | ||
| Date: | Thu, 1 May 2008 15:19:16 -0400 | ||
|
This is a multi-part message in MIME format. charset="us-ascii" Content-Transfer-Encoding: 7bit Upon further reflection, let me leave this submission as is. I don't know of anyone else using older versions of this parser generator. Best wishes, Matthew
| |||
| State Changed | |
| From-To: | open->feedback |
| By: | lwhsu |
| When: | Mon Jul 13 10:17:25 UTC 2009 |
| Why: | The last patch you sent corrupted, could you send again? Thanks! |
| Unformatted: |
