Skip to content

cndreisbach/redbasic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

__________           ._____________    _____    _________.____________  
\______   \ ____   __| _/\______   \  /  _  \  /   _____/|   \_   ___ \
 |       _// __ \ / __ |  |    |  _/ /  /_\  \ \_____  \ |   /    \  \/
 |    |   \  ___// /_/ |  |    |   \/    |    \/        \|   \     \____
 |____|_  /\___  >____ |  |______  /\____|__  /_______  /|___|\______  /
        \/     \/     \/         \/         \/        \/             \/

RedBASIC

RedBASIC is an implementation of Dartmouth BASIC version 4, as specified in the BASIC 4th Edition Manual, Jan 1968. Current status: can run the first program in the manual + FOR/NEXT loops.

Installation

Add this line to your application's Gemfile:

gem 'redbasic'

And then execute:

$ bundle

Or install it yourself as:

$ gem install redbasic

Usage

Run redbasic.

TODO

  • Implement function calls and the default functions
    • SIN
    • COS
    • TAN
    • COT
    • ATN
    • EXP
    • LOG
    • ABS
    • SQR
  • Implement other functions
    • INT
    • RND
    • SGN
    • NUM
    • DET
  • Implement user-defined functions

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published