drewdeponte / snapdragon

A Jasmine JavaScript test runner that lets you run tests on the command-line similar to RSpec.
Other
6 stars 8 forks source link

Replace SpecFile.spec_query_param with an actual parser #9

Open BRIMIL01 opened 11 years ago

BRIMIL01 commented 11 years ago

To allow for the inevitable variance that will exist in spec files, the build_jspec_filter should be replaced with a parser that will recurse through the spec files and accurately determine describe and it blocks with line numbers.

drewdeponte commented 11 years ago

Just throwing this in here so I don't forget it.

http://treetop.rubyforge.org/

BRIMIL01 commented 11 years ago

Also looking at http://antlr.ohboyohboyohboy.org/

drewdeponte commented 11 years ago

http://kschiess.github.io/parslet/get-started.html

http://kschiess.github.io/parslet/