Skip to content

cocode/TrekBasicFamily

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

TrekBasic

TrekBasic is a family of compilers, interpreters and tools for the BASIC programming language.

All compiler and interpreter versions are intended to be byte-by-byte compatible. They're not there yet — but they are close. TrekBot and BasicTestSuite are part of the plan to ensure full compatibility.

TrekBasic Family

TrekBasic is a family of tools for working with the basic programming language.

LOGO Tool Description Language Interpreter Compiler
Logo TrekBasic Basic compiler and interpreter Python Yes Yes
Logo TrekBasicJ Basic compiler and interpreter Java Yes Yes
Logo BasicRS Basic interpreter Rust Yes pending
Logo BasicTestSuite A test suite for Basic BASIC - -
Logo TrekBot A tool to exercise the superstartrek program Rust - -

Tools

TrekBot

TrekBot is a bot that plays Super Star Trek. It's used for automated testing and code coverage.

  • The Rust version of TrekBot behaves like a human player by using stdin/stdout, making it compatible with any text-based implementation.
  • The Python Version of TrekBot works by accessing internal data structures of the Python version of TrekBasic, and is therefore only usable with TrekBasic in Python.

Basic Test Suite

The Basic Test Suite is a collection of BASIC programs used to test interpreter and compiler behavior.
With a proper test runner, it can execute programs and verify return codes and exceptions.

Each implementation (TrekBasic, TrekBasicJ, BasicRS) includes its own runner.

Why 'Trek'?

The initial goal was to be able to play the old Super Star Trek game, which was written in BASIC. That goal has been achieved.

About

This is a central project linking implementations of the BAISC programming language & tools.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published