This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-15
Channels
- # beginners (34)
- # boot (45)
- # cider (16)
- # cljs-dev (20)
- # cljsjs (1)
- # cljsrn (8)
- # clojure (207)
- # clojure-berlin (3)
- # clojure-dev (18)
- # clojure-greece (1)
- # clojure-ireland (1)
- # clojure-italy (9)
- # clojure-russia (20)
- # clojure-spec (27)
- # clojure-uk (19)
- # clojurescript (110)
- # code-reviews (2)
- # cursive (7)
- # data-science (2)
- # datomic (7)
- # devcards (1)
- # emacs (4)
- # graphql (1)
- # hoplon (2)
- # immutant (15)
- # jobs (5)
- # jobs-rus (1)
- # juxt (1)
- # luminus (7)
- # lumo (26)
- # microservices (3)
- # off-topic (27)
- # om (13)
- # onyx (11)
- # pedestal (7)
- # proton (4)
- # re-frame (24)
- # remote-jobs (1)
- # spacemacs (2)
- # specter (2)
- # unrepl (31)
- # untangled (7)
- # vim (14)
you can skip the tests with mvn clean package -Dmaven.test.skip=true
to cut that down some more
Is there any standard or special mechanism by which error message are issued by the compiler?
well it throws an exception :)
compiler exceptions in particular are typically wrapped in a Compiler.CompilerException
oh, no resources file
What might be the place in the source, where parsing of user code takes place? Is it not this here? https://github.com/clojure/clojure/blob/f572a60262852af68cdb561784a517143a5847cf/src/jvm/clojure/lang/LispReader.java
I wonder why it's not been ported to clojure, not that there's anything wrong with Java. Maybe it simply works and no user value by changing it to clojure.
that’s it and it has been ported to Clojure in the tools.reader project: https://github.com/clojure/tools.reader
but the Java version is still noticeably faster
@matan there's also the bootstrap problem...how do you compile Clojure code if the reader is written in Clojure? There's tricks around that, but they almost all start with having to have a reader in Java, and porting it to Clojure later. So then the question is why port it to Clojure if it would only complicate the build process?
At least that's my view on it all, and the same applies to the compiler, immutable collections, etc.