proper escaping
proper compiling
partial optimizer support