This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-30
Channels
- # ai (3)
- # beginners (86)
- # boot (3)
- # chestnut (1)
- # cider (29)
- # clara (2)
- # cljs-dev (18)
- # cljsrn (1)
- # clojure (104)
- # clojure-greece (3)
- # clojure-losangeles (1)
- # clojure-spec (2)
- # clojure-uk (1)
- # clojurescript (5)
- # core-async (5)
- # css (3)
- # emacs (3)
- # figwheel (7)
- # fulcro (60)
- # lein-figwheel (3)
- # luminus (4)
- # off-topic (7)
- # portkey (14)
- # reagent (12)
- # rum (1)
- # shadow-cljs (9)
Not sure if it's ciders fault, but I have a weird issue where I can't cider-load-file
on my core.clj file. Because some of the other local namespace dependency can't be found on classpath.
Caused by java.lang.RuntimeException
Error parsing grammar specification: Parse error at line 1, column
1: /Users/baruchberger/stah/cljsc2/resources/proto.ebnf ^ Expected
one of: < ε eps EPSILON epsilon Epsilon (* #"[^,
\r\t\n<>(){}\[\]+*?:=|'"#&!;./]+(?x) #Non-terminal"
your proto.clj file is not able to load, which is why the core namespace is not able to load its dependencies
or possibly not, its got a link to a file on your file system. my guess would be that this is your problem though:
(def proto-parser
(insta/parser "/Users/baruchberger/stah/cljsc2/resources/proto.ebnf" :auto-whitespace :standard))
and the proto.clj file loads when I load that one specifically (no errors and up to the last var is available)
just when I first try to eval core.clj (which refers to proto in the require) it only works after I first manually load file on the proto.clj
use=> (clojure.core/load-file "/home/dan/projects/clojure/cljsc2/src/cljsc2/clj/core.clj")
CompilerException java.io.FileNotFoundException: Could not locate cljsc2/clj/proto__init.class or cljsc2/clj/proto.clj on classpath., compiling:(/home/dan/projects/clojure/cljsc2/src/cljsc2/clj/core.clj:1:1)
use=>