Weblogs


Pack token types in 32bit

2019-09-29

I've been writing a JS parser for over two years now. In this particular post I want to highlight a bit packing trick I'm applying to a core data structure of the parser as a whole: the token type. In general, the way a parser works is that it doe...


Xcode my js1k demo

2019-03-07

I submitted my js1k demo just now. It's called "Xcode - a CoreWars engine" and implements RedCode, a minimal instruction set to play CoreWars. CoreWars is a game from 1984 (when what you can render in a JS1k now wouldn't even render with a seven stor...


uk u krazy

2018-12-09

We relocated from NL to the UK about a year ago. This was a big leap into the big unknown, to say the least. Here are some takeaways from that experience. Some of it will appeal more to people from NL, other things will be pretty generic. Hope it hel...


import/export in browser AND node

2018-10-03

I had a parser project with three main files that I wanted to turn into an html repl. This was initially a nodejs project and so I needed to make things work in the browser now, too. I decided to try experimentally supported es-modules which uses the...


Hearthstone draw simulator

2018-08-12

As you may or may not have noticed I like playing Hearthstone. I'll spare you the details. One thing I've been wanting to do for a while now is to create a simulator where you can simulate certain conditions. One in particular is drawing odds. And th...


Parsing `async` is hard

2018-07-07

I recently tweeted about a particular case that's troublesome to parsing. I don't think my tweet properly conveyed the problem with that snippet so I wanted to try and explain it in a blog post. As you may or may not know I've been working on the ...


Sunsetting qFox

2018-06-12

I've decided to deprecate my "qFox" nickname. That wasn't an easy choice, mind you, just one that made the most sense. I've inadvertently created somewhat of a brand of "kuvos" leading to most people only knowing "qfox" from my website (and not under...


Feels like 7 months

2018-06-12

A year ago I got home in my temporary apartment in a city I had only visited a couple of times that was soon to be my permanent residence. Soon in the order of a few months, but still, quite permanent. The event was a small deja vu for me, which is a...


JS10k!

2018-03-27

Wow how time flies. Did you know the next JS1k will be the tenth year (!!) to run this competition. That's [i]amazing[/i]. To celebrate this I figured we should go all in so for the next edition the whole thing will be themed around ten. This mean...