Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

0.0.1 release

  • Loading branch information...
commit f058e1d94f955266e5c7204a4bf085060dc41335 1 parent 114e626
@youngnh authored
Showing with 4 additions and 3 deletions.
  1. +3 −2 README.md
  2. +1 −1  project.clj
View
5 README.md
@@ -26,7 +26,8 @@ be defined as follows:
(between (char \[) (char \]) (many (instruction)))))
(defparser bf []
- (many (instruction)))
+ (many (instruction))
+ (eof))
The `defparser` forms create new parsers that you can combine into other, more
complex parsers. As you can see in this example, those parsers can be recursive.
@@ -55,7 +56,7 @@ Parsatron offers you facilities for interacting with and operating on the things
you parse via sequencing of multiple parsers and binding their results. The
macros `>>` and `p-let` embody this facility.
-As an example, bencoded strings, are prefixed by their length and a colon:
+As an example, [bencoded strings](http://en.wikipedia.org/wiki/Bencode) are prefixed by their length and a colon:
(defparser ben-string []
(p-let [length (integer)]
View
2  project.clj
@@ -1,4 +1,4 @@
-(defproject the/parsatron "0.0.1-SNAPSHOT"
+(defproject the/parsatron "0.0.1"
:description "Clojure parser combinators"
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]]
Please sign in to comment.
Something went wrong with that request. Please try again.