hn.today

ZXCode – VS Code programming environment for ZX Spectrum

github.com4 points1 comments
Screenshot of ZXCode – VS Code programming environment for ZX Spectrum

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.

Read on github.com1 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Hardware

The iPhone Duo

The iPhone Duo

The iPhone Duo offers a foldable design that combines a small outer device with a larger inner tablet, but it introduces usability issues and design compromises. Despite its innovative tablet experience, the outer device is considered the worst iPhone Apple has made, and many problems remain unresolved. (daringfireball.net)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.