Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
14 lines (8 sloc) 0.292 kb
# Basically just demonstrates that you can leave rules empty and get a nice
# NotImplementedError. A way to quickly spec out your parser rules?
$:.unshift File.dirname(__FILE__) + "/../lib"
require 'parslet'
class Parser < Parslet::Parser
rule(:empty) { }
end
Parser.new.empty.parslet
Jump to Line
Something went wrong with that request. Please try again.