BSD Ports

devel/dragon 1.5.5 DragonFly

Combined C++ scanner/parser generator for LR compliant grammars

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3
Categories
devel
Package size
93.2 KiB, 351.9 KiB installed

Description

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:

In the other systems

SystemPortVersion
DragonFlydevel/dragon1.5.5
FreeBSDdevel/dragon1.5.6
OpenBSDx11/kde-applications/dragon26.08.1
NetBSDmultimedia/dragon26.08.0
HardenedBSDdevel/dragon1.5.6
GhostBSDdevel/dragon1.5.6

Install

Binary package:

pkg install dragon

From DPorts:

cd /usr/dports/devel/dragon && make install clean

Dependencies

Run dependencies 1

No port depends on this one.