(C) BoingBoing
This story was originally published by BoingBoing and is unaltered.
. . . . . . . . . .
A programming language to make NES games without learning Assembly [1]
['Rob Beschizza']
Date: 2023-03-07
NESFab is a programming language of great specificity: it's for making games on the Nintendo Entertainment System, whose ancient vintage otherwise demands a punishing command of 6502 Assembly. [via Hacker News]
This is a long-running personal project I've had to write an optimizing compiler from scratch. Everything was done by me, including the lexer/parser, SSA-based IR, high-performance data structures, and code generator. Originally I wasn't targeting the NES. It started as a scripting language, then it morphed into a C++ replacement, and then finally I turned it into what it is today. The large scope of the project and colorful history means it's still a little rough around the edges, but it's now working well enough to post.
It wasn't enough to just know 6502 either; the NES was a typically 80s mess of memory management and other platform-specific quirks. You can reward creator Pubby at their Patreon.
[END]
---
[1] Url:
https://boingboing.net/2023/03/07/a-programming-language-to-make-nes-games-without-learning-assembly.html
Published and (C) by BoingBoing
Content appears here under this condition or license: Creative Commons BY-NC-SA 3.0.
via Magical.Fish Gopher News Feeds:
gopher://magical.fish/1/feeds/news/boingboing/