Here it is, the first beta of a basic based on flex & yacc.
Just running under LINUX,AIX,SUN and BSD for now, but I don't think it will be
hard to port to another platform. It's not fast and not accurate, but sure is usable and understands a lot of BASIC syntax(es).
Please mail me if you have questions, remarks or bugs, I'll try to answer or solve them as soon as possible. Even if you think "hey, I could do this better by changing this-and-that " - feel free to do so and send me your work. MOLE Basic is and will be intended to be easy expandible and free for all.
What is MOLE Basic ?
Merty's Own Language Extension basic (MOLE basic) is an interpreter originally written to implement a simple (IF-THEN-ELSE) kind of language, usable in a IBM messaging switching environment. BASIC is choosen because I couldn't think of an easier language to learn wich is so well-known and still usable for small and simple tasks.In time, the program grew and I decided to rewrite it in my own time, strip out all IBM-message switch related commands and release it to the public. Although the source is a bit of a mess right now, using lex and yacc makes it easy to adopt your own command(s) inside it, without bothering about interpreting commandlines and expressions.
Latest release is version 0.7, still beta but stable.
You could download the source (30 K) (flex, mathlib and yacc or bison is required to compile ! ), or get the binary LINUX, i386 or higher. (36 K).
Remco Schellekens, firstname.lastname@example.org