Re:Coconut: Simple, elegant, Pythonic functional programming
by renewiltord on Thursday November 04, 2021 @06:05PM
(#29113068)
Actually, what is the modularity concept in regexes? Is there a regex extension language where I can say "first match this then match that" but where I can name each part appropriately?
[ Parent
| on HN ]
Re:Coconut: Simple, elegant, Pythonic functional programming
by ModernMech on Thursday November 04, 2021 @06:55PM
(#29113451)
At some point, you’re probably better off using an actual parser. Parser combinator libraries make writing such things very easy.