Skip to content

Dennisman219/tibasic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The TI-BASIC Compiler

This is a fork of the original project made initially to implement support for additional symbols.

The TI-BASIC Compiler is all about compiling TI-BASIC code on your computer into an 8XP file ready for transferring to your TI-83/TI-83+/TI-84 calculator.

Being able to type your programs instead of try and use the calculator's keypad is much easier :).

Usage

tibasic [options] filename

compiles a TI-BASIC source file to a 8XP file which can be transfered to and executed on the calculator.

Options

-d to decompile (generate TI-BASIC file from 8XP file)
-o filename to specify output file

Building

You can build this project yourself using meson/ninja by executing

meson build

followed by

ninja -C build

Important Note!

There are a few symbols that could not be directly transferred to the language and were replaced instead with tokens. Here are some examples of replaced symbols:

TIBasic symbol Supported token e.g.
& and
| or
~ xor
θ [theta]
powers ^ Five squared : 5^2
e [e]
roots [root]^ Square root of D : [root]^2D
- (negative) [neg] Negative X : [neg]X
(store) ->

All Picture variables (Pic0 - Pic9) and String variables (Str0 - Str9) are CAPITALIZED (i.e. STR0)

TODO specify all (replaced) symbols and corresponding tokens


Happy programming!

About

The TI-BASIC Compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.6%
  • Meson 0.4%