Search text using a grammar, lexer, or straight regex. Chain searches for greater refinement.
See http://benhanson.net/gram_grep.html for examples.
To build:
gram_grep now has a dependency on boost::regex due to the std version having an outdated version of the egrep syntax.
- See here to download boost.
From the boost root directory:
.\bootstrap.bat
.\b2
See here.
git clone https://github.com/BenHanson/gram_grep.git
git clone https://github.com/BenHanson/parsertl17.git
git clone https://github.com/BenHanson/lexertl17.git
git clone https://github.com/BenHanson/wildcardtl.git
All platforms now require that you set the BOOST_ROOT environment variable to the root of your boost source (e.g. /home/ben/Dev/boost/boost_1_77_0
).
- If on Windows, using a Developer Command Prompt, you can run
msbuild gram_grep.sln /property:Configuration=Release
from thegram_grep
directory - If on Linux you can run
make
from thegram_grep
directory - If you would like to use
cmake
, instead follow the below instructions
cd gram_grep
mkdir build
cd build
cmake ..
cmake --build .