Minimal first cut of the frontend