Update README

This commit is contained in:
Wang Renxin 2014-12-03 14:48:09 +08:00
parent 762b47f190
commit dd7517e989

46
README
View File

@ -1,23 +1,25 @@
Introduction ## Introduction
MY-BASIC is a tiny cross-platform easy extendable BASIC interpreter written 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 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 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 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. 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 You can combine MY-BASIC with an existing C / C++ / Objective-C project
easily, that can make them more powerful. easily, that can make them more powerful.
Main features ## Main features
Written in clean ANSI C, source portable * Written in clean ANSI C, source portable
Most GW-BASIC like syntax, but without line numbers * Most GW-BASIC like syntax, but without line numbers
Small and fast * Small and fast
Not case-sensitive * Not case-sensitive
Integer / float point / string / boolean / array data types support * Integer / float point / string / boolean / array data types support
IF - THEN - ELSE support * IF - THEN - ELSE support
FOR - TO - STEP - NEXT / WHILE - WEND / DO - UNTIL support * FOR - TO - STEP - NEXT / WHILE - WEND / DO - UNTIL support
GOTO / GOSUB - RETURN support * GOTO / GOSUB - RETURN support
Numeric functions * Numeric functions
String functions * String functions
Easy to embed into C / C++ / Objective-C projects * Easy to embed into C / C++ / Objective-C projects
High expansibility * High expansibility
It is free * It is free
[FAQ](https://github.com/paladin-t/my_basic/wiki/FAQ)