[2301.01621] Grammar construction methods for extended deterministic expressions