This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's Technology & Calculator Open Topic subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Community News & Discuss Nspire => Technology & Calculator Open Topic
Author Message
kermmartian
Site Admin Kemetech


Calc Guru


Joined: 20 Mar 2004
Posts: 1220

Posted: 03 Nov 2005 09:31:30 pm    Post subject:

The final first version of SourceCoder, my PHP poject to convert BASIC files from raw .8*p to readable, pastable HTML and BBCode, has been completed. This tool allows you to retrieve the full source code of any TI-83, TI-83+, TI-83+SE, TI-84+, or TI-84+SE BASIC-language program. Simple browse to a .8*p program, then click the Parse File button. You will be given readable source code onscreen and copy/pastable source in three formats:

:: HTML
:: phpBB-compatible BBCode
:: Invision/InvisionFree-compatible BBCode

I hope that this will be a useful tool for the community; those who have tried it so far haev been relatively impressed with it. As usual, please report any and all bugs to me. For future versions, I hope to add support for more calculator types, automatic ASM program rejection, and perhaps .8*i support. Enjoy!

SourceCoder v1.0: http://www.cemetech.net/projects/basicelite/sourcecoder.php

From http://www.cemetech.net/news.php?186


Back to top
Weregoose
Authentic INTJ


Super Elite (Last Title)


Joined: 25 Nov 2004
Posts: 3976

Posted: 03 Nov 2005 09:38:47 pm    Post subject:

There are missing "=" in the InvisionBBCode parser ([size0], for example).
Regardless, this is good work! We'll have to get it out to every newcomer.

Have you worked out every possible token so we don't have to?
Also, considered using Unicode for sto.gif ([font="courier new"]
) and convert.gif ([font="courier new"])?

Last edited by Guest on 03 Nov 2005 09:56:08 pm; edited 1 time in total
Back to top
Brazucs
I have no idea what my avatar is.


Super Elite (Last Title)


Joined: 31 Mar 2004
Posts: 3349

Posted: 03 Nov 2005 10:47:05 pm    Post subject:

Neutral

That completely phago-s my measly lil' one! That's awesome, man... it was what I was eventually striving for.
I guess the only way I can 'survive' is to dump the one I have up now and make a normal code -> pretty code converter Smile .

Question for ya: What the difference between phpBBCode and InvisionBBCode?


Last edited by Guest on 04 Nov 2005 12:05:11 am; edited 1 time in total
Back to top
DJ Omnimaga
http://i-lost-the-ga.me


Calc Guru


Joined: 14 Nov 2003
Posts: 1196

Posted: 04 Nov 2005 09:30:03 am    Post subject:

PHPBBcode make smaller text than IPBcode when you specify text size.

For instance when I posted my news article about source coder on Omnimaga I posted xxr code generated by Kerm old version of his program and some text is really big :|

http://s7.invisionfree.com/Omnimaga/index....dpost&p=5768488

other than that awesome work Kerm on this Smile


Last edited by Guest on 04 Nov 2005 09:30:29 am; edited 1 time in total
Back to top
kermmartian
Site Admin Kemetech


Calc Guru


Joined: 20 Mar 2004
Posts: 1220

Posted: 04 Nov 2005 10:35:49 am    Post subject:

1. Kevin - I added an IF-specific box.
2. Supergoose: fixed the items out mentioned.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 04 Nov 2005 06:34:35 pm    Post subject:

That's pretty cool! Really helpful with managing the downloads archive when I don't want to go to the trouble of loading files onto my calculator (I used to use the unfinished version, but that had some... quirks)

Only (little) problem that I see, and yes I know I'm picky, but could you replace things like [xhat] with the appropriate symbol (either Unicode if there is one or an image)?
Back to top
kermmartian
Site Admin Kemetech


Calc Guru


Joined: 20 Mar 2004
Posts: 1220

Posted: 05 Nov 2005 07:07:58 pm    Post subject:

Sir Robin wrote:
That's pretty cool! Really helpful with managing the downloads archive when I don't want to go to the trouble of loading files onto my calculator (I used to use the unfinished version, but that had some... quirks)

Only (little) problem that I see, and yes I know I'm picky, but could you replace things like [xhat] with the appropriate symbol (either Unicode if there is one or an image)?
[post="60563"]<{POST_SNAPBACK}>[/post]


I hope to complete the images tomorrow and also add .8*m and .8*l support (matrices and lists)
Back to top
DJ Omnimaga
http://i-lost-the-ga.me


Calc Guru


Joined: 14 Nov 2003
Posts: 1196

Posted: 05 Nov 2005 07:41:35 pm    Post subject:

D00D PLZ 4DD z80 63|\|3R470R 0R DI554553/\/\813R 50 \/\/3 C4/\/ \/I3\/\/ 45/\/\ 50|_|R(3 4ND h4x0r D00RC5 5.0 !!!1!1!111one

Last edited by Guest on 05 Nov 2005 07:42:35 pm; edited 1 time in total
Back to top
Weregoose
Authentic INTJ


Super Elite (Last Title)


Joined: 25 Nov 2004
Posts: 3976

Posted: 05 Nov 2005 08:04:04 pm    Post subject:

Translation: Dude, please add z80 generator or disassembler so we can view asm source and hack DoorCS 5.0!

Please avoid Leetspeak, only because some people are either incapable of reading it, or too lazy to try.

It's virtually the same concept as not writing out a post in, say, Hungarian. Smile


Last edited by Guest on 05 Nov 2005 08:04:25 pm; edited 1 time in total
Back to top
kermmartian
Site Admin Kemetech


Calc Guru


Joined: 20 Mar 2004
Posts: 1220

Posted: 06 Nov 2005 06:12:27 pm    Post subject:

I'm actually considering that.

**ADDED FORMATS:**
:: Real lists
:: Complex lists
Back to top
MathStuf


Newbie


Joined: 22 Jul 2005
Posts: 24

Posted: 06 Nov 2005 11:04:36 pm    Post subject:

I have a script semi-related to this (it's a little more programmer and graphics oriented, but it can help). It can interlace, flip, invert, change from C<->ASM, go from byte<->word<->dword (char<->short<->long for C programmers) for B/W and 2-plane grayscale sprites of any size (with an integer bytewidth, i.e. a multiple of 8 in pixels). It can even do multiple sprites at once. Link: http://nerdyproductions.sobertillnoon.com/...ams/sprites.php
I made it to help me interlace sprites for my current project, but it has evolved from there. It converted 300+ 16x16 grayscale sprites from CalcGS (z80 format and in chars) to interlaced shorts for C in about 5 minutes (even with my slow computer).
Back to top
Brazucs
I have no idea what my avatar is.


Super Elite (Last Title)


Joined: 31 Mar 2004
Posts: 3349

Posted: 06 Nov 2005 11:51:36 pm    Post subject:

Good Idea [click]

I'll get that file parsing working...


Last edited by Guest on 06 Nov 2005 11:53:14 pm; edited 1 time in total
Back to top
kermmartian
Site Admin Kemetech


Calc Guru


Joined: 20 Mar 2004
Posts: 1220

Posted: 07 Nov 2005 09:21:13 am    Post subject:

Hehehe...I love when people copy me. Very Happy j/k

Oh yeah, and I just added string support.


Last edited by Guest on 07 Nov 2005 09:21:31 am; edited 1 time in total
Back to top
Brazucs
I have no idea what my avatar is.


Super Elite (Last Title)


Joined: 31 Mar 2004
Posts: 3349

Posted: 07 Nov 2005 01:13:02 pm    Post subject:

I didn't know you were doing this too...
I had the idea when Sir Robin wondered what the ΓΌ was ().

Well, I'm done with this, but I'll keep it up for pity sake (and I guess the ASCII converter's kinda cool too).


Last edited by Guest on 07 Nov 2005 01:37:46 pm; edited 1 time in total
Back to top
kermmartian
Site Admin Kemetech


Calc Guru


Joined: 20 Mar 2004
Posts: 1220

Posted: 07 Nov 2005 10:02:30 pm    Post subject:

Yeah, the ASCII think rox.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement