From 4f043571a8f1846dbbd089cf4de0a5b58dff027d Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 6 Apr 2019 12:54:28 +0100 Subject: [PATCH] ragel: New package Ragel compiles executable finite state machines from regular languages. Ragel targets C, C++ and ASM. 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. Code embedding is done using inline operators that do not disrupt the regular language syntax. Signed-off-by: Michael Tremer --- ragel/ragel.nm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 ragel/ragel.nm diff --git a/ragel/ragel.nm b/ragel/ragel.nm new file mode 100644 index 000000000..02138d877 --- /dev/null +++ b/ragel/ragel.nm @@ -0,0 +1,32 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = ragel +version = 6.10 +release = 1 + +groups = Development/Tools +url = http://www.complang.org/ragel/ +license = GPL +summary = Ragel State Machine Compiler + +description + Ragel compiles executable finite state machines from regular languages. + Ragel targets C, C++ and ASM. 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. Code embedding is done using inline operators that do not + disrupt the regular language syntax. +end + +source_dl = https://www.colm.net/files/%{name}/ + +packages + package %{name} + + package %{name}-debuginfo + template DEBUGINFO + end +end