emBASIC

From SEGGER Wiki
Revision as of 16:05, 4 July 2019 by Rolf (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

emBASIC is a SEGGER software library implementing a BASIC interpreter for Embedded Systems. It is targeted to microcontrollers and is written to use SEGGER's embedded software. emBASIC is easily portable and runs on a variety of hardware, as well as a PC simulation. emBASIC makes it easy to write small application programs without needing to purchase and master typical development equipment such as compilers, debuggers, and JTAG emulators.

The feel of emBASIC is very much that of an 1980-vintage BASIC interpreter running on personal computers of that decade. emBASIC is a fusion of ideas from many different implementations of BASIC, with some unique features thrown in.

Status

emBASIC is for now just an internal project, not a product, but it can be raised to product status without too much effort. There is documentation for both end users and integrators. If this is of interest, do not hesitate to contact info@segger.com

Commands

Standard, interactive

  • EDIT
  • LIST
  • RUN

Standard, program mode

  • END
  • PRINT
  • GOSUB
  • GOTO

emBASIC enhancements

Interactive Mode

  • HELP
  • CREDITS
  • VERSION
  • NET LOAD
    Example: net load "life.bas"
  • NET CATALOG

The software is showcased here, with a fully functional simulator: https://www.segger.com/showcase/#embasic