BSD Ports

textproc/re_graph 0.2_3 DragonFly

Regular Expression Graphing Program

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
textproc
Package size
49.2 KiB, 4400.0 KiB installed

Description

The re_graph.pl program graphs regular expressions. The guts of the regular expression engine is a simple state machine. The various states and operations in the regular expression parser can be displayed using a surprisingly simple diagram.

A few notes on what you are looking at: * The nodes Start and Stop denote the beginning and end of the regular expression. * The solid squares denote atoms. Lines indicate the next state. When a line splits, the state machine will take the top line first. If it's path is blocked it will backup and take the next lower line. This is repeated until it finds a path to the end or all paths are exhausted. * Brown boxes indicate a grouping operation, i.e. (). * Green boxes indicate a zero with test. The state machine will perform the test inside the box before moving ahead.

In the other systems

SystemPortVersion
DragonFlytextproc/re_graph0.2_3
FreeBSDtextproc/re_graph0.2_3

Install

Binary package:

pkg install re_graph

From DPorts:

cd /usr/dports/textproc/re_graph && make install clean

Dependencies

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

The re_graph port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing