points by bmn__ 8 years ago

That's pretty bad:

    import pegs
    echo "xzxy" =~ peg"""
    B <- A 'x' 'y' / C
    A <- '' / 'x' 'z'
    C <- C 'w' / 'v'
    """

Stack overflow

Nim needs to let go of its toy parsing algorithm.