Jan 16
Peach GroupSequence Shortcut
Newer versions of Peach have a nice GroupSequence shortcut that make life a bit easier.
group = GroupSequence([Group(), Group(), Group()])
generator = Block([
BadString(group[0]),
Static(': '),
BadString(group[1]),
Static('('),
BadNumbersAsString(group[2])
])
No comments
No Comments
Leave a comment