This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-20
Channels
- # adventofcode (17)
- # announcements (1)
- # aws (1)
- # beginners (102)
- # calva (27)
- # cider (16)
- # clj-commons (34)
- # clj-kondo (33)
- # cljs-dev (5)
- # cljsrn (4)
- # clojure (124)
- # clojure-europe (17)
- # clojure-nl (8)
- # clojure-spec (13)
- # clojure-uk (6)
- # clojurescript (68)
- # datahike (21)
- # datomic (23)
- # emacs (3)
- # fulcro (30)
- # introduce-yourself (6)
- # jobs-discuss (6)
- # lsp (31)
- # nextjournal (3)
- # off-topic (1)
- # other-languages (45)
- # portal (4)
- # re-frame (8)
- # releases (4)
- # shadow-cljs (39)
- # specter (6)
- # tools-build (18)
- # tools-deps (11)
With Datomic this query parses and runs fine:
(q
'[:where [?e :s plain]
:find ?e]
'[[1 :s plain]])
but with io.lambdaforge/datalog-parser
it fails to parse because the data pattern is not recognized. Is this intentional?Hi @soren. Can you set up a bug report on that one and paste in the error message? I will try to take a look at it. I am not too deep into the datalog-query-language but we are following Datomic as close as possible. Since the datalog-parser is extracted from Datascript you could try to run this query there and if you are a 🦸 you could set up a PR with the backport from Datascript 🙂 if it works there.
Hi Timo, datascript has the same issue. So maybe I should try and fix it on datascript instead 🙂 Thank you and happy holidays!
It’s in datascript now: https://github.com/tonsky/datascript/pull/417 Should I also make a PR to lambdaforge/datalog-parser
?
Thank you and a happy New year to you too!
@U4GEXTNGZ CI failed on master after merge. Can you retry/fix it?
https://clojars.org/io.lambdaforge/datalog-parser/versions/0.1.9! 🎉 A big thank you goes to @soren
Sure!
https://github.com/replikativ/datahike/pull/463 that can’t be it?
https://clojars.org/io.lambdaforge/datalog-parser/versions/0.1.9! 🎉 A big thank you goes to @soren