TI-83 Compiler 2.0
A compiler/decompiler for TI-83+ programs.
Requirements
- Java 8 or higher (was only tested with this version)
- That’s it!
Features
- Compile programs to .8xp files
- Uncompile .8xp files
- Optimize option to remove useless characters without changing program’s behavior
- Lock program editing from calculators
Usage
Compiling
Source files’ extension must be one of the following: .ti83en, .ti83fr
java -jar TI-83_compiler-<version>.jar <file> -c [[-o] [-L]]
<file>
(required) path to the source file to compile-c
(required) option compile a file-o
(optional) try to optimize the compiled program-L
(optional) lock editing from calculators
Decompiling
Program files’ extension must be .8xp
java -jar TI-83_compiler-<version>.jar <file> -d -l=<lang> [-i=<indent>]
<file>
(required) path to the file binary to decompile-d
(required) option decompile a file-l=<lang>
(required) language for the decompiled source file (en
orfr
)-i=<indent>
(optional) indent size (number of spaces, default: 2)
Help
java -jar TI-83_compiler-<version>.jar -h
Shows command usage and syntax.
java -jar TI-83_compiler-<version>.jar -V
Shows compiler’s version.
Documentation
See the wiki.
Sources and reference
Token codes from TI-Basic Developer wiki.
Changelog
Binary files headers should be correctly
Actually display helpful error messages
Input/output paths are now correctly handled
Some instructions have been renamed (see the wiki)
χ
character now has an alias (χ
)Instructions can be escaped by using a
\\
Indentation size can be specified when decompiling
Added more explicit error messages
Some functions had typos in them
Optimisation is now done multiple times until no more token can be removed
Program editing can be locked
Added new options (
-f
,-L
,-h
)
Compile programs
Optimise compiling option
Uncompile programs in desired language (English or French)