DL/SQL is declarative, Turing-complete programming language based on top of a SQL database. The main idea is to store both program and data in one SQL table and make all the computations in it. The current version of interpreter written in PHP features quasi-lazy evaluation and simple caching.