Skip to content

jdiperla/interpreter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyBasic Interpreter

A modern BASIC interpreter that runs right inside our browser.

Getting Started

# Clone this repo
git clone https://github.com/easy-basic/interpreter.git

# Install dependencies
yarn
# OR
npm Install

# Compiling project
npm run watch

Progress

  • Stream Scanning
  • Expression Parsing
  • Top level program parsing
  • Statements Parsing
  • Plugable operators support
  • Expression evaluator
  • Plugable functions support in expression parsing
  • Statement Execution
  • Complete Runtime
  • Add GUI

Runing

There is no GUI provided yet but project can be test by opening dist/test.html in browser and using following commands

var basic = new BASIC();
basic.execute(`
10 x = 10+30/5*43-cos(30)
20 print x
`)

Related Projects

License

This project is licensed under the MIT License - see the LICENSE file for details

About

A modern & plugable BASIC interpreter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%