Post #2463332
2026-03-25 08:27 UTC
@jhpratt@mastodon.social tell me more 👀
Replies (1)
-
@jhpratt@mastodon.social 2026-03-25 08:30
@unsafe@m.webtoo.ls Parsing format descriptions! I used to do it in a single pass, straight into the final vec, but changed it to a mini-compiler a couple years ago. It made maintenance _much_ easier and allowed me to add new components quite easily. Now I'm adding some optimizations to the macro (but not runtime parser) to eliminate some not-uncommon situations that are a tad slower than necessary.