News for hackers. Stuff that matters.
Re:MiniKanren – An embedded DSL for logic programming by sklogic on Thursday October 02, 2014 @05:22AM (#8399966)
This kind of languages is extremely useful, since many problems maps nicely to a logical or relational model.

I'm using a PAIP-style embedded Prolog and an optimised Datalog for fast prototyping compiler passes - things like alias analysis, implementing type systems (e.g., Hindley-Milner maps to Prolog naturally), constant folding, DCE, Array-SSA, and many more.

Harlan is using cKanren for region inference and some other passes.

A nice motivational paper (on Datalog): http://www.cs.cmu.edu/~aldrich/courses/654/tools/bierhoff-bd...

Re:MiniKanren – An embedded DSL for logic programming by jgalt212 on Friday October 03, 2014 @04:04PM (#8407365)
That's a nice read. Thanks for the rec.