Utilities for compiler construction