26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
Introduction
|
|
MY-BASIC is a tiny cross-platform easy extendable 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 an associated 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
|
|
|
|
Moved from old repository: https://code.google.com/p/my-basic/
|