Mini-Triangle compiler