The ZX Basic Compiler Project Page




images/zx48k.png

About

Welcome to the ZX BASIC compiler page.

This project aims to create a BASIC dialect compiler for the ZX Spectrum vintage computer. It uses the Bparser (Boriel parser) compiler tool to parse the language.

Since Bparser is written in Python, this tool is also completely written using the python script language, so it should be portable to any platform having a Python interpreter; the idea is to create a translator which outputs Z80 assembler code to be later converted (assembled) to binary using an assembler.

To assemble the result backend, Pasmo is used. But you can try any other, provided it can assemble the produced code (which is mostly standard).

Contact

You can contact Boriel at his homepage.