3 ms·
It doesn't seem that flint parses at all – it only tokenizes, and then you write "rules" on "streams of tokens." It kinda sounds like a set of fancy regexes, bu
by apetresc 13y ago
It doesn't seem that flint parses at all – it only tokenizes, and then you write "rules" on "streams of tokens." It kinda sounds like a set of fancy regexes, but on tokens instead of characters.
- evincarofautumn 13y agoThat’s exactly right. And tokenising C++ is infinitely easier than parsing it, though there are still the odd context-sensitive edge cases like “> >” versus “>>”.