Peter Corlett abuse at
Fri May 26 01:32:46 BST 2006

On Wed, May 24, 2006 at 08:20:01PM +0000, Peter Corlett wrote:
> My own attempt at this rather silly retro game has produced a skeleton
> flex/bison[0] pair for BBC BASIC. The language itself seems regular enough
> to parse, but I think I'm going to have to omit the assembler for now.

On that front, I now have a working parser. Or more precisely, there exists
at least one program that does not cause bison to spit out its oh-so-helpful
"syntax error" message.

DATA is a bugger though, isn't it? Free-form so needs special treatment
(fortunately within the scope of flex start conditions) and a READ into a
numeric variable is really a string read with an EVAL. Eww.

The poverty from which I have suffered could be diagnosed as "Soho" poverty. It
comes from having the airs and graces of a genius and no talent.
								- Quentin Crisp

More information about the mailing list