... .. ... 005 53 ( 008 55 / 011 45 y^x 014 75 - 017 54 ) 020 42 STO
003 76 2nd Lbl 006 43 RCL 009 01 1 012 53 ( 015 43 RCL 018 54 ) 021 25 25
004 75 - 007 25 25 010 00 0 013 08 8 016 26 26 019 59 2nd Int ... .. ...
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