All Projects → westes → Flex

westes / Flex

Licence: other
The Fast Lexical Analyzer - scanner generator for lexing in C and C++

Programming Languages

c
50402 projects - #5 most used programming language
Lex
420 projects
Yacc
648 projects
Makefile
30231 projects
shell
77523 projects
M4
1887 projects

Projects that are alternatives of or similar to Flex

Re Flex
The regex-centric, fast lexical analyzer generator for C++ with full Unicode support. Faster than Flex. Accepts Flex specifications. Generates reusable source code that is easy to understand. Introduces indent/dedent anchors, lazy quantifiers, functions for lex/syntax error reporting, and more. Seamlessly integrates with Bison and other parsers.
Stars: ✭ 274 (-88.28%)
Mutual labels:  lexer, flex
sb-dynlex
Configurable lexer for PHP featuring a fluid API.
Stars: ✭ 27 (-98.85%)
Mutual labels:  lexer, lexer-generator
Jflex
The fast scanner generator for Java™ with full Unicode support
Stars: ✭ 380 (-83.75%)
Mutual labels:  lexer, flex
compiler
Implementing a complete Compiler for a simple C-like language using the C-tools Flex and Bison
Stars: ✭ 106 (-95.47%)
Mutual labels:  flex, lexer
Simplec
C/C++ develop tool for android.
Stars: ✭ 105 (-95.51%)
Mutual labels:  lexer, flex
React Flexa
Responsive React Flexbox (CSS Flexible Box Layout Module) grid system based heavily on the standard CSS API.
Stars: ✭ 120 (-94.87%)
Mutual labels:  flex
Gelatin
Transform text files to XML, JSON, or YAML
Stars: ✭ 150 (-93.58%)
Mutual labels:  lexer
Flexy
Flexy is minimal CSS framework made with Flex
Stars: ✭ 114 (-95.12%)
Mutual labels:  flex
Plyara
Parse YARA rules and operate over them more easily.
Stars: ✭ 108 (-95.38%)
Mutual labels:  lexer
Qr Code Bundle
Bundle for generating QR codes in Symfony
Stars: ✭ 169 (-92.77%)
Mutual labels:  flex
Travelibrary
🐣流动图书馆微信小程序前端
Stars: ✭ 160 (-93.16%)
Mutual labels:  flex
Vue3.0 Admin
vue3.0 + typescript + element-ui + 后台系统
Stars: ✭ 142 (-93.93%)
Mutual labels:  flex
Chevrotain
Parser Building Toolkit for JavaScript
Stars: ✭ 1,795 (-23.22%)
Mutual labels:  lexer
Grmtools
Rust grammar tool libraries and binaries
Stars: ✭ 153 (-93.46%)
Mutual labels:  lexer
Flex.css
flex.css is declarative layout which is compatible with wechat, UC, webview and other main-stream mobile browser and surpports react, vue, angular.
Stars: ✭ 1,537 (-34.26%)
Mutual labels:  flex
Primereact
The Most Complete React UI Component Library
Stars: ✭ 2,393 (+2.35%)
Mutual labels:  flex
Infinity Css Grid
Fluid Flex Solution for making infinite grid columns.
Stars: ✭ 112 (-95.21%)
Mutual labels:  flex
Lex
Replaced by foonathan/lexy
Stars: ✭ 137 (-94.14%)
Mutual labels:  lexer
Lioness
The Lioness Programming Language
Stars: ✭ 155 (-93.37%)
Mutual labels:  lexer
Works For Me
Collection of developer toolkits
Stars: ✭ 131 (-94.4%)
Mutual labels:  lexer

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 - This file.
  • NEWS - current version number and list of user-visible changes.
  • INSTALL - 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.

You need the following tools to build flex from the maintainer's repository:

  • compiler suite - flex is built with gcc
  • bash, or a good Bourne-style shell
  • m4 - m4 -P needs to work; GNU m4 and a few others are suitable
  • GNU bison; to generate parse.c from parse.y
  • autoconf; for handling the build system
  • automake; for Makefile generation
  • gettext; for i18n support
  • help2man; to generate the flex man page
  • tar, gzip, lzip, etc.; for packaging of the source distribution
  • GNU texinfo; to build and test the flex manual. Note that if you want to build the dvi/ps/pdf versions of the documentation you will need texi2dvi and related programs, along with a sufficiently powerful implementation of TeX to process them. See your operating system documentation for how to achieve this. The printable versions of the manual are not built unless specifically requested, but the targets are included by automake.
  • GNU indent; for indenting the flex source the way we want it done

In cases where the versions of the above tools matter, the file configure.ac will specify the minimum required versions.

Once you have all the necessary tools installed, life becomes simple. To prepare the flex tree for building, run the script:

./autogen.sh

in the top level of the flex source tree.

This script calls the various tools needed to get flex ready for the GNU-style configure script to be able to work.

From this point on, building flex follows the usual routine:

configure && make && make install

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].