I gave a talk at JuliaCon 2018 on my experience using Julia to implement various declarative languages, including a datalog variant, a GUI description language and recent work at RelationalAI.