node-basic is a BASIC parser and executor written in Javascript. It can be used in Node or compiled with Browserify for use in a browser.
node-basic uses the flavor of BASIC from the Basic! iOS app, however is designed to be flexible and easily modifiable.
node-basic should be able to run any programs written for Basic!. While it is currently incomplete, the majority of programs should run fine, considering they are provided with a graphical environment supporting all commands.
node-basic includes a flexible interface to allow for the parent application to receive all terminal IO and rendering commands. An 'offical' web-based IDE is currently in the works.
Install with Node:npm install basic-lang --save |
Install with Bower:bower install basic --save |
||||||
|---|---|---|---|---|---|---|---|
| Check out the Getting Started Guide | |||||||
| Read the Documentation: | Language | ||||||
| Introduction | Command reference | Function reference | |||||
| Constant reference | Operator reference | Examples | |||||
| Parser | |||||||
| API reference | Examples | ||||||
| Executor | |||||||
| API reference | Examples | ||||||
| Creating a custom IO/drawing interface | |||||||
| Extending the language | |||||||
| Adding a command | Adding a function or constant | ||||||
| Adding an operator | Adding a statement | ||||||
| API reference | Examples | ||||||
