Car insurance

Archive

Archive for the ‘OWL BASIC’ Category

OWL BASIC parser and abstract syntax tree

November 23rd, 2008 No comments

Other personal projects, of both a software and familial nature have taken priority lately over my project to implement a BBC BASIC-a-like compiler for the .NET CLR, now called OWL BASIC in honour of the owl logo of the BBC’s Computer Literacy Project. Now I have some spare capacity to devote to the project, and [...]

Categories: .NET, computing, OWL BASIC, software Tags:

NEXT please! Compiling iteration structures in BBC BASIC

This posting has been re-written from an earlier version which contained unnecessary complexity Following on from my proposal on how to compiler BBC BASIC functions with variant return types, in response to Richard Russell’s compilation challenges, I’d like to move on to compiling BBC BASIC loop structures. Nonetheless, several readers have comments how useful even [...]

Categories: .NET, C++, computing, OWL BASIC, software Tags:

Compiling variant function return types in BBC BASIC

June 19th, 2007 4 comments

Some significant challenges to compiling BBC BASIC have been raised by Richard Russell, maintainer of BBC Basic for Windows. I have decided to explore the issues he raises through further posts here, rather than through responses to his earlier comments, since they will be quite long. Today, we will look at the problem of the [...]

Categories: .NET, computing, OWL BASIC, software Tags:

BBC BASIC lexer with PLY

June 11th, 2007 No comments

So having decided to build a BBC BASIC compiler for the CLR, in IronPython using PLY, the first step is to build a functioning lexer to tokenize the text input of a BBC BASIC program. BBC BASIC is normally stored in a binary tokenized format, where each keyword is stored as a one- or two-byte [...]

Categories: .NET, computing, OWL BASIC, software Tags:

Writing a BBC BASIC compiler for the CLR

June 10th, 2007 24 comments

Of late, I’ve picked up an interest in the CLR through learning C#. After being impressed by the performance of the .NET runtime (less so for Mono, although that’s another story) I decided that an effective way to really get to grips with the system would be to write a compiler which targets the CLR. [...]

Categories: .NET, 8 bit, computing, OWL BASIC, software Tags: