Lesley Lai
@lesleylai.info
I organize @gpvm.bsky.social
lesleylai.info/
mastodon.gamedev.place/@lesley
lesleylai.info/
mastodon.gamedev.place/@lesley
Being a bit smarter on the Tompson's construction to reduce the number of epsilon transitions and redundant states generated. Inspired by swtch.com/~rsc/regexp/...
Before/after comparison in images
Before/after comparison in images
September 19, 2025 at 10:45 AM
Being a bit smarter on the Tompson's construction to reduce the number of epsilon transitions and redundant states generated. Inspired by swtch.com/~rsc/regexp/...
Before/after comparison in images
Before/after comparison in images
Adds support for bracketed character classes like `[a-zA-Z_]`
September 13, 2025 at 11:05 AM
Adds support for bracketed character classes like `[a-zA-Z_]`
Built a simple regex engine this week, and also threw together a visualizer site
Visualizer website: miniregex.lesleylai.info
Repo: codeberg.org/Lesley/minir...
Visualizer website: miniregex.lesleylai.info
Repo: codeberg.org/Lesley/minir...
September 7, 2025 at 7:02 AM
Built a simple regex engine this week, and also threw together a visualizer site
Visualizer website: miniregex.lesleylai.info
Repo: codeberg.org/Lesley/minir...
Visualizer website: miniregex.lesleylai.info
Repo: codeberg.org/Lesley/minir...
Whose cat walks like this?
July 7, 2025 at 9:23 AM
Whose cat walks like this?
I don't even know which AdBlocker filter to use to block this now unless I want to block all warning banners.
At least I am migrating away from this hell site now. I started using GitHub shortly after I started learning coding. It feels like the end of an era.
At least I am migrating away from this hell site now. I started using GitHub shortly after I started learning coding. It feels like the end of an era.
May 23, 2025 at 2:56 PM
I don't even know which AdBlocker filter to use to block this now unless I want to block all warning banners.
At least I am migrating away from this hell site now. I started using GitHub shortly after I started learning coding. It feels like the end of an era.
At least I am migrating away from this hell site now. I started using GitHub shortly after I started learning coding. It feels like the end of an era.
Made some updates to my old grass renderer after reading a recent blog post on grass rendering. Clumping the grass with noise and adding specular highlights makes it look much better
hexaquo.at/pages/grass-...
hexaquo.at/pages/grass-...
April 16, 2025 at 9:44 AM
Made some updates to my old grass renderer after reading a recent blog post on grass rendering. Clumping the grass with noise and adding specular highlights makes it look much better
hexaquo.at/pages/grass-...
hexaquo.at/pages/grass-...
Adopted a new cat. His name is Timo
March 6, 2025 at 2:07 AM
Adopted a new cat. His name is Timo
I spent a few hours creating an end-to-end testing driver for my C compiler project. Initially, I considered using Python but opted for Rust instead. It turned out to be surprisingly well-suited for this kind of "scripting" task.
#pldev
github.com/LesleyLai/mc...
#pldev
github.com/LesleyLai/mc...
December 16, 2024 at 3:32 AM
I spent a few hours creating an end-to-end testing driver for my C compiler project. Initially, I considered using Python but opted for Rust instead. It turned out to be surprisingly well-suited for this kind of "scripting" task.
#pldev
github.com/LesleyLai/mc...
#pldev
github.com/LesleyLai/mc...
Bitten by strict aliasing (I should know better rather than writing codes like this)
November 28, 2024 at 12:30 PM
Bitten by strict aliasing (I should know better rather than writing codes like this)
I will put this old photo here
November 17, 2024 at 12:15 AM
I will put this old photo here