seancribbs/neotoma — pull request #17 by nevar (2012-12-18 05:26:46+00:00)
Title: Improve + possible ref to rule in other file + posible define regexp in rule

I made 3 different thing.

1. Remove common function

In each generated file was some utol function p_*.
I make common util file "neotome_util.erl" where go all that function.
Now for work parser you need that file can find by erlang VM:
* include this file to ebin of your project, or
* include neotoma app in your release

2. Possible ref to other rule file

To be able ref to other rule file I export all parse function.
In rule for ref to other rule you ned write "::". For this
to work must be able find by erlang VM.

3. Possible define regexp in rule

For some not case sensitive rule you can define:
```
rule_1 -> |(?i)command| arg ~;
```

Betwen '|' regexp string that try match at start of string. So you can make
complicated rule.

I think I need split this PR, but maybe it will not be accepted.