Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bump readme

  • Loading branch information...
commit b57b671c19c200338c018ec7c9db427fd5c24a6c 1 parent a4f74b4
Josep M. Bach txus authored
Showing with 19 additions and 0 deletions.
  1. +19 −0 Readme.md
19 Readme.md
View
@@ -1,6 +1,25 @@
# gherkin-ruby
Gherkin-ruby is a pure Ruby implementation of a [Gherkin](http://github.com/cucumber/gherkin) parser, using [Parslet](http://github.com/kschiess/parslet).
+## Why this one over the official, fast, Ragel-based Gherkin parser?
+
+* Less than 200 LOC.
+* No C-exts
+* No Java/.NET crap.
+* Fast enough for our purposes (using it for the [Spinach](http://github.com/codegram/spinach) project)
+
+## Install
+
+ $ gem install gherkin-ruby
+
+Or in your Gemfile:
+
+```ruby
+# Gemfile
+
+gem 'gherkin-ruby'
+```
+
## Usage
You can easily implement your own visitors to traverse the Abstract Syntax Tree. The following example just prints the step names to standard output:
Please sign in to comment.
Something went wrong with that request. Please try again.