2011-04-05

MY-BASIC

MY-BASIC

Introduction

MY-BASIC is a tiny BASIC interpreter written in pure C within about 5000 lines of source code. It has an early structured BASIC like grammar but without line number. It is aimed to be either an embeddable scripting language or a stand alone interpreter. The core is pretty light; all in a C source file and a header file. It can be combined with an existing C / C++ / Objective-C project easily and power it up.

Main features

  1. Written in clean ANSI C, source portable
  2. Most GW-BASIC like syntax, but without line numbers
  3. Small and fast
  4. Not case-sensitive
  5. Integer / float point / string / boolean / array data types support
  6. IF - THEN - ELSE support
  7. FOR - TO - STEP - NEXT / WHILE - WEND / DO - UNTIL support
  8. GOTO / GOSUB - RETURN support
  9. Numeric functions
  10. String functions
  11. Easy to embed in to C / C++ / Objective-C projects
  12. High expansibility
  13. It is free

Project home page

http://code.google.com/p/my-basic/






Retrieved from : http://en.wikipedia.org/wiki/MY-BASIC