1
0
Fork 0
mirror of https://github.com/westes/flex.git synced 2025-12-05 22:28:34 +00:00
The Fast Lexical Analyzer - scanner generator for lexing in C and C++
Find a file
2025-05-26 12:08:09 -04:00
.github chore(deps): bump github/codeql-action in the github-actions group 2025-05-22 13:59:08 -04:00
doc Update flex.texi 2024-08-10 11:18:39 -04:00
examples typos 2023-08-22 11:35:15 -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 doc(gettext): added new ka translation from translation project 2023-01-15 09:46:49 -05:00
src fix: noline for %top directives 2025-05-17 11:01:09 -04:00
tests build(tests): add missing parser->scanner dependencies 2025-03-27 16:43:30 -04:00
tools Add tools/ directory. 2014-02-16 09:19:51 -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 build: Update ax_prog_cc_for_build.m4 with upstream 2024-11-03 07:14:29 -05:00
CONTRIBUTING.md doc(contrib): Alphabetize commit types 2023-03-30 15:40:11 -04:00
control.ac initial default control file for shipper 2014-03-26 08:46:37 -04:00
COPYING update copyright notice 2007-04-03 19:07:31 +00:00
INSTALL.md docs: Clarify GNU tool dependencies. 2024-03-20 22:07:51 -04:00
Makefile.am docs(contrib): Add CONTRIBUTING.md to EXTRA_DIST. 2023-03-30 15:40:11 -04:00
NEWS typos 2023-08-22 11:35:15 -04:00
ONEWS typos 2023-08-22 11:35:15 -04:00
README.md typo 2023-03-01 20:47:23 -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.

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.