-
Notifications
You must be signed in to change notification settings - Fork 118
FAQ
Q: What is MY-BASIC?
A: MY-BASIC is a tiny cross-platform easy extendable interpreted BASIC dialect; It's fully implemented in pure C. It is aimed to be either an embeddable scripting language or a standalone interpreter.
Q: Why use MY-BASIC?
A: MY-BASIC is tiny, easy to embed and use, its grammar is friendly to newcomers, its features are powerful and helpful to old hand users, its C API is effectively retrenched. You could play with it for a minute, it won't take you much time to determine whether MY-BASIC is suitable to your requirements.
Q: Where can I learn some basic grammar about MY-BASIC?
A: MY-BASIC's grammar is similar to structured BASIC in early era, but without line number. Experiences on any other BASIC dialects will be helpful to understand and think in MY-BASIC. Anyway necessary introductions are available in the MY-BASIC Quick Reference.
Q: Where can I get some samples?
A: There are some simple samples come along with the source code, it's available in the sample folder.
Q: How is MY-BASIC documented?
A: You can download a latest MY-BASIC Quick Reference.
Q: Where did MY-BASIC come from?
A: The project founder created MY-BASIC for his own need; paladin_t is a game creator, before making MY-BASIC, he had been working with some other scripting libraries painfully. He decided to make his own scripting language one day when he was tired diving into those libraries' entangled APIs. MY-BASIC's grammar referenced the famous BASIC family because it was the primer language for paladin_t starting his coding life. He tended to make an easy to use, embed, maintain, read library; it appears some impressive milestones were established while approaching this goal.
Q: What platforms support MY-BASIC?
A: Since MY-BASIC is written in C, We can almost say all the platforms with a C compiler would support it. Except some really old compilers which cannot even fully load the source code of MY-BASIC, such as TC. MY-BASIC was tested to compile with some essential (non)commercial compilers, such as GCC, XCode, VC, etc. It would be easy to modify for those compilers which would generate errors when compiling MY-BASIC, changing the header files including and substituting with equivalent library functions will solve the problem most of the time.
Q: How do I use MY-BASIC as a standalone interpreter?
A: A compiled binary for Windows is available in the output folder. It would be easy to compile the source code directly to get a standalone interpreter for your specified platform.
Q: How do I use MY-BASIC as an embedded scripting language?
A: MY-BASIC is implemented in a header file and a C source file, the easiest way to integrate MY-BASIC to your program is to copy these files to your project and compile them with it; or you may link MY-BASIC as a static/dynamic library as you wish.
Q: How about programming library?
A: MY-BASIC supplies a small set of frequently used functions as a standard library which provides some fundamental numeric and string functions. You can see the "Core and Standard Libraries" section in the MY-BASIC Quick Reference for details.
Q: How often does MY-BASIC update?
A: It's eventuality.
Q: How do I get technical support?
A: Please email the developer directly.
- Principles
- Coding
- Data types
- Standalone shell
- Integration
- Customization
- More scripting API
- FAQ