Combined scanner/parser generator for LR compliant grammar definitions.

The generated C++ parser class is used as a super class from which a parser
implementation class must be derived. The implementation class implements the
scanner feed methods but also all required semantic action method. dragon has
been used for several large projects with complex grammar definitions (about
200 productions/ 80 tokens ). Since for those grammar defintions, the analyse
phase to build up the parse table is quite CPU intensive, it is recommended to
use state of the art hardware. dragon requires the base package to get compiled
but also for the compilation of the generated C++ code.

It can be used for databases/cego and probably other applications.

Many more details are available at:

WWW: http://www.lemke-it.com/

PR:		ports/150683
Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu>
This commit is contained in:
Pav Lucistnik 2010-10-29 13:31:41 +00:00
parent 2cebfd5aed
commit 86cb3f8237
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263741
4 changed files with 43 additions and 0 deletions

View file

@ -316,6 +316,7 @@
SUBDIR += doxygen
SUBDIR += dparser
SUBDIR += dprog
SUBDIR += dragon
SUBDIR += dreampie
SUBDIR += drpython
SUBDIR += dsss

23
devel/dragon/Makefile Normal file
View file

@ -0,0 +1,23 @@
# New ports collection makefile for: dragon
# Date created: 2010-09-17
# Whom: Kurt Jaeger <fbsd-ports@opsec.eu>
#
# $FreeBSD$
PORTNAME= dragon
PORTVERSION= 1.3.7
CATEGORIES= devel
MASTER_SITES= http://www.lemke-it.com/
DISTNAME= dragon-${PORTVERSION}
MAINTAINER= fbsd-ports@opsec.eu
COMMENT= Combined C++ scanner/parser generator for LR compliant grammars
LIB_DEPENDS= lfc.1:${PORTSDIR}/devel/lfc
LICENSE= GPLv2
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
PLIST_FILES= bin/dragon
.include <bsd.port.mk>

3
devel/dragon/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (dragon-1.3.7.tar.gz) = 142500f27c91ae1739ec87ebe6262886
SHA256 (dragon-1.3.7.tar.gz) = a7f505624985ffa249f1f123b57e9c70d44d06f16117a2b84d7e2b1093c8ecf2
SIZE (dragon-1.3.7.tar.gz) = 123758

16
devel/dragon/pkg-descr Normal file
View file

@ -0,0 +1,16 @@
Combined scanner/parser generator for LR compliant grammar definitions.
The generated C++ parser class is used as a super class from which a parser
implementation class must be derived. The implementation class implements the
scanner feed methods but also all required semantic action method. dragon has
been used for several large projects with complex grammar definitions (about
200 productions/ 80 tokens ). Since for those grammar defintions, the analyse
phase to build up the parse table is quite CPU intensive, it is recommended to
use state of the art hardware. dragon requires the base package to get compiled
but also for the compilation of the generated C++ code.
It can be used for databases/cego and probably other applications.
Many more details are available at:
WWW: http://www.lemke-it.com/