cjheath / treetop

A Ruby-based parsing DSL based on parsing expression grammars.

Home Page:https://cjheath.github.io/treetop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

self.load .tt extension documentation in README

nikkypx opened this issue · comments

I was just following along in the README and it might be worth adding if you use the .tt extension for your grammar file than you must specify .tt in Treetop.load 'my_grammar.tt' because it defaults to a .treetop extension

Don't be shy, send a PR 😄

Processed the PR.