Skip to content

How to compile and decompile

Damien Vergnet (Darmo) edited this page Oct 1, 2017 · 2 revisions

Compiling

Compiling a source file is fairly simple. The file source file must have one of the following extensions: .ti83, .ti83en, .ti83fr.

Run the following command: java -jar <compiler_name>.jar -f <path> [-O|-L]

Parameters:

  • -f <path> tells that the file to compile is found at <path>
  • -O if present, the compiler will try to optimise the program
  • -L if present, the compiled program will be locked (i.e. it will be impossible to edit from the calculator)

Decompiling

The file to decompile must be a .8xp file.

Run the following command: java -jar <compiler_name>.jar -f <path> -u <lang> -i <indent>

Parameters:

  • -f <path> tells that the file to decompile is found at <path>
  • -u <lang> indicates the language for the decompiled source file
  • -i <indent> specifies the indent size (number of spaces)

Values for <lang>

For now, only two languages are available:

  • English (en)
  • French (fr)
Clone this wiki locally