Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClojureScript merge #38

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# The Parsatron

Fork of Nate's Excellent Parsatron library.

Born from Haskell's Parsec library, The Parsatron is a functional
parser library. The Parsatron provides a lot of very small functions that can
be combined into larger ones to very quickly write parsers for languages.
Expand All @@ -16,7 +18,7 @@ with it.

You can use The Parsatron by including

[the/parsatron "0.0.8"]
[![Clojars Project](http://clojars.org/org.clojars.quoll/parsatron/latest-version.svg)](http://clojars.org/org.clojars.quoll/parsatron)

in your `project.clj` dependencies. It's available for download from Clojars.

Expand Down
33 changes: 22 additions & 11 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
(defproject the/parsatron "0.0.9-SNAPSHOT"
(defproject org.clojars.quoll/parsatron "0.0.10"
:description "Clojure parser combinators"

:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/clojurescript "1.10.520"]]
:dependencies [[org.clojure/clojure "1.10.2"]]

:plugins [[lein-cljsbuild "1.1.7"]]
:plugins [[lein-cljsbuild "1.1.8"]]

:source-paths ["src/clj" "src/cljs"]
:test-paths ["test/clj"]
:source-paths ["src"]
:test-paths ["test"]

:global-vars {*warn-on-reflection* false}

:cljsbuild {:builds [{:source-paths ["src/cljs" "test/cljs"]
:compiler {:optimizations :simple
:target :nodejs
:output-to "test/resources/parsatron_test.js"}}]
:test-commands { "unit" ["node" "test/resources/parsatron_test.js"]}})
:profiles {
:dev {
:dependencies [[org.clojure/clojurescript "1.10.773"]]}}

:cljsbuild {
:builds {
:dev {
:source-paths ["src"]
:compiler {:optimizations :simple
:target :nodejs
:output-to "target/parsatron.js"}}
:test {
:source-paths ["src" "test"]
:compiler {:optimizations :simple
:target :nodejs
:output-to "test/resources/parsatron_test.js"}} }
:test-commands {"unit" ["node" "test/resources/parsatron_test.js"]}})
16 changes: 0 additions & 16 deletions src/clj/parsatron/languages/bf.clj

This file was deleted.

301 changes: 0 additions & 301 deletions src/cljs/the/parsatron.cljs

This file was deleted.

Loading