@jaytaph · 2 years ago
I'm struggling with Rust again. Basically I'm trying to fill in more tests, and that seems to go well, but I'm at a point I need to start filling "te…
CodeMusings is a community where developers share their current projects, plans, and thoughts —
a modern take on the classic Unix .plan file.
Write in Markdown, connect with fellow coders.
@jaytaph · 2 years ago
I'm struggling with Rust again. Basically I'm trying to fill in more tests, and that seems to go well, but I'm at a point I need to start filling "te…
@jaytaph · 2 years ago
We've passed the infamous test 23! With the help of phpnl slack collegue Mathijs, we've managed to get the adoption agency working properly. It seem…
@jaytaph · 2 years ago
I've seen a few contributions coming in which makes me very happy. Although one of the problems is that my ever-lasting parser branch gets out of syn…
@jaytaph · 2 years ago
I'm still working on test 23 in the tree-parser tests. :( There are a lot of steps.. and I keep finding small issues that I keep fixing, but this ma…
@Bedrovelsen · 2 years ago
``` #!/bin/bash TARGET=$1 echo -e "A'ight homie! We aut0k33tin $TARGET\n\n" echo -e "G'nna start gripping subdomaynes yo!\n\n" echo -e "We gonna…
@jaytaph · 2 years 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 [hackern…
@tekknolagi · 2 years ago
It's late so I am going to go to bed instead of writing code, but I am enjoying reading comments on the compiling-ML-to-C post.
@jaytaph · 2 years 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 iss…
@jaytaph · 2 years 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),…
@jaytaph · 2 years ago
Yes, I'm still fighting with Rust's borrow checker. I've got a lot of help from ChatGPT where it helps me to correct some mistakes (but doublecheck t…
@jaytaph · 2 years 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 s…
@jaytaph · 2 years 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 ye…
@jaytaph · 2 years 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 work…
@jaytaph · 2 years 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 t…
@jaytaph · 2 years ago
Finally, the tokenizer passes all html5lib-tests and is merger into the main branch [https://github.com/jaytaph/gosub-browser/](https://github.com/ja…