wok-6.x rev 21835
updated re2c (0.13.5 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Sep 14 10:21:53 2019 +0100 (2019-09-14) |
parents | 29e56a3b776e |
children | f2e985474c6d |
files | re2c/description.txt re2c/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/re2c/description.txt Sat Sep 14 10:21:53 2019 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +Re2c is a free and open-source lexer generator for C and C++. 1.5 +The main goal of the project is to generate very fast lexers that match or 1.6 +exceed the speed of carefully optimized hand-written code. Instead of using 1.7 +traditional table-driven approach, re2c encodes the underlying finite state 1.8 +automata directly in the form of conditional jumps and applies numerous 1.9 +optimizations to the generated code. The resulting programs are faster and 1.10 +often smaller than their table-driven counterparts, and they are much easier 1.11 +to debug and understand. 1.12 +Re2c has an unusual flexible user interface: instead of assuming a fixed 1.13 +program template, it leaves the definition of the interface code to the user 1.14 +and allows to configure almost every aspect of the generated code. This gives 1.15 +the users a lot of freedom in the way they bind the lexer to their particular 1.16 +environment and allows them to decide on the optimal input model. 1.17 +Re2c supports fast and lightweight submatch extraction which does not requre 1.18 +the overhead on full parsing — a feature that is rarely found in the wild. 1.19 +Re2c is used by many other projects (such as php, ninja, yasm, spamassassin, 1.20 +BRL-CAD and wake) and aims at being fully backward compatible. 1.21 +On the other hand, it is a research project and a playground for the 1.22 +development of new algorithms in the field of formal grammars and automata.
2.1 --- a/re2c/receipt Sat Sep 14 10:01:13 2019 +0100 2.2 +++ b/re2c/receipt Sat Sep 14 10:21:53 2019 +0100 2.3 @@ -1,22 +1,22 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="re2c" 2.7 -VERSION="0.13.5" 2.8 +VERSION="1.2.1" 2.9 CATEGORY="system-tools" 2.10 -SHORT_DESC="Re2c is a tool for writing very fast and very flexible scanners." 2.11 +TAGS="scanner" 2.12 +SHORT_DESC="A tool for generating C-based recognisers from regular expressions." 2.13 MAINTAINER="pankso@slitaz.org" 2.14 LICENSE="PublicDomain" 2.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 2.16 -WEB_SITE="http://re2c.org/" 2.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.18 -TAGS="scanner" 2.19 +WEB_SITE="https://re2c.org/" 2.20 + 2.21 +TARBALL="$PACKAGE-$VERSION.tar.xz" 2.22 +WGET_URL="https://github.com/skvadrik/releases/download/$VERSION/$TARBALL" 2.23 2.24 # Rules to configure and make the package. 2.25 compile_rules() 2.26 { 2.27 - cd $src 2.28 - ./configure \ 2.29 - --prefix=/usr \ 2.30 + ./configure \ 2.31 + --prefix=/usr \ 2.32 $CONFIGURE_ARGS && 2.33 make && 2.34 make DESTDIR=$DESTDIR install