cjheath / treetop

A Ruby-based parsing DSL based on parsing expression grammars.
https://cjheath.github.io/treetop
MIT License
306 stars 22 forks source link

self.load .tt extension documentation in README #12

Closed nikkypx closed 8 years ago

nikkypx commented 10 years ago

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

lucasmartins commented 10 years ago

Don't be shy, send a PR :smile:

MadBomber commented 8 years ago

https://github.com/cjheath/treetop/blob/master/lib/treetop/polyglot.rb

cjheath commented 8 years ago

Processed the PR.