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.
Luckily boost::regex is now header only and so there is no need to build it anymore.
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_87_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 .