Installation of ZX Basic SDK
ZX Basic SDK comes in two flavours:
- Multiplatform (Linux / Windows / Mac) python scripts. This is the main distribution and recommended for everyone.
- Windows .MSI Installer.
The latest is only for Windows users who are not able or very lazy to use python scripts directly. This .MSI distribution is not updated as often as the Multiplatform one, but has the advantage of not requiring to have the python interpreter previously installed.
For the Multi-platform bundle, you will need the python interpreter version 3.5 or higher installed on your system (Linux and Mac OS X users will probably have it already installed since it is very common on those operating systems). For Windows users, there's also a python interpreter from ActiveState, the ActivePython interpreter, 100% python compatible (Windows users who choose the .ZIP package distribution does not need to install any python interpreter).
To get the latest version of the ZX BASIC SDK, go to the Download Page,
and get the
.ZIP file you want. The .ZIP files are Multiplatform (Linux / Windows / Mac), except those
win32 suffix, which are for Windows only.
Installing the .MSI distribution is pretty straightforward: They do not require any installation. Just uncompress the SDK tree in a directory of your choice and make sure that folder is included in your PATH environment variable.
Testing your installation
For the .ZIP distribution, type zxb.py (in windows you can type zxb). You should see something like:
>zxb.py Usage: zxb.py <input file> [options] zxb.py: error: missing input file. (Try -h)
Ok, the compiler is working (or it seems so). Now you should proceed to the following section to learn about its usage.