Home > Projects > MFBasic, Basic Interpeter

MFBasic, Basic Interpeter

As promissed in the last blog item i’m releasing the sourcecode of the basic interpeter that is used in DreamQuest. I’ve called it MFBasic and made a logo for it ;-)

Not all functions that are available in the DreamQuest version are available (Mostly math functions) are available yet. I didn’t want MFBasic need other libraries. I will recreate those functions later.

It’s released with a GPLv2 licence meaning that you may use the code in your projects (also commercial) but you have to release the code of that creation. If you want to use MFBasic in a closed source project you can contact me trough the contact form.

Some of the supported features:

  • WHILE -> WEND
  • IF, ELSE, ENDIF
  • FOR -> NEXT, STEP
  • Line numbers of QBasic like labels
  • Custom variable names (Variables ending with $ are string variables others are considered floating point)
  • Easy to create custom functions
  • Basic sourcecode is precompiled to run faster

It’s in alpha state right now.. I’m currently working on a State storage to store and restore current running state. Also I will add more functions and hopefully implement arrays

For more information and downloads visit the MFBasic codeplex website: http://mfbasic.codeplex.com/

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • NuJIJ
  • Technorati
  • Yahoo! Bookmarks
Categories: Projects Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.