28 lines
1.3 KiB
Plaintext
28 lines
1.3 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
|
|
|
|
----
|
|
*You can support MY-BASIC development with a donation:*
|
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=hellotony521%40gmail%2ecom&lc=US&item_name=my-basic&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHostedGuest)
|