|
G2Basic 0.1.1 (1e793fc)
BASIC interpreter for microcontrollers
|
G2Basic is a small BASIC interpreter written in C for microcontrollers and other embedded hosts. A host program passes it one line at a time: numbered lines build a stored program, and other lines run immediately. This reference covers the public header g2basic.h and the internal backend hook. The source is on GitHub.
| Guide | Contents |
|---|---|
| Language reference | Statements, expressions, commands, and limits |
| Embedding | CMake integration, output, custom functions, and the API contract |
| Architecture | Parser, program store, execution, and memory |
| Development | Builds, options, tests, CI, and API documentation |
| C coding standard | Style, memory, error handling, and documentation rules |
| Versioning | SemVer rules, the public interface, and the changelog |
| Group | Contents | Header |
|---|---|---|
| Embedding API | Setup and output, Custom functions, Execution | g2basic.h |
| Internal interfaces | Built-in function backends | g2basic_math.h |
The group tree is on the Topics page. The Examples page contains the interactive interpreter, a complete host program.