BSD Ports

devel/ragel 6.10_1 MidnightBSD

Compile regular languages into executable C/C++ code

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl2, gpl3
Categories
devel

Description

Ragel compiles finite state machines from regular languages into runnable C code. Ragel state machines can not only recognize byte sequences as regular expression machines do, but can also execute code at arbitrary points in the recognition of a regular language.

When you wish to write down a regular language you start with some simple regular language and build a bigger one using the regular language operators union, concatenation, kleene star, intersection and subtraction. This is precisely the way you describe to Ragel how to compile your finite state machines. Ragel also understands operators that insert function calls into machines and operators that control any non-determinism in machines.

In the other systems

The newest version among them is 6.11, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/ragel6.10_1 behind since 2026-07-26no data-[email protected]-
FreeBSDdevel/ragel6.10_1 behind since 2026-07-26none known-[email protected]-
OpenBSDdevel/ragel6.11 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-07-26
NetBSDdevel/ragel6.10 behind since 2026-07-26none known-[email protected]-
DragonFlydevel/ragel6.10_1 behind since 2026-07-26none known-[email protected]-
HardenedBSDdevel/ragel6.10_1 behind since 2026-07-26no data-[email protected]-
GhostBSDdevel/ragel6.10_1 behind since 2026-07-26no data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install ragel

From mports:

cd /usr/mports/devel/ragel && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ragel>0:devel/ragel

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Configuration

Options name: devel_ragel

OptionDefaultDescription
EXAMPLESoff
TEXDOCSoffBuild pdf documentation (requires LaTeX)
USES
gmake
Service scripts
none

Files

Manual pages 1
  • ragel(1)
pkg-plist 144
  • bin/ragel
  • share/man/man1/ragel.1.gz
  • share/doc/ragel/bmconcat.pdf
  • share/doc/ragel/bmnull.pdf
  • share/doc/ragel/bmnum.pdf
  • share/doc/ragel/bmor.pdf
  • share/doc/ragel/bmrange.pdf
  • share/doc/ragel/bmregex.pdf
  • share/doc/ragel/comments1.pdf
  • share/doc/ragel/comments2.pdf
  • share/doc/ragel/conds1.pdf
  • share/doc/ragel/conds2.pdf
  • share/doc/ragel/dropdown.pdf
  • share/doc/ragel/entryguard.pdf
  • share/doc/ragel/exaction.pdf
  • share/doc/ragel/exallact.pdf
  • share/doc/ragel/exconcat.pdf
  • share/doc/ragel/exdoneact.pdf
  • share/doc/ragel/exinter.pdf
  • share/doc/ragel/exnegate.pdf
  • share/doc/ragel/exoption.pdf
  • share/doc/ragel/exor.pdf
  • share/doc/ragel/exoutact1.pdf
  • share/doc/ragel/exoutact2.pdf
  • share/doc/ragel/explus.pdf
  • share/doc/ragel/exstact.pdf
  • share/doc/ragel/exstar.pdf
  • share/doc/ragel/exstrongsubtr.pdf
  • share/doc/ragel/exsubtr.pdf
  • share/doc/ragel/finguard.pdf
  • share/doc/ragel/leftguard.pdf
  • share/doc/ragel/lines1.pdf
  • share/doc/ragel/lines2.pdf
  • share/doc/ragel/lmkleene.pdf
  • share/doc/ragel/opconcat.pdf
  • share/doc/ragel/opor.pdf
  • share/doc/ragel/opstar.pdf
  • share/doc/ragel/ragel-guide.pdf
  • share/doc/ragel/smallscanner.pdf
  • share/doc/ragel/stembed.pdf
  • share/examples/ragel/Makefile
  • share/examples/ragel/Makefile.am
  • share/examples/ragel/Makefile.in
  • share/examples/ragel/README
  • share/examples/ragel/atoi1.rl
  • share/examples/ragel/atoi2.rl
  • share/examples/ragel/atoi3.rl
  • share/examples/ragel/awkemu.rl
  • share/examples/ragel/builtin.rl
  • share/examples/ragel/call1.rl
  • share/examples/ragel/call2.rl
  • share/examples/ragel/call3.rl
  • share/examples/ragel/checkeofact.txl
  • share/examples/ragel/clang1.rl
  • share/examples/ragel/clang2.rl
  • share/examples/ragel/clang3.rl
  • share/examples/ragel/clang4.rl
  • share/examples/ragel/cond1.rl
  • share/examples/ragel/cond2.rl
  • share/examples/ragel/cond3.rl
  • share/examples/ragel/cond4.rl
  • share/examples/ragel/cond5.rl
  • share/examples/ragel/cond6.rl
  • share/examples/ragel/cond7.rl
  • share/examples/ragel/cppscan1.h
  • share/examples/ragel/cppscan1.rl
  • share/examples/ragel/cppscan2.rl
  • share/examples/ragel/cppscan3.rl
  • share/examples/ragel/cppscan4.rl
  • share/examples/ragel/cppscan5.rl
  • share/examples/ragel/cppscan6.rl
  • share/examples/ragel/element1.rl
  • share/examples/ragel/element2.rl
  • share/examples/ragel/element3.rl
  • share/examples/ragel/eofact.h
  • share/examples/ragel/eofact.rl
  • share/examples/ragel/erract1.rl
  • share/examples/ragel/erract2.rl
  • share/examples/ragel/erract3.rl
  • share/examples/ragel/erract4.rl
  • share/examples/ragel/erract5.rl
  • share/examples/ragel/erract6.rl
  • share/examples/ragel/erract7.rl
  • share/examples/ragel/erract8.rl
  • share/examples/ragel/erract9.rl
  • share/examples/ragel/export1.rl
  • share/examples/ragel/export2.rl
  • share/examples/ragel/export3.rl
  • share/examples/ragel/export4.rl
  • share/examples/ragel/fnext1.rl
  • share/examples/ragel/forder1.rl
  • share/examples/ragel/forder2.rl
  • share/examples/ragel/forder3.rl
  • share/examples/ragel/gotocallret1.rl
  • share/examples/ragel/gotocallret2.rl
  • share/examples/ragel/high1.rl
  • share/examples/ragel/high2.rl
  • share/examples/ragel/high3.rl
  • share/examples/ragel/import1.rl
  • share/examples/ragel/include1.rl

The first 100 are listed.

distinfo 1
FileSizeSHA256
ragel-6.10.tar.gz1.232993e+065f156edb65d20b856d638dd9ee2dfb43285914d9aa2b6ec779dac0270cd56c3f
Master sites 1
  • http://www.colm.net/files/ragel/