SlackBuilds Repository

15.0 > Development > zxbasic (1.18.7)

ZX BASIC is a BASIC "cross compiler". It will compile BASIC
programs (in your PC) for your ZX Spectrum. ZX BASIC is an
SDK entirely written in python. The SDK is implemented using
the PLY (Python Lex/Yacc) compiler tool. It translates BASIC
to Z80 assembler code, so it is easily portable to other Z80
platforms (Amstrad, MSX).

ZX BASIC syntax tries to maintain compatibility as much as
possible with Sinclair BASIC, it also have many new features,
mostly taken from FreeBASIC dialect.

ZX Basic is also know as "Boriel Basic" in reference to its
creator, Jose Rodriguez "Boriel".

This Slackware package provides the following commands

- zxbc
- zxbpp
- zxbasm

usage example:
zxbc -taB /usr/doc/zxbasic-1.18.1/examples/pong.bas

generates the file pong.tap which is a ZXSpectrum tape image.
Now use the fuse-emulator (available at SlackBuilds.org) for
example, to play the pong game.

Maintained by: Antonio Leal
Keywords: zx,spectrum,compiler,boriel,basic,zxspectrum,assembler
ChangeLog: zxbasic

Homepage:
https://zxbasic.readthedocs.io

Source Downloads:
Python-3.13.3.tgz (b3d8c043dcdd52d55d48769a95c8e7d1)
zxbasic-1.18.7.tar.gz (b71dd215858b7f3f378700e63af29d35)

Download SlackBuild:
zxbasic.tar.gz
zxbasic.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
README
slack-desc
zxbasic.SlackBuild
zxbasic.info
zxbasm
zxbc
zxbpp

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds