3 ms·
Not that hard? It's literally undecidable! https://news.ycombinator.com/item?id=21154565 https://news.ycombinator.com/item?id=21154565
by nemoniac 7y ago
Not that hard? It's literally undecidable!
https://news.ycombinator.com/item?id=21154565 https://news.ycombinator.com/item?id=21154565
- chrisseaton 7y agoThat's not what 'hard' means in this context. Requiring template instantiation (or some other interplay I'm not aware of) doesn't make parsing harder - it just means it can't be done independently. And what's more that kind of interplay is easier outside a parser framework! Many languages are not very pure for parsing. If you're writing a parser using lex and bison this means bending over backwards to make it work.