Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
carocad committed Nov 20, 2019
1 parent fbd8730 commit 683b926
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ this dependency will be in the classpath to avoid collisions.

```clojure
(ns example.core
(:require [parcera.core :as parcera]
[instaparse.core :as instaparse]))
(:require [parcera.core :as parcera]))

;;parse clojure code from a string
(parcera/ast (str '(ns parcera.core
(:require [instaparse.core :as instaparse]
(:require [foo.bar :as bar]
[clojure.data :as data]
[clojure.string :as str]))))

Expand All @@ -37,11 +36,11 @@ this dependency will be in the classpath to avoid collisions.
(:simple_keyword "require")
(:whitespace " ")
(:vector
(:symbol "instaparse.core")
(:symbol "foo.bar")
(:whitespace " ")
(:simple_keyword "as")
(:whitespace " ")
(:symbol "instaparse"))
(:symbol "bar"))
(:whitespace " ")
(:vector (:symbol "clojure.data") (:whitespace " ") (:simple_keyword "as") (:whitespace " ") (:symbol "data"))
(:whitespace " ")
Expand Down

0 comments on commit 683b926

Please sign in to comment.