mirror of
https://github.com/kanaka/mal.git
synced 2024-09-21 10:37:58 +03:00
aa716df67c
- This is related to https://github.com/kanaka/mal/pull/134
- The str function now force *print-readably* to false. Otherwise str
only prints the first level with non-readable printing, but every
embedded structure after the first will have readable printing. The
mal way is that str is non-readable all the way down.
- One remaining bug prior to Clojure 1.8.0 was improperly printing
empty lists as the object name. This was fixed in
828d82fb5b
so change the project.clj to require Clojure 1.8.0-RC4 so that all
string tests pass.
26 lines
840 B
Clojure
26 lines
840 B
Clojure
(defproject mal "0.0.1-SNAPSHOT"
|
|
:description "Make-A-Lisp"
|
|
|
|
:dependencies [[org.clojure/clojure "1.8.0-RC4"]
|
|
[org.clojure/tools.reader "0.8.3"]
|
|
[net.n01se/clojure-jna "1.0.0"]]
|
|
|
|
;; To run a step with correct readline behavior:
|
|
;; lein trampoline with-profile stepX run
|
|
;; To load step in repl:
|
|
;; lein with-profile +stepX repl
|
|
:profiles {:step0 {:main step0-repl}
|
|
:step1 {:main step1-read-print}
|
|
:step2 {:main step2-eval}
|
|
:step3 {:main step3-env}
|
|
:step4 {:main step4-if-fn-do}
|
|
:step5 {:main step5-tco}
|
|
:step6 {:main step6-file}
|
|
:step7 {:main step7-quote}
|
|
:step8 {:main step8-macros}
|
|
:step9 {:main step9-try}
|
|
:stepA {:main stepA-mal}}
|
|
|
|
:main stepA-more)
|
|
|