Relocalized fast lexical analyzer generator
reflex
is a variant of flex
, a tool for generating scanners (programs
which recognize lexical patterns in text).
It reads the given input files for a description of a scanner to generate. The
description is in the form of pairs of regular expressions and C code, called
rules. Reflex generates as output a C source file, lex.yy.c
, which defines a
routine yylex()
. When this routine is called, it analyzes its input for
occurrences of the regular expressions. Whenever it finds one, it executes the
corresponding C code.
... More
version | 20210808+1 |
---|---|
license | other: BSD-AdClauseCustomized version of BSD-4-Clause |
repository | https://pkg.cppget.org/1/stable |
download | reflex-20210808+1.tar.gz |
sha256 | 27a76030a9ad4282d227f93ad50e372462f0ce2a1a322c3a3d6ea78e8d3cd02a |
project | reflex |
---|---|
url | invisible-island.net/reflex/reflex.html |
package-url | github.com/build2-packaging/reflex |
package-email | boris@codesynthesis.com |
topics | lexflexlexer |
Depends (1)
* | byacc >= 20210619 |
---|
Requires (1)
host |
Builds
toolchain | public-0.16.0 |
---|---|
target | x86_64-apple-darwin22.5.0 |
tgt config | macos_13-clang_15.0-O3 |
timestamp | 2024-05-21 05:25:03 UTC (21:39 minutes ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-apple-darwin22.5.0 |
tgt config | macos_13-clang_15.0 |
timestamp | 2024-05-21 05:24:18 UTC (22:25 minutes ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_fedora_37-gcc_12.2-bindist |
timestamp | 2024-05-21 04:04:29 UTC (01:42:14 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-w64-mingw32 |
tgt config | windows_10-gcc_12.2_mingw_w64-O2 |
timestamp | 2024-05-21 02:00:16 UTC (03:46:27 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-w64-mingw32 |
tgt config | windows_10-gcc_12.2_mingw_w64 |
timestamp | 2024-05-21 01:57:56 UTC (03:48:47 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-clang_16.0_libc++-static_O3 |
timestamp | 2024-05-21 01:55:31 UTC (03:51:11 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-microsoft-win32-msvc14.3 |
tgt config | windows_10-msvc_17.6-static_O2 |
timestamp | 2024-05-21 01:54:03 UTC (03:52:40 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-microsoft-win32-msvc14.3 |
tgt config | windows_10-clang_16.0_llvm_msvc_17.6-static_O2 |
timestamp | 2024-05-21 01:53:30 UTC (03:53:12 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-microsoft-win32-msvc14.3 |
tgt config | windows_10-msvc_17.6-O2 |
timestamp | 2024-05-21 01:53:05 UTC (03:53:37 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-clang_16.0_libc++-O3 |
timestamp | 2024-05-21 01:52:52 UTC (03:53:50 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-microsoft-win32-msvc14.3 |
tgt config | windows_10-clang_16.0_llvm_msvc_17.6-O2 |
timestamp | 2024-05-21 01:52:43 UTC (03:54:00 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-clang_16.0_libc++ |
timestamp | 2024-05-21 01:52:20 UTC (03:54:23 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-microsoft-win32-msvc14.3 |
tgt config | windows_10-msvc_17.6 |
timestamp | 2024-05-21 01:52:10 UTC (03:54:32 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-microsoft-win32-msvc14.3 |
tgt config | windows_10-clang_16.0_llvm_msvc_17.6 |
timestamp | 2024-05-21 01:51:53 UTC (03:54:49 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-microsoft-win32-msvc14.3 |
tgt config | windows_10-msvc_17.5 |
timestamp | 2024-05-21 01:51:51 UTC (03:54:51 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-microsoft-win32-msvc14.3 |
tgt config | windows_10-clang_15.0_msvc_msvc_17.6 |
timestamp | 2024-05-21 01:51:45 UTC (03:54:57 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-gcc_12-bindist |
timestamp | 2024-05-21 01:50:33 UTC (03:56:10 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-clang_16.0-O3 |
timestamp | 2024-05-21 01:46:32 UTC (04:00:10 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-freebsd13.2 |
tgt config | freebsd_13-clang_14.0-static_O3 |
timestamp | 2024-05-21 01:46:10 UTC (04:00:32 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-clang_16.0-static_O3 |
timestamp | 2024-05-21 01:46:03 UTC (04:00:39 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-freebsd13.2 |
tgt config | freebsd_13-clang_14.0-O3 |
timestamp | 2024-05-21 01:45:41 UTC (04:01:02 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-freebsd13.2 |
tgt config | freebsd_13-clang_14.0 |
timestamp | 2024-05-21 01:44:52 UTC (04:01:50 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-freebsd12.4 |
tgt config | freebsd_12-clang_13.0 |
timestamp | 2024-05-21 01:44:39 UTC (04:02:03 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-gcc_13.1-ndebug_O3 |
timestamp | 2024-05-21 01:43:54 UTC (04:02:49 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-gcc_13.1-static_O3 |
timestamp | 2024-05-21 01:43:19 UTC (04:03:24 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-clang_16.0 |
timestamp | 2024-05-21 01:43:10 UTC (04:03:32 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-gcc_13.1-O3 |
timestamp | 2024-05-21 01:42:56 UTC (04:03:46 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-gcc_13.1 |
timestamp | 2024-05-21 01:42:08 UTC (04:04:34 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_11-gcc_12.1 |
timestamp | 2024-05-21 01:40:56 UTC (04:05:46 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-apple-darwin22.5.0 |
tgt config | macos_13-clang_15.0-static_O3 |
timestamp | 2024-05-20 14:33:50 UTC (15:12:52 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-w64-mingw32 |
tgt config | windows_10-gcc_12.2_mingw_w64-static_O2 |
timestamp | 2024-05-20 14:04:43 UTC (15:41:59 hours ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-apple-darwin22.5.0 |
tgt config | macos_13-clang_14.0-static_O3 |
timestamp | 2024-05-19 17:50:43 UTC (01 11:55:59 days ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-apple-darwin22.5.0 |
tgt config | macos_13-clang_14.0-O3 |
timestamp | 2024-05-19 17:36:00 UTC (01 12:10:42 days ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-apple-darwin22.5.0 |
tgt config | macos_13-clang_14.0 |
timestamp | 2024-05-19 17:30:50 UTC (01 12:15:53 days ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-gcc_13-static_O3 |
timestamp | 2024-05-19 13:03:02 UTC (01 16:43:40 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-gcc_13-ndebug_O3 |
timestamp | 2024-05-19 13:02:31 UTC (01 16:44:11 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-gcc_13-O3 |
timestamp | 2024-05-19 13:02:04 UTC (01 16:44:38 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-gcc_13 |
timestamp | 2024-05-19 13:01:58 UTC (01 16:44:44 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-clang_16_libc++-O3 |
timestamp | 2024-05-19 12:54:20 UTC (01 16:52:22 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-clang_16_libc++ |
timestamp | 2024-05-19 12:53:08 UTC (01 16:53:35 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-clang_16_libc++-static_O3 |
timestamp | 2024-05-19 12:52:34 UTC (01 16:54:08 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-clang_16-static_O3 |
timestamp | 2024-05-19 12:51:59 UTC (01 16:54:43 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-clang_16 |
timestamp | 2024-05-19 12:51:25 UTC (01 16:55:18 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-clang_16-O3 |
timestamp | 2024-05-19 12:50:45 UTC (01 16:55:58 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-clang_15_libc++ |
timestamp | 2024-05-19 11:37:11 UTC (01 18:09:31 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-clang_15 |
timestamp | 2024-05-19 11:34:26 UTC (01 18:12:17 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_11-gcc_12 |
timestamp | 2024-05-19 11:21:29 UTC (01 18:25:13 days ago) |
result | warning (update) | warning (install) | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-apple-darwin22.5.0 |
tgt config | macos_13-gcc_13_homebrew-static_O3 |
timestamp | 2024-05-18 12:29:02 UTC (02 17:17:40 days ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-apple-darwin22.5.0 |
tgt config | macos_13-gcc_13_homebrew-O3 |
timestamp | 2024-05-18 12:26:13 UTC (02 17:20:29 days ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-apple-darwin22.5.0 |
tgt config | macos_13-gcc_13_homebrew |
timestamp | 2024-05-18 12:24:03 UTC (02 17:22:39 days ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-clang_15.0 |
timestamp | 2024-05-18 11:19:40 UTC (02 18:27:02 days ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_debian_12-clang_15.0_libc++ |
timestamp | 2024-05-18 11:18:00 UTC (02 18:28:42 days ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | x86_64-linux-gnu |
tgt config | linux_fedora_38-gcc_13-bindist |
timestamp | 2024-05-18 09:48:19 UTC (02 19:58:23 days ago) |
result | success | log | rebuild |
Changes
-- $Id: NEWS,v 1.58 2021/08/08 22:44:04 tom Exp $ ------------------------------------------------------------------------------- -- Changes by Thomas E. Dickey -- vile:txtmode ------------------------------------------------------------------------------- 2021/08/08 + add symbolic link for flex++ manpage in makefile "install" rule. > Boris Kolpackov: + add/use yylex_destroy() function like "new" flex which can be used to reset the lexer in order to re-execute it on different input. + fix a memory leak in gentab() 2021/08/06 + compiler-warning fixes 2021/08/04 + rewrote command-line options parsing, adding a table to map long options into the normal single-letter options. + updated config.guess, config.sub 2021/05/10 + modify skeleton to allow override of YY_BUF_SIZE + fix cppcheck warnings + update configure macros, e.g., for clang, BSDs, etc. CF_ADD_CFLAGS, CF_AR_FLAGS, CF_CC_ENV_FLAGS, CF_CHECK_CACHE, CF_CLANG_COMPILER, CF_CONST_X_STRING, CF_GCC_ATTRIBUTES, CF_GCC_WARNINGS, CF_INTEL_COMPILER, CF_LOCALE, CF_MAKE_DOCS, CF_MIXEDCASE_FILENAMES, CF_PATH_SYNTAX, CF_PROG_EXT, CF_WITHOUT_X, CF_WITH_MAN2HTML, CF_XOPEN_SOURCE + updated config.guess, config.sub 2020/07/15 + compiler-warning and shellcheck fixes + update configure macros, e.g., for clang, BSDs, etc. CF_ADD_CFLAGS, CF_AR_FLAGS, CF_CONST_X_STRING, CF_GCC_ATTRIBUTES, CF_GCC_WARNINGS, CF_PROG_CC, CF_WITHOUT_X + updated config.guess, config.sub 2019/11/23 + cleanup manual-page formatting. + add lower- and patch-version information to skeleton. + modify generated file to include unistd.h unless overridden, so that isatty() will be prototyped by default. + update configure macros, e.g., for clang, BSDs, etc. CF_CC_ENV_FLAGS, CF_CONST_X_STRING, CF_GCC_VERSION, CF_GCC_WARNINGS, CF_GNU_SOURCE, CF_POSIX_C_SOURCE, CF_POSIX_VISIBLE, CF_PROG_EXT, CF_PROG_GROFF, CF_PROG_LINT, CF_TRY_XOPEN_SOURCE, CF_WITH_MAN2HTML, CF_XOPEN_SOURCE + updated config.guess, config.sub 2017/12/31 + add a "FALLTHRU" comment to quiet compiler warning in vile's dcl-filt.l + update configure macros: CF_CC_ENV_FLAGS, CF_WITH_MAN2HTML + updated config.guess, config.sub 2017/11/11 + build-fix for rpms with Fedora 26. 2017/05/21 + amend mkscan.sh script to work with "make test" when building from other directories than the source-directory (report by Michael Tiernan) + add configure check for "ar" flags + add configure --with-man2html option + add "docs" rule to manpage + update configure macros, e.g., for clang and MingW CF_ACVERSION_CHECK, CF_ADD_CFLAGS, CF_ARG_OPTION, CF_CC_ENV_FLAGS, CF_DISABLE_ECHO, CF_GCC_ATTRIBUTES, CF_GCC_WARNINGS, CF_GNU_SOURCE, CF_INTEL_COMPILER, CF_MAKE_DOCS, CF_MIXEDCASE_FILENAMES, CF_POSIX_C_SOURCE, CF_PROG_CC, CF_PROG_EXT, CF_PROG_LINT, CF_XOPEN_SOURCE + updated config.guess, config.sub 2013/12/09 + minor compiler-warning fixes for the skeleton. + update configure macros, e.g., for clang and MingW + updated config.guess, config.sub 2010/09/06 + fix stricter compiler warnings, e.g., for 64-bits and gcc 4.1.2 with -Wconversion + remove unneeded "/" after $(DESTDIR) in Makefile.in, needed to install with Cygwin. 2010/06/27 + improve rename.sh, handling "FLEX" and "Flex" cases. + add configure checks for lint and tags programs. + add $DESTDIR to makefile. + drop mkdirs.sh, use "mkdir -p" + add build-scripts for RPM and Debian packages. + updates to configure script macros: + CF_ADD_CFLAGS, CF_ARG_OPTION, CF_INTEL_COMPILER, CF_POSIX_C_SOURCE, CF_XOPEN_SOURCE quoted params of ifelse() + CF_GCC_WARNINGS, change logic for warning options, to work with c89 wrapper for gcc + CF_GCC_VERSION, discard stderr, to work with c89 wrapper for gcc + CF_DISABLE_ECHO, uses different indent + updated config.guess, config.sub 2009/10/27 + add configure macro CF_XOPEN_SOURCE, to enable use of fileno() when compiling byacc output with c99. 2009/10/13 + more gcc warning fixes, including workaround for defective implementation of atttribute warn_unused_result. + change ccltbl[] to array of structs holding the reason why a character was added to a character class in addition to the character. 2009/09/02 + add patch-date to version message. + modify generated code to eliminate gcc -Wconversion warnings. + update utility scripts, using install-sh and mkdirs.sh + updated config.guess, config.sub 2008/11/17 + modify makefile rules and runtime handling of skeleton to make the C++ header file work using the same program prefix. + update FlexLexer.h to C++ standard header and namespace. + change default for --program-prefix option, to "re", making this install as "reflex". 2008/11/16 + add a missing ifdef for YY_NO_INPUT, needed to make the function actually removed. + move C-code supporting YY_FATAL_ERROR() in skeleton so that if the macro is overridden, then the support-code... More