33 CodeMusings tagged with 'gosub'
jaytaph 1 year ago
Did a [blog post](https://adayinthelifeof.nl/2023/09/22/browsers.html) on one of the reasons why I started this browser project. Exploded on [hacke...
rust gosub parsingjaytaph 1 year ago
It seems that something "dropped" (or snapped) when it comes to the borrow checker of Rust. I think I actually get it now, and somehow I get less i...
rust gosubjaytaph 1 year ago
I have a bit of trouble getting the adoption agency algorithm implemented. There is lot of fighting with the borrow checker (nothing changes there)...
gosub rustjaytaph 1 year ago
So i've got an arena which is part of a document (tree) so all the nodes are stored there, and we reference nodes through their node_id (which is a...
rust gosub html5 parserjaytaph 1 year ago
I ran into a bit of trouble with the document tree generation. This is where a good grasp of the borrow checker comes into play, and I'm not there...
rust gosubjaytaph 1 year ago
I'm starting to get the hang of Rust. The borrow checker isn't yelling at me as much as it used to do, and I'm starting to see why things aren't wo...
rust gosub chatgptjaytaph 1 year ago
Now that the tokenizer is done, I seem to be able to tokenize most of the html files i've tested. That's good! So i'm spending my time on creating...
rust gosub html5 parsingjaytaph 1 year ago
Finally, the tokenizer passes all html5lib-tests and is merger into the main branch [https://github.com/jaytaph/gosub-browser/](https://github.com/...
rust gosub tokenizer utf8jaytaph 1 year ago
It seems I hit (another) snag: more than 5000 of the 6000 token tests from html5lib-tests are passing, so that's a big win. There are 2 issues tha...
rust gosub utf-8jaytaph 1 year ago
Happy times with the tokenizer! I've setup a tester that will actually test the tokenizer again the html5 testsuite. More and more tests found are...
rust gosub html5 tokenizer