Re: Compiling TI-BASIC?


[Prev][Next][Index][Thread]

Re: Compiling TI-BASIC?



On Sat, 2 Nov 1996, Robert W McGrew wrote:


> Would it be possible to make a DOS program that would take an .85P
> ti-basic file and compile it into a ZShell string?  That way, the
> processor wouldn't have to translate the BASIC program to assembler when
> the program is run, since it will already be in assembler.
> I hope this isn't a stupid idea :)


Sorry, it is.  The calculator is not compiling it into assembler, it is
'compressing' or tokenizing it.  If you have seen an 82, when there is a
command, the cursor skips over the whole thing, while on the 85, the
cursor goes through each character.  The reason is that the 85's editor
is really just a text editor, and it takes certain strings, and turns
them into single or double byte values, and often makes a smaller
program.  The other thing is that it could easily take longer to transfer
the program from your calc, run the program to tokenize it, and then
transfer it back anyway.


Tony Lieuallen = lieuallen@iop.com = zarniwoop@juno.com
"If cars had experienced the same technological progress that computers
have experienced in the last two decades,  cars would get 400 miles per
gallon, have 40,000 horsepower, cost under $500, and blow up at least once
per week, killing all occupants." - Unknown


Q:  Why do ducks have flat feet?
A:  To stamp out forest fires.


Q:  Why do elephants have flat feet?
A:  To stamp out flaming ducks.


References: