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-static_O3 |
timestamp | 2024-04-28 13:56:15 UTC (09:57:56 hours ago) |
result | success | 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-04-28 13:37:32 UTC (10:16:39 hours 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-04-28 13:36:49 UTC (10:17:22 hours 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-04-28 13:36:09 UTC (10:18:03 hours 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-04-28 12:17:05 UTC (11:37:07 hours 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-04-28 12:16:28 UTC (11:37:44 hours 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-04-28 09:44:42 UTC (14:09:30 hours 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-04-28 03:58:03 UTC (19:56:09 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-04-28 01:50:51 UTC (22:03:21 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-04-28 01:50:06 UTC (22:04:06 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-04-28 01:49:45 UTC (22:04:26 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-04-28 01:49:32 UTC (22:04:39 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-04-28 01:49:26 UTC (22:04:45 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-04-28 01:49:01 UTC (22:05: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 |
timestamp | 2024-04-28 01:48:52 UTC (22:05:19 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-04-28 01:48:40 UTC (22:05:32 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-04-28 01:48:39 UTC (22:05:33 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-04-28 01:48:35 UTC (22:05:37 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-04-28 01:46:20 UTC (22:07:52 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-04-28 01:43:48 UTC (22:10:23 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-04-28 01:43:33 UTC (22:10:38 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-04-28 01:43:00 UTC (22:11:12 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-04-28 01:42:55 UTC (22:11:17 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-04-28 01:42:16 UTC (22:11:55 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-04-28 01:42:13 UTC (22:11:58 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-04-28 01:42:08 UTC (22:12:04 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-04-28 01:41:56 UTC (22:12:16 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-04-28 01:41:25 UTC (22:12: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-static_O3 |
timestamp | 2024-04-28 01:41:15 UTC (22:12:56 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-04-28 01:40:58 UTC (22:13:14 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-04-28 01:40:43 UTC (22:13:29 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-04-28 01:40:25 UTC (22:13: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-04-28 01:40:01 UTC (22:14:11 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-04-28 01:39:03 UTC (22:15:08 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-O3 |
timestamp | 2024-04-28 00:21:01 UTC (23:33:11 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 |
timestamp | 2024-04-28 00:18:40 UTC (23:35:31 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-04-27 17:58:51 UTC (01 05:55:20 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-04-27 17:14:15 UTC (01 06:39:57 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-04-27 17:10:08 UTC (01 06:44:04 days 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-04-27 14:15:46 UTC (01 09:38:25 days ago) |
result | success | log | rebuild |
toolchain | public-0.16.0 |
---|---|
target | aarch64-linux-gnu |
tgt config | linux_debian_12-clang_16_libc++-O3 |
timestamp | 2024-04-27 11:45:01 UTC (01 12:09:10 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-04-27 11:43:55 UTC (01 12:10:16 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-04-27 11:43:40 UTC (01 12:10: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_16-static_O3 |
timestamp | 2024-04-27 11:43:20 UTC (01 12:10:51 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-04-27 11:42:42 UTC (01 12:11:29 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-04-27 11:41:30 UTC (01 12:12:41 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-static_O3 |
timestamp | 2024-04-27 03:28:47 UTC (01 20:25:25 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-04-27 03:28:05 UTC (01 20:26:07 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-04-27 03:27:23 UTC (01 20:26:48 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-04-27 03:26:41 UTC (01 20:27:30 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-04-26 12:41:50 UTC (02 11:12:21 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-04-26 12:34:20 UTC (02 11:19:51 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-04-26 12:26:46 UTC (02 11:27:25 days ago) |
result | warning (update) | warning (install) | 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