Re:Regex Parser in C Using Continuation Passing
by zodiac on Wednesday December 20, 2017 @12:58PM
(#15972005)
Regexes can't be used for parsing (e.g. the language of balanced parantheses)
[ Parent
| on HN ]
Re:Regex Parser in C Using Continuation Passing
by ThePadawan on Wednesday December 20, 2017 @01:13PM
(#15972167)
I think your parent post referred to using a parser to parse regexes, not using regexes to parse another language.
Re:Regex Parser in C Using Continuation Passing
by steveklabnik on Wednesday December 20, 2017 @01:25PM
(#15972292)
Regular languages cannot. Many (most?) implementations of “regular expressions” can express more complex grammars.
(My sibling is also correct)