AdvancedUlrCompiler implementation and tests