top of page

DOWNLOAD

The T Compiler can be found here. It comes as a zip file that needs to be uncompressed in a directory.

 

Within this archive you will find useful resources:

  • A makefile to build the T Compiler (make),

  • A command file to launch the compiler (compile.sh),

  • Three examples:

    • ​The Quadratic Equation solving program,

    • Two Sudoku solving programs (only sudoku2.c fits in TI 59 memory).

  • A template file from which you can start implementing your own programs (template.c).

 

 

PRE-REQUISITES

 

A C Compiler is required to build T Compiler executables.

 

 

INSTALLING THE T COMPILER

 

Once T Compiler files are unzipped in a directory, run the makefile by typing make. Two executables are generated:

  • ti59 which is used to create .ti59 files,

  • ti59b which is used to create .step files.

 

You can remove all the transient files created by the C Compiler by typing make clean.

 

 

RUNNING THE T COMPILER

 

To compile programs written in T Language, type ./compile.sh file1.c file2.c... As an ouput, a set of .ti59 and .step files will be generated.

 

compile.sh assumes that ti59 and ti59b executables are in the same directory. In case it wouldn't be the case, just change the path variable in compile.sh to their right location.

 

 

VERSION HISTORY

 

The T Compiler version can be found in the .ti59 file, in the Resources status part. Here are the main improvements from one version to the other:

 

  • V1.0  : Initial version

  • V1.0.1: Improved <= test implementation

  • V1.0.2: Enabled external variables and comments

  • V1.1  : Added printing functions

bottom of page