a parser combinators library for ruby
def run &block
def parse &block
parser.run &block
parser.parse &block
failure = target.run { try { string "fou" } }
failure = target.parse { try { string "fou" } }
success = target.run { try { string "foo" } }
success = target.parse { try { string "foo" } }