Skip to content

v0.99k-mod5

Latest
Compare
Choose a tag to compare
@jamiejennings jamiejennings released this 16 Oct 18:55
· 1768 commits to master since this release

This is a small change to fix issue #64. It increases the max number of backtrack steps that a single pattern can take from 400 to 800, to accommodate very (very!) deep patterns.

To upgrade from v0.99k-mod4:

$ git checkout v0.99k-mod5
M	submodules/rosie-lpeg
Previous HEAD position was 2037f62... This commit implements Rosie version 0.99k-mod4
HEAD is now at 4146eaa... Updated VERSION to mod5
$ make clean
rm -rf bin/* lib/* 
cd submodules/lua && make clean
<snip>
$ make
cd submodules/lua && /Applications/Xcode.app/Contents/Developer/usr/bin/make CC=cc macosx  
<snip>
Creating /tmp/rosie-pattern-language/bin/rosie

Rosie Pattern Engine installed successfully!
    Use 'make install' to install binary in /usr/local/bin
    Use 'make test' to run the test suite
    To run rosie from the installation directory, use ./bin/rosie
    Try this example, and look for color text output: rosie basic.matchall /etc/resolv.conf

$ bin/rosie
This is Rosie v0.99k-mod5
Usage: bash bin/rosie <options> <pattern> <filename>*
Valid <options> are: -help -patterns -verbose -all -repl -grep -eval -wholefile -info -manifest -f -e -encode
$