My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Links

Introduction

MY-BASIC is a tiny cross-platform BASIC interpreter written in pure C with about 5000 lines of source code. Its grammar is similar to structured BASIC in early era, but without line number. It is aimed to be either an embeddable scripting language or a standalone interpreter. The core is pretty light; all in a C source file and a header file. You can combine MY-BASIC with an existing C / C++ / Objective-C project easily, that can make them more powerful.

Main features

  • Written in clean ANSI C, source portable
  • Most GW-BASIC like syntax, but without line numbers
  • Small and fast
  • Not case-sensitive
  • Integer / float point / string / boolean / array data types support
  • IF - THEN - ELSE support
  • FOR - TO - STEP - NEXT / WHILE - WEND / DO - UNTIL support
  • GOTO / GOSUB - RETURN support
  • Numeric functions
  • String functions
  • Easy to embed into C / C++ / Objective-C projects
  • High expansibility
  • It is free
Powered by Google Project Hosting