ZXCode is a Visual Studio Code extension and CLI that brings authentic Sinclair ZX Spectrum 48K BASIC development into a modern editor. It installs from a .vsix release (requires VS Code 1.140.0+; Node/npm not required for the released extension) and can also be built from source with Node.js 24.x and npm. Basic workflow examples show creating a .zxbas file, running ZXCODE: CHECK BASIC to see diagnostics and ZXCODE: BUILD TAP to produce a .tap cassette image; the build and check use the editor buffer, including unsaved edits. Releases are distributed via GitHub Releases (not the VS Code Marketplace).
Functionally, ZXCode preserves original 48K ROM BASIC semantics (real line numbers, accepts GOTO/GOSUB aliases) and offers syntax highlighting, live diagnostics, completion, symbol navigation (definitions/references/Outline), formatting, safe line renumbering and TAP import with byte-preservation checks. It can launch programs in a FUSE 1.8+ emulator and supports optional debugging (breakpoints, step, variables, memory/screen inspection) via ZEsarUX setup. The repository contains docs, examples and guides, a CLI with build/check commands, and invites issues and pull requests for contributions.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.