i need to make an small interpreter

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by ricardo.



For some reason, i need to make an interpreter for the BASIC language,

(only If then else, While, etc. Not ANY command, it will be only a small parser with learning purposes)

can anybody help me about how to parsing Ifs, While, etc.

Thanks in advance

Ricardo
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Sylvain.

You can search ccbasic, it's a basic interpreter written in Basic (QBasic and Power Basic). May help you

Sylvain
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Steve.

Or you could have a look at Mini-Basic. Its a small basic interpreter
written in MASM. Comes with full source code.
Here's the link.
http://www.retromatique.com/basic/

Steve
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Sylvain.

And if you need more informations about Mini-Basic, you can ask me, I wrote it!

Sylvain
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by ricardo.
And if you need more informations about Mini-Basic, you can ask me, I wrote it!
Wow !!!
Im interested in write a Basic interpreter in PureBasic (i don't know asm), did you think it can be done?
Post Reply