Slick Logic Tools

29 views
Skip to first unread message

Alexander Myltsev

unread,
Sep 20, 2017, 2:54:21 AM9/20/17
to Slick / ScalaQuery
Hi,

is there anything similar to https://github.com/civol/logic_tools in Slick world?

A.

Justin du coeur

unread,
Sep 20, 2017, 9:01:59 AM9/20/17
to Slick / ScalaQuery
I'm not sure what that even means -- comparing a command-line logic system to a database library seems like a bit of a non-sequiteur.  What sort of functionality are you looking for?

--

---
You received this message because you are subscribed to the Google Groups "Slick / ScalaQuery" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalaquery+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalaquery/f4687827-9055-47b6-8a70-8b1bd380133e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alexander Myltsev

unread,
Oct 4, 2017, 6:42:12 PM10/4/17
to Slick / ScalaQuery

I have simple search engine. It has primitive blocks. Each of them returns some rows from database. I need to implement simple logical expressions over those blocks. Say, “block1 && (block2 || block3)” should be translated to database query “set1 intersect (set2 join set3)”.

 

For that, I need parsing engine that can parse logical expression (and even more: to simplify it). It should produce AST, that then is translated to Slick query.


On Wednesday, 20 September 2017 16:01:59 UTC+3, Justin du coeur wrote:
I'm not sure what that even means -- comparing a command-line logic system to a database library seems like a bit of a non-sequiteur.  What sort of functionality are you looking for?
On Wed, Sep 20, 2017 at 2:54 AM, Alexander Myltsev <alexande...@phystech.edu> wrote:
Hi,

is there anything similar to https://github.com/civol/logic_tools in Slick world?

A.

--

---
You received this message because you are subscribed to the Google Groups "Slick / ScalaQuery" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalaquery+...@googlegroups.com.

Justin du coeur

unread,
Oct 5, 2017, 9:00:19 AM10/5/17
to Slick / ScalaQuery
That's not really a Slick thing per se -- remember, all Slick does is database queries.  But there are a million parsing engines for the JVM; which one to pick probably depends on which language you're using...

To unsubscribe from this group and stop receiving emails from it, send an email to scalaquery+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scalaquery/c24ac73a-051d-4594-92c1-7f0af242dc76%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages