GoSuB Browser Progress, pt10
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 working as they should. (I also see a lot of issues in the current codebase, but I'm not going to fix them right now).
I have to say I'm quite surprised by ChatGPT how well it serve me when I want to do certain things. I describe the problem, it give me a (rust) solution, and with some tweaks here and there it looks like sound code. Also the help of copilot in Clion helps a lot. I notice it can fill in large portions of the state machine for the parser, and even though it is not correct all the time, it saves a lot of time by simply checking the code, make some changes and continue with the next state.
There is still a lot missing in the parser, but I'm at a point I'm able to see if I can read the tests from html5lib-tests and check against the parser output.
|March 24, 2023