System for compiling queries into incremental demand-driven code