Skip to content
Browse files

0.0.1 release

  • Loading branch information...
1 parent 114e626 commit f058e1d94f955266e5c7204a4bf085060dc41335 @youngnh committed Feb 7, 2011
Showing with 4 additions and 3 deletions.
  1. +3 −2
  2. +1 −1 project.clj
@@ -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]( are prefixed by their length and a colon:
(defparser ben-string []
(p-let [length (integer)]
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"]]

0 comments on commit f058e1d

Please sign in to comment.
Something went wrong with that request. Please try again.