Merge pull request #40 from pointhi/master

update .gitignore
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