3 ms·
I imagine you'd want to have something that works like a parser generator up front to create the rules. What's not clear to me however is how expressive the ru
by PaulHoule 2y ago
I imagine you'd want to have something that works like a parser generator up front to create the rules. What's not clear to me however is how expressive the rules are.
- california-og 2y agoYeah. Doing it all manually would take ages and be quite error prone. I did generate all the lookup rules with a script, just didn't think it important enough to mention in the blog post.
- california-og 2y agoAnd about the lookup rules: they are extremely simple. You can search for a single character at a time, or search from a group ("class") of characters. AFAIK, that's it. But if anyone knows better, I would be happy to be proven wrong.