create initial documentation, using default htl-pattern
fix EBNF syntax, update documentation
Merge pull request #41 from pointhi/doc

add initial documentation and fix compiler bugs