added compilation context parameter to compiler interface