2023

Articles and demos from 2023, by month.

January

Self-describing code

Writing code so the same source can either execute immediately or return a description of itself as an abstract syntax tree.

19 January 2023

Parsing self-describing JavaScript code

Writing code that can either run or describe itself as an abstract syntax tree, and parsing that description.

22 January 2023

March

Program: a programming language

Write-up to come.

8 March 2023

Exceptional parsing

Using JavaScript exceptions to make parsers easier to write: the shape of parsing and the developer experience.

11 March 2023

Key Hunt

FOE Hacking Key Hunt, the biggest key hunt in the world: an online multiplayer game written in JavaScript.

11 March 2023

Rocks Off

Write-up to come.

11 March 2023

The Dodge Game

Write-up to come.

11 March 2023

3D Script IDE

An interactive environment for creating 3D animations using a simple scripting language.

14 March 2023

A pure JavaScript CPU emulator

A CPU takes instructions from RAM and acts on them: the start of an emulator for one, written in plain JavaScript.

14 March 2023

Declarative programming

Write-up to come.

14 March 2023

Flattening 2D data

Write-up to come.

14 March 2023

Some JavaScript performance comparisons

Rough timings, over a million iterations, of the different ways JavaScript lets you do the same common things.

14 March 2023

Using context in JavaScript to achieve cleaner code

Write-up to come.

14 March 2023

Asteroids

A multiplayer Asteroids arena written in JavaScript, with rooms running on Gamehoster.

15 March 2023

Comparison of JavaScript binary data objects

The objects JavaScript offers for binary data, from ArrayBuffer and typed arrays to Node's Buffer, and how they differ between Node.js and the browser.

15 March 2023

Composable typechecking in JavaScript

Catching type errors early in plain JavaScript with small type checks that compose, including checks for objects.

15 March 2023

FastArray (draft)

A draft of a trie-like array allowing fast insertion and removal at any index, sketched in JavaScript and PHP.

15 March 2023