GoSuB Browser Progress, pt27
It took me a while to get the css3 parser up and running. Unfortunately, I had to say goodbye to the existing parser written by neodev, but I could keep the tokenizer. This saves a lot of work so i'm grateful for the work done.
I did some research and code concepts on setting up the parser, but it turned out to be difficult to follow the specification directly. I managed to get stuck either which way I tried to implement something. After some struggling, I found the wonderful csstree library written in Javascript that is very clear to read, seems to parse all the syntax we can think of, and is flexible enough to add new functionality like css module upgrades to it.
So the current plan is to convert the csstree parser into Rust.
About jaytaph
Codemuser extraordinaire
Joined: | March 24, 2023 |
Following: | 2 |
Followers: | 2 |
Posts: | 50 |
Comments: | 3 |
Upvotes: | 4 |
Previous musings
- (1) November 2024
- (1) October 2024
- (1) September 2024
- (1) July 2024
- (2) February 2024
- (3) January 2024
- (3) December 2023
- (4) November 2023
- (5) October 2023
- (10) September 2023
- (8) August 2023
- (1) June 2023
- (1) May 2023
- (4) April 2023
- (5) March 2023