GoSuB Browser Progress, pt27

Created at 2023-12-08 11:14:39 (1 year ago)

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.

rust gosub

About jaytaph

Codemuser extraordinaire

avatar Loves building crazy and insane stuff. Happiest when left alone. All I wanted was a Pepsi, just a Pepsi.
Joined:March 24, 2023
Following:2
Followers:2
Posts:51
Comments:3
Upvotes:4
RSS feed