Partials compiler