Non-destructive compiler