Difference between revisions of "ZXBasic"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(1)
m (About)
Line 1: Line 1:
 
== About ==
 
== 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!).
+
'''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). 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 ==
 
== Features ==

Revision as of 16:44, 26 March 2016

About

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). 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

Allows use of inline-assembly and libraries

Links

Official wikipage

CPC examples (GX-4000 rom files for now, all with sources)