BASIC compiler?

Everything related to BASIC version 1.x (Oric 1 and Atmos) or HYPERBASIC (Telestrat).
Don't hesitate to give your small program samples, technical insights, or questions...
Post Reply
User avatar
Symoon
Archivist
Posts: 1755
Joined: Sat Jan 14, 2006 12:44 am
Location: Paris, France
Contact:

BASIC compiler?

Post by Symoon » Wed Sep 25, 2019 10:21 pm

Hi,

I just gave a quick try at Ray McLaughlin's basic compiler on the Oric, with a small program drawing HIRES things.
It must have been an amazing amount of work to achieve this!

Anyway, here are the results:
- initial BASIC program, 87 bytes in memory, 8 seconds to draw
- resulting ASM program: 1.9KB big, 3 seconds to draw

So if memory is not important, the speed gain is quite cool (I was using SIN command, which could explain the size?).

But the result only works under Sedoric which is not very satisfying for my needs.

So I got a simple question: has there ever been a project of "Basic cross-compiler" for Oric on modern computers?

Post Reply