Skip to content

jfoug/rexgen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

rexgen

a tool to create words based on regular expressions

Requirements

To build rexgen, you'll need the following tools and libs:

Tool needed for
flex Generator for lexical analysis of regular expressions
bison Generator of parser for regular expressions
cmake Creation of Makefiles
icu4c Unicode reference implementation

Building rexgen

Clone the git repository to include the required FindICU:

git clone --recursive https://github.com/teeshop/rexgen.git

Build and install:

cd rexgen/src
./install.sh
# you can use the switches -p to enable python support and -l to enable lua support

Problems

If you have problems building rexgen, cou can change to the build and run cmake .. && make manually. Currently supported options rexgen's CMakefile are:

  • -DCMAKE_BUILD_TYPE=Debug creates a debug build
  • -DICU_ROOT=/usr/local/opt/icu4c tells cmake where to find icu4c
  • -DUSE_PYTHON=On tells cmake to include the python interface
  • -DUSE_LUA=On tells cmake to include the lua python interface

Support

If you want to contribute ideas, bug reports or improvements to this project, feel free to contact me via github.

If you are not interested in active participation of this project, but you want to support it anyway, you can Flattr this git repo

License

Copyright (C) 2012-2015 Jan Starke jan.starke@outofbed.org

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 49.5%
  • C 18.1%
  • Makefile 13.6%
  • CMake 9.6%
  • Lex 2.8%
  • Yacc 2.5%
  • Other 3.9%