Skip to content
Parsing and pattern matching in Objective-C
Objective-C C++ C
Failed to load latest commit information.
External Bump L3 for readability of test logs. Apr 18, 2014
Hammer Tests Remove an unused .pch. Mar 30, 2014
Hammer.xcodeproj Merge branch 'master' into quote Apr 19, 2014
Hammer Stub in grapheme, printable, & word POSIX classes. Apr 20, 2014
.gitignore Newline at end of .gitignore. Mar 30, 2014
.gitmodules Add Obstruct. Apr 13, 2014
LICENSE Add a license. Mar 25, 2014


Note: This repository is not likely to see further development, but development of a Swift version is proceeding.

With that out of the way, here’s what this is:


everything looks like a nail

Hammer is a parser combinator framework for Cocoa & Cocoa Touch based on the derivative of parser combinators, which is in turn a generalization of Brzozowski's derivative of regular expressions.

It parses arbitrary CFGs, no matter whether they’re left-recursive, right-recursive, mutually-recursive, or ambiguous.

Something went wrong with that request. Please try again.