ZXBasic

From CPCWiki - THE Amstrad CPC encyclopedia!
Revision as of 17:31, 5 June 2015 by Polluks (Talk | contribs) (About)

Jump to: navigation, search

About

ZX BASIC is a BASIC cross compiler. It will compile BASIC programs (in your PC) for your ZX Spectrum. ZX BASIC is an SDKentirely 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). Other non Z80 targets could also be available in the future.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. With some patching/scripting, the binary results from this cross-compiler can be, in most cases, easily adapted to run on all other z80-based hardware than ZX Spectrum only (Amstrad CPC included!).

Features

Links

http://www.boriel.com/wiki/en/index.php/ZXBasic