Has anyone implemented BASIC in Python?

Aahz aahz at pythoncraft.com
Mon Aug 23 20:11:56 CEST 2004


In article <41295D22.8702D583 at alcyone.com>,
Erik Max Francis  <max at alcyone.com> wrote:
>Leif K-Brooks wrote:
>>
>> Has anyone ever tried implementing a simple unstructured BASIC dialect
>> in Python? I'm getting interested in language implementation, and
>> looking at a reasonably simple example like that could be pretty
>> interesting.
>
>On a whim, I implemented a Python BASIC interpreter which supported all
>statements in primitive BASIC, but got bored before I implemented all
>the standard operators in expressions.

For some reason, I thought that after "but" you were going to write,
"...but I don't have the proof handy."  ;-)
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"To me vi is Zen.  To use vi is to practice zen.  Every command is a
koan.  Profound to the user, unintelligible to the uninitiated.  You
discover truth everytime you use it."  --reddy at lion.austin.ibm.com



More information about the Python-list mailing list