1
0
Fork 0
mirror of https://github.com/westes/flex.git synced 2026-12-03 15:04:37 +00:00
The Fast Lexical Analyzer - scanner generator for lexing in C and C++
  • C 61.9%
  • Lex 17%
  • Shell 9%
  • Yacc 3%
  • Makefile 2.7%
  • Other 6.4%
Find a file
Will Estes 0babb3b777 ci: stop uploading the manual to flexlexer.org
The website job built the manual and also sent it to flexlexer.org,
along with the single-page version. GitHub Pages already serves both, so
the copy on flexlexer.org is a second one to keep up.

Remove the deploy job from the website workflow. The manual stays on
GitHub Pages, and flexlexer.org links there.
2026-12-03 06:49:40 -05:00
.githooks ci: check spelling with codespell 2026-11-27 06:37:32 -05:00
.github ci: stop uploading the manual to flexlexer.org 2026-12-03 06:49:40 -05:00
doc ci: add a page for the old manuals' dir links 2026-12-03 06:20:26 -05:00
examples fix(examples): build the manual examples on current systems 2026-10-27 14:05:33 -04:00
lib Match malloc signature to its use 2025-05-26 12:08:09 -04:00
m4 build: Update ax_prog_cc_for_build.m4 with upstream 2024-11-03 07:14:29 -05:00
po chore(po): update fr translation from the translation project 2026-12-01 22:46:25 -05:00
src refactor(dfa): size the full table in size_t 2026-12-02 17:58:39 -05:00
tests build: ignore the at_bol_fast test program 2026-12-01 06:03:43 -05:00
tools ci: check the copyright years in the release 2026-11-28 12:02:20 -05:00
.codespellrc ci: check spelling with codespell 2026-11-27 06:37:32 -05:00
.gitignore Documented building and installation of flex 2022-09-27 16:50:19 -04:00
.indent.pro .cvsignore and .indent.pro got missed in the import to sourceforge; replace them 2004-05-12 00:44:08 +00:00
.mailmap build: .mailmap for cleaning up shortlog 2017-05-13 14:24:17 -04:00
.prev-version build: 2.6.4 is previous version 2017-05-06 20:26:28 -04:00
AUTHORS rearrange and update AUTHORS 2007-04-03 18:54:16 +00:00
autogen.sh typos 2023-08-22 11:35:15 -04:00
CODE_OF_CONDUCT.md flex is for flex #NCoC 2016-01-23 11:43:07 -05:00
configure.ac release: v2.7.15 2026-12-02 10:36:54 +00:00
CONTRIBUTING.md ci: check the copyright years in the release 2026-11-28 12:02:20 -05:00
control.ac initial default control file for shipper 2014-03-26 08:46:37 -04:00
COPYING docs: give FlexLexer.h a Flex Project notice and SPDX line 2026-11-28 12:02:20 -05:00
INSTALL.md build: check the bootstrap flex against the release key 2026-11-10 09:12:20 -05:00
Makefile.am ci: check spelling with codespell 2026-11-27 06:37:32 -05:00
NEWS release: start development after v2.7.15 2026-12-02 10:36:54 +00:00
ONEWS typos 2023-08-22 11:35:15 -04:00
README.md docs: put the release key fingerprint in the README 2026-11-09 17:46:16 -05:00
THANKS copy in manual author and thanks info 2001-07-25 20:25:19 +00:00
TODO Update all the examples to use the new API elements. 2020-10-12 21:07:14 -04:00

Build Status

This is flex, the fast lexical analyzer generator.

flex is a tool for generating scanners: programs which recognize lexical patterns in text.

The flex codebase is kept in Git on GitHub. Source releases of flex with some intermediate files already built can be found on the github releases page.

Releases of flex from 2.6.5 on are signed with a key whose user id is Flex Releases releases@flexlexer.org. Its fingerprint is

56D6 64C7 0CC2 364C F516  4914 B7DF E8BB 6C24 1FED

The public key is on keys.openpgp.org and at https://flexlexer.org/downloads/. Earlier releases were signed by other keys; the new key is not connected to them.

General information about flex is at https://westes.github.io/flex/. The manual is at https://westes.github.io/flex/manual/, with the whole manual on a single page at https://westes.github.io/flex/manual-single.html.

News about flex, and stories from maintaining it, are on the blog at https://flexlexer.org/posts/. To get release announcements by e-mail, subscribe to flex-announce at https://lists.flexlexer.org/subscription/form.

Use GitHub's issues and pull request features to file bugs and submit patches.

There are several mailing lists available as well:

Find information on subscribing to the mailing lists or search in the archive at: https://sourceforge.net/p/flex/mailman/ Note: Posting is only allowed from addresses that are subscribed to the lists.

The flex distribution contains the following files which may be of interest:

  • README.md - This file.
  • NEWS - current version number and list of user-visible changes.
  • INSTALL.md - basic installation information.
  • ABOUT-NLS - description of internationalization support in flex.
  • COPYING - flex's copyright and license.
  • doc/ - user documentation.
  • examples/ - containing examples of some possible flex scanners and a few other things. See the file examples/README for more details.
  • tests/ - regression tests. See tests/README for details.
  • po/ - internationalization support files.

This file is part of flex.

This code is derived from software contributed to Berkeley by Vern Paxson.

The United States Government has rights in this work pursuant to contract no. DE-AC03-76SF00098 between the United States Department of Energy and the University of California.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.