jfoug / rexgen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:C++ 49.4%Language:C 18.1%Language:Makefile 13.6%Language:CMake 9.6%Language:Lex 2.8%Language:Yacc 2.5%Language:Groff 1.3%Language:Shell 1.2%Language:Python 0.8%Language:Batchfile 0.3%Language:Perl 0.2%Language:Lua 0.1%