Add more info to README
This commit is contained in:
parent
01fb9be1e7
commit
a85367c2df
16
README
16
README
@ -4,6 +4,7 @@ I've thought for a while it would be fun and interesting to write my
|
||||
own regular expression engine using Thompson's construction algorithm,
|
||||
so here we are.
|
||||
|
||||
|
||||
Grammar
|
||||
|
||||
This engine is not going to be strictly supporting any standard
|
||||
@ -16,3 +17,18 @@ syntax; the expression syntax I intend to support follows.
|
||||
literal ::= non-special | '\' special
|
||||
quantifier ::= '*' | '+' | '?'
|
||||
special ::= quantifier | '|' | '(' | ')' | '[' | ']' | '^' | '\'
|
||||
|
||||
|
||||
Building and Running Tests
|
||||
|
||||
There are two scripts, build.sh and test.sh, which will (much to
|
||||
everybody's shock) build and run tests. The build script uses Clang
|
||||
but the code is ISO C11 so it should compile just fine with GCC or
|
||||
something instead.
|
||||
|
||||
sh scripts/build.sh # Compile library and test code
|
||||
sh scripts/test.sh # Run tests
|
||||
|
||||
There is also an entr.sh script which will watch all the project's
|
||||
files and rebuild and rerun the tests on any changes, using the entr
|
||||
tool.
|
||||
|
Loading…
x
Reference in New Issue
Block a user