Build Your Own Text Editor

“This is an instruction booklet that shows you how to build a text editor in C.

The text editor is antirez’s kilo, with some changes. It’s about 1000 lines of C in a single file with no dependencies, and it implements all the basic features you expect in a minimal editor, as well as syntax highlighting and a search feature.

This booklet walks you through building the editor in 184 steps. Each step, you’ll add, change, or remove a few lines of code. Most steps, you’ll be able to observe the changes you made by compiling and running the program immediately afterwards.”

https://viewsourcecode.org/snaptoken/kilo/index.html

Might be interesting to compare to the source code of mg, which is a minimal editor written in C that works like Emacs.

The New 8-bit Heroes

“While visiting his parents’ home in Central New York, Joe Granato discovered a box of forgotten illustrations, designed by he and other eight-year-old neighborhood friends—concepts for a video game for the original 8-bit Nintendo Entertainment System. He decided it might be fun to try to realize those ambitions.

But instead of creating it for a mobile device or modern console, he set out to use the same techniques and adhere to the same limitations that would have been employed in 1988 to make a new cartridge-based game actually playable on the now-archaic hardware.

Gathering a small team of modern creatives, what began as an explorative novelty project about building a video game for a system 30 years removed from relevance escalated to a two-year, ten-thousand-mile journey into an esoteric subculture made up of devotees to creating new NES games; artists who thrive on limitation.”

The New 8-bit Heroes

h/t Tedium.