-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to edamame for side-effect-free parsing
- Loading branch information
1 parent
faa1845
commit 6af8c97
Showing
18 changed files
with
69 additions
and
40 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
(if true (do #=(prn :hello :world!) :a)) |
2 changes: 2 additions & 0 deletions
2
test/resources/reader_conditionals.cljc → corpus/reader_conditionals.cljc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#?(:clj (+ 1 1) | ||
:cljs (+ 2 2) | ||
:default (+ 3 3)) | ||
|
||
{:a 1 :b 2 #?@(:clj [:c 3 :d 4])} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
{:paths ["src"] | ||
:deps {org.clojure/clojure {:mvn/version "1.8.0"} | ||
:deps {org.clojure/clojure {:mvn/version "1.11.1"} | ||
org.clojure/core.logic {:mvn/version "1.1.0"} | ||
org.clojure/tools.cli {:mvn/version "1.1.230"} | ||
org.clojure/tools.reader {:mvn/version "1.4.2"} | ||
borkdude/edamame {:mvn/version "1.4.25"} | ||
rewrite-clj/rewrite-clj {:mvn/version "1.1.47"}} | ||
;; At least Clojure v1.9 is required to run `clojure -X:`. Run this as | ||
;; `clojure -X:exec` or `clojure -X:exec -i -r markdown`, for example. | ||
:aliases {:exec {:extra-deps {org.clojure/clojure {:mvn/version "1.9.0"} | ||
org.babashka/cli {:mvn/version "0.7.51"}} | ||
;; Run this as `clojure -X:exec` or `clojure -X:exec -i -r markdown`, for example. | ||
:aliases {:exec {:extra-deps {org.babashka/cli {:mvn/version "0.7.51"}} | ||
:exec-fn kibit.driver/exec | ||
:exec-args {:paths ["."]} | ||
:main-opts ["-m" "babashka.cli.exec"]}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters