Omnimaga

Calculator Community => TI Calculators => General Calculator Help => Topic started by: Munchor on November 11, 2010, 06:59:31 pm

Title: .txt to .8xp
Post by: Munchor on November 11, 2010, 06:59:31 pm
So, I know how to convert .txt to .8xp, using SourceCoder or Tokens.

Now, how hard would it be for me to make my own converter?

Is that something hard to do, is the code for that available or is something that needs to be coded from the beginning truly hard?

Thanks
Title: Re: .txt to .8xp
Post by: meishe91 on November 11, 2010, 07:04:11 pm
I don't know the process of it but from what I've seen it looks like you have to code each token individually which will take a lot, I'd imagine. Sorry. Someone more experienced in computer programming and such would be better at answering this though.

Also, Cooliojazz has a converter too.
Title: Re: .txt to .8xp
Post by: DrDnar on November 11, 2010, 07:18:02 pm
There are a lot of tokens. Just press 2nd+0 to bring up the Catalog to get a list of most of them. If you can get a script of some kind to extract tokens from ti83plus.inc, it'd go a long way toward getting the program done.
Title: Re: .txt to .8xp
Post by: AngelFish on November 11, 2010, 07:21:21 pm
Such software already exists for your computer.

I personally use TI BASIC compiler (http://www.ticalc.org/archives/files/fileinfo/402/40210.html). It includes most of the commands that you'll need.

It really makes generating a large amount of data easier.
Title: Re: .txt to .8xp
Post by: Deep Toaster on November 11, 2010, 07:21:53 pm
They're all here: http://tibasicdev.wikidot.com/tokens

You'll probably have to make your own table of them, because the ones in ti83plus.inc list only the ASM mnemonics of them, which can be pretty far off.
Title: Re: .txt to .8xp
Post by: DJ Omnimaga on November 11, 2010, 07:30:32 pm
Personally, since there are already a bunch of good converters around here, I would instead suggest features you want to the respective authors (Kerm, Merthsoft, etc). That's unless you absolutely want to write a converter for learning purposes, though.
Title: Re: .txt to .8xp
Post by: Munchor on November 11, 2010, 07:32:34 pm
Just saw the ti83plus.inc -> Nightmare file.

Just gave up the idea, oh my god!
Title: Re: .txt to .8xp
Post by: ASHBAD_ALVIN on November 11, 2010, 07:35:57 pm
well, you don't have to worry about most of it -- a lot of it (if not all of it) only concerns pure ASM programmers.  Just look at the words starting with a lowercase t ;)
Title: Re: .txt to .8xp
Post by: Deep Toaster on November 11, 2010, 07:37:22 pm
well, you don't have to worry about most of it -- a lot of it (if not all of it) only concerns pure ASM programmers.  Just look at the words starting with a lowercase t ;)

That still wouldn't work because those tokens have different names in ASM than appear on-calc. You'll have to make your own list if you want to make that program.
Title: Re: .txt to .8xp
Post by: Munchor on November 11, 2010, 07:40:52 pm
Don't worry:

http://omnimaga.pastebin.com/3KQ3PRFe (http://omnimaga.pastebin.com/3KQ3PRFe)

SARCASM

Yeah, not that many actually
Title: Re: .txt to .8xp
Post by: Deep Toaster on November 11, 2010, 07:42:41 pm
Seems like you found them! :D

Yeah, you're probably better off just using one that's done.
Title: Re: .txt to .8xp
Post by: AngelFish on November 11, 2010, 07:42:55 pm
Just saw the ti83plus.inc -> Nightmare file.

Just gave up the idea, oh my god!

The data in that file explains so much...
Title: Re: .txt to .8xp
Post by: Munchor on November 11, 2010, 07:44:17 pm
I did find them, but have no idea of what they are and how to use them to make a compiler.

Maybe I should ask Merth for help?