2 ms·
> Can you use it to do something useful already? Unfortunately not. There's three steps: 1. Parse HTML into a tree. 2. Compile the search queries into a bina
by lelanthran 3y ago
> Can you use it to do something useful already?
Unfortunately not. There's three steps:
1. Parse HTML into a tree.
2. Compile the search queries into a binary form.
3. Apply the compiler query onto the tree.
Steps #1 and #2 are done (with tests). You can see it here: https://gist.github.com/lelanthran/896a2d1e228d345ecea66a5b279aea24 https://gist.github.com/lelanthran/896a2d1e228d345ecea66a5b2...
Unfortunately, now it is the weekend, and with kids around I may not get around to step #3 until around Sunday :-(
- ejanus 3y agoThanks for sharing.