A nifty DOM library and a few good reads

Three projects for you to explore, all on different spectrums, but doing something radical or peculiar. Happy weekend.

Project: Blockdom

blockdom is a fast virtual DOM library. Its main selling point is that it does not work at the granularity of a single HTML element, but instead it works with blocks: HTML elements, with arbitrary content.

Article: Deeper Look into Parsing Strings into Numbers in JavaScript

This article is more interesting than it seems. It dives into all the ways once can parse strings to numbers, and when it is best to use a certain approach

Article: Casual Parsing in JavaScript

Let's build a JSON parser

Over the last year and a half I've gotten really into writing parsers and parser-adjacent things like interpreters, transpilers, etc. I've done most of these projects in JavaScript, and I've settled into a nice little pattern that I re-use across projects. I wanted to share it because I think it's neat, and it's brought me joy, and it could be an interesting or entertaining thing for others to follow along with!

Enjoying TinyJS? Click here to subscribe