|
1 | 1 | #Installation |
2 | 2 |
|
3 | 3 | ##Installation of ZX Basic SDK |
4 | | -ZX Basic SDK comes in two flavours: |
| 4 | +ZX Basic SDK comes two several flavours: |
5 | 5 |
|
6 | | -* Multiplatform (Linux / Windows / Mac) python scripts. This is the main distribution and recommended for everyone. |
7 | | -* Windows .MSI Installer. |
8 | | - |
9 | | -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. |
| 6 | +* OS Specific binary package (the recommended way).<br /> |
| 7 | + For Windows, Mac OS and Linux |
| 8 | +* Multiplatform python scripts (will require Python 3.8+ to be installed in your system) |
10 | 9 |
|
11 | 10 | ###Prerequisites |
12 | | -For the _Multi-platform_ bundle, you will need the [python](http://www.python.org) interpreter **version 3.5** or |
13 | | -higher installed on your system (Linux and Mac OS X users will probably have it already installed since |
14 | | -it is very common on those operating systems). |
15 | | -For Windows users, there's also a python interpreter from [ActiveState](http://www.activestate.com), |
16 | | -the [ActivePython](http://www.activestate.com/store/download.aspx?prdGUID=b08b04e0-6872-4d9d-a722-7a0c2dea2758) |
17 | | -interpreter, 100% python compatible (Windows users who choose the .ZIP package distribution does not need to install |
18 | | -any python interpreter). |
| 11 | +For the _Multi-platform_ bundle, you will need a [python](http://www.python.org) interpreter **version 3.8** or |
| 12 | +higher installed in your system (Linux and Mac OS X users will probably have it already). |
19 | 13 |
|
20 | 14 | ###Downloading |
21 | | -To get the latest version of the ZX BASIC SDK, go to the [Download Page](http://www.boriel.com/files/zxb/), |
22 | | -and get the `tar.gz` or `.ZIP` file you want. The .ZIP files are _Multiplatform_ (Linux / Windows / Mac), except those |
23 | | -with the `win32` suffix, which are for Windows only. |
24 | | - |
25 | | -###Installing |
26 | | -Installing the .MSI distribution is pretty straightforward: |
27 | | -They **do not require any installation**. Just uncompress the SDK tree in a directory of your choice and make sure |
28 | | -that folder is included in your PATH environment variable. |
| 15 | +To get the latest version of the ZX BASIC SDK, head to [Download Page](https://zxbasic.readthedocs.io/en/docs/archive/), |
| 16 | +and get the file you want. |
29 | 17 |
|
| 18 | +###Installation |
| 19 | +Installation is pretty straightforward: Just uncompress the SDK tree in a directory of your choice and make sure |
| 20 | +the folder is included in your PATH environment variable. |
30 | 21 |
|
31 | 22 | ##Testing your installation |
32 | | -For the .ZIP distribution, type **zxb.py** (in windows you can type **zxb**). |
| 23 | +For the binary distribution type **zxbc** (ensure this file is in your PATH). |
33 | 24 | You should see something like: |
34 | 25 | ``` |
35 | | - >zxb.py |
36 | | - Usage: zxb.py <input file> [options] |
| 26 | + >zxbc |
| 27 | + Usage: zxbc <input file> [options] |
37 | 28 | |
38 | | - zxb.py: error: missing input file. (Try -h) |
| 29 | + zxbc: error: missing input file. (Try -h) |
| 30 | +``` |
| 31 | + |
| 32 | +For the python distribution type **zxbc.py** (in windows you can type **zxbc**). |
| 33 | +You should see something like: |
39 | 34 | ``` |
| 35 | + >zxbc.py |
| 36 | + Usage: zxbc.py <input file> [options] |
| 37 | + |
| 38 | + zxbc.py: error: missing input file. (Try -h) |
| 39 | +``` |
| 40 | + |
40 | 41 | Ok, the compiler is working (or it seems so). Now you should proceed to the following section to learn about its usage. |
| 42 | + |
0 commit comments