Page 1 of 1

My TI-Basic Compiler

Posted: Sun May 20, 2007 3:40 am
by pcmattman
I've written a simple TI-Basic compiler.

It basically tokenises TI-Basic programs written on a computer into the calculator's program format, which can then be executed on the calculator.

It's site is up at [url]http//www.sf.net/projects/tibasic[/url].

It's made for those with TI-83, TI-83+ and TI-84+ calculators, and I need testing for it so I know what to fix before I write the decompiler (and add in some more features).

Re: My TI-Basic Compiler

Posted: Sun May 20, 2007 8:31 am
by AndrewAPrice
pcmattman wrote:It's made for those with TI-83, TI-83+ and TI-84+ calculators, and I need testing for it so I know what to fix before I write the decompiler (and add in some more features).
Are you writing a compiler for a calculator for which you do not own? [-X

Re: My TI-Basic Compiler

Posted: Sun May 20, 2007 11:05 am
by Alboin
MessiahAndrw wrote:
pcmattman wrote:It's made for those with TI-83, TI-83+ and TI-84+ calculators, and I need testing for it so I know what to fix before I write the decompiler (and add in some more features).
Are you writing a compiler for a calculator for which you do not own? [-X
You could use an emulator...Although, if you don't own one, you would be without a ROM...Maybe you could start the Free TI-83 ROM project...

Posted: Sun May 20, 2007 3:22 pm
by pcmattman
I own a TI-84+, but I would like others to test the compiler. They don't know it as well as I do and are more likely to find bugs.

Posted: Mon May 21, 2007 10:02 am
by Combuster
I own a TI-83, but I lack the hardware necessary to link it to the computer.

Besides, if I want to run games or anything more serious on it i just write it manually myself. That and I like the "autocompletion" feature present on this thing :twisted:

Posted: Sun May 27, 2007 3:47 pm
by pcmattman
I just uploaded the Linux port of the compiler...

Posted: Sun May 27, 2007 3:56 pm
by Brynet-Inc
pcmattman wrote:I just uploaded the Linux port of the compiler...
I think you should know that the archive you uploaded is named linux_tibasic_1_1.tar.gz but the actual archive is in the RAR file format.

Some people cannot use that format.. Can you actually release a tarball that's gzipped instead of renaming a RAR?

(Does the archive contain the source.. or is it a Linux binary?)

Posted: Sun May 27, 2007 6:23 pm
by pcmattman
Whoops... I just knew something was wrong, I was rushed so I didn't properly compress it (rushed job).

It contains the binary.

I'll release a gzipped binary ASAP...

Posted: Mon May 28, 2007 7:12 pm
by pcmattman
Brynet-Inc wrote:
pcmattman wrote:I just uploaded the Linux port of the compiler...
I think you should know that the archive you uploaded is named linux_tibasic_1_1.tar.gz but the actual archive is in the RAR file format.

Some people cannot use that format.. Can you actually release a tarball that's gzipped instead of renaming a RAR?

(Does the archive contain the source.. or is it a Linux binary?)
Ok, the real tarred and gzipped version is up now. Sorry about that!

Posted: Tue May 29, 2007 1:41 pm
by Alboin
I can't test the output on an actual calculator, but it does run and seems to output appropriate data.

I'm on a 64-bit Gentoo 2006.1 box. (Too lazy to upgrade.)

Posted: Tue May 29, 2007 5:29 pm
by pcmattman
It works on 64-bit? It's made for 32-bit... Now I'll have to test it on 32-bit linux.

*Pulls out Ubuntu live CD*

Posted: Tue May 29, 2007 5:56 pm
by Alboin
pcmattman wrote:It works on 64-bit? It's made for 32-bit... Now I'll have to test it on 32-bit linux.
64-bit Linux can still run 32-bit programs.

Posted: Tue May 29, 2007 6:03 pm
by pcmattman
That I did not know. Interesting.