def test_infinite_loop(self):
        Grammar("""
            digits = digit+
            int = digits
            digit = ~"[0-9]"
            number = int
            main = number
            """)
E_q [ log p(X | Z, Phi) ]
dataset/ETHPy150Open erikrose/parsimonious/parsimonious/tests/test_grammar.py/GrammarTests.test_infinite_loop--crossover with--dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/obsmodel/DiagGaussObsModel.py/DiagGaussObsModel.E_logpX