Fork me on GitHub
#datahike
<
2021-12-20
>
Søren Sjørup16:12:09

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?

timo10:12:15

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.

Søren Sjørup17:12:50

Hi Timo, datascript has the same issue. So maybe I should try and fix it on datascript instead 🙂 Thank you and happy holidays!

timo17:12:39

happy holidays to you too

Søren Sjørup16:12:03

It’s in datascript now: https://github.com/tonsky/datascript/pull/417 Should I also make a PR to lambdaforge/datalog-parser ?

timo15:12:08

Hey @soren that's awesome! Thanks and enjoy new years eve!

Søren Sjørup20:12:12

Thank you and a happy New year to you too!

Søren Sjørup16:01:34

@U4GEXTNGZ CI failed on master after merge. Can you retry/fix it?

timo16:01:59

Unfortunately I can't fix it right now

timo16:01:18

It seems to be a problem with a missing ssh-key on the repo and I am no admin there.

timo16:01:48

I opened an issue and assigned it to the two people that I know are admins

timo16:01:10

they seem to be in holiday or somehow unresponsive right now

timo16:01:31

asking one of them directly now

🙌 1
timo13:01:06

New feature: allow symbols as constants

timo13:01:18

you want to make a PR with bump deps on datahike @soren?