This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-17
Channels
- # aws (16)
- # beginners (82)
- # boot (29)
- # cider (43)
- # cljs-dev (90)
- # cljsrn (14)
- # clojure (79)
- # clojure-dev (12)
- # clojure-greece (4)
- # clojure-italy (12)
- # clojure-russia (81)
- # clojure-shanghai (1)
- # clojure-spec (39)
- # clojure-uk (28)
- # clojurescript (159)
- # consulting (1)
- # cursive (16)
- # data-science (6)
- # datomic (18)
- # devops (3)
- # emacs (22)
- # figwheel (1)
- # graphql (15)
- # hoplon (3)
- # jobs (1)
- # jobs-discuss (8)
- # leiningen (1)
- # luminus (6)
- # lumo (1)
- # off-topic (18)
- # om (6)
- # onyx (38)
- # pedestal (30)
- # perun (3)
- # re-frame (38)
- # reagent (8)
- # ring-swagger (2)
- # rum (2)
- # sql (2)
- # unrepl (14)
- # untangled (1)
- # vim (8)
Not sure if anyone else has played with it, but I really like parboiled (https://github.com/sirthias/parboiled) as a parser generator. I've successfully build a Clojure-like parser in a day or two using it for my own experimental language. Relevant source here: https://github.com/mikera/magic/blob/master/src/main/java/magic/compiler/Reader.java
If there is serious interest in rewriting Clojure's reader or developing new parsers, I think it is well worth a look.
@alexmiller > but the Java version is still noticeably faster kind of hurts to know..
@matan I don't think it would possible to actually define the parser in Clojure since parboiled relies on some clever analysis / code generation from Java source code. However it would be very easy to use the generated parser from Clojure (you could just wrap it in an IFn that e.g. takes a string and produces data structures / AST nodes)
@alexmiller do you know why the https://groups.google.com/forum/?fromgroups#!forum/clojurescript group is text-only and not like the clojure group which allows formatting?
probably just a setting somewhere
not me :) presumably @dnolen could