Since the early day of SourceCoder, when SourceCoder v1.0 was featured on ticalc.org in November 2005, it has gone through many iterations and changes. That first version was capable merely of parsing and showing the code for TI-83 and TI-83+ programs and a few other sundry formats, like images and lists. Since then, myriad additions have been made, from allowing users to edit programs online and then reconvert them to .8xps, to syntax coloring and rudimentary optimization, to a Javascript virtual "calculator" keypad to make finding tokens easier, to a postbot that takes the PasteBin concept one step further and can actively participate in optimization and debugging discussions. Recent discussions in the past week or two started by newcomer pilotmm and long-time community member Galandros prompted me to complete quite a few unfinished to-do items on the project, as well as make some long-overdue updates to the general user experience. Among the most significant changes since SourceCoder v2.0:

:: Completely re-styled virtual calculator keypad, now much spiffier and with complete menus including VARS and CATALOG.
:: From the editor, users can now specify whether output .8xp files should be edit-locked or unlocked, and whether each file should be marked for storage in RAM or Archive.
:: Cleaner and more concise SourceCoder start page, with better-functioning project tools.
:: Short sharing links available directly from the start page for easy copy/pasting to fora.
:: TI-84+ MathPrint tokens now supported.
:: Many updates and fixes to previous missing and poorly-translated tokens, both for source viewing and editing.
:: Improved "pretty" code for viewing to "functional" code for editing conversion
:: SourceCoder 2 postbot takes one to two seconds to post on community fora, down from 30-40 seconds per update.
:: Improved handling of automatic code indentation

Please give it a gander, let me know about any comments, suggestions, praise, or criticism that you have, and I hope it will become (or continue to be) a valuable tool in your TI-BASIC (or Axe?) programming arsenal. Here is a sample shared project; have fun.

Links
SourceCoder 2.5 (http://sc.cemetech.net)
Direct link to online editor

SHARED
KermMartian has just edited this program. The source code now reads:
BASIC Code wrote:
:Kerm Martian: Welcome, add stuff below this.
:Disp "LoLz"
:You're supposed to add your name, Kllrnohj.
:Never!
:<- why doesn't it add the ":" anymore on return key?
:<- and where's the line number loving?
:That was too buggy and noncross-browser (Kerm)
:**** the n00bs.
:If you insist.  I'd rather not though.
:Kerm: Hi UTI!
:Kerm bids all of you a solemn hello on this momentous historical occasion.
:Second test.
:Does it work now?
:Quotes should now be operational.
:And now non-ascii characters should be kosher.
:I think I overwrote you, elfprince13. :D
:Yet another test.  This checks dynamic forum abilities.
:Testing that again...
:Final test of :) :( ignoring :D smiley-like :lol: combos.
:Welcome TI-Freakware!  SC2 now online on 4 sites.
:Sorry to do this again, I'll have to fix the font sizes.
:Output(1,1,"DDR!
:Lbl 1
:Goto 1
:Wonder if this will work for me now or not....
:hi omnimaga
:working now?
:size recheck here
:this should post at cemetech now...
:So welcome to SC2, Revsoft!
:Disp "Now Live with SourceCoder 2"
Generated by SourceCoder, © 2005-2010 Cemetech
This is an automatic post from SourceCoder 2. Report abuse to admin@cemetech.net . You can disable these posts by unchecking the "Post on Update" box in the file's permissions.
Next step for SC: adding a list of the "illegal" tokens like alpha, Chi-without-squared, etc.
Xeno_Cre8or wrote:
Next step for SC: adding a list of the "illegal" tokens like alpha, Chi-without-squared, etc.
Well, you can see them in programs that SourceCoder edits, but I guess it didn't occur to me that people might want to type them into their programs as well. Should I add that as a menu on the calculator, or a separate box?
KermMartian wrote:
Xeno_Cre8or wrote:
Next step for SC: adding a list of the "illegal" tokens like alpha, Chi-without-squared, etc.
Well, you can see them in programs that SourceCoder edits, but I guess it didn't occur to me that people might want to type them into their programs as well. Should I add that as a menu on the calculator, or a separate box?


How 'bout by pressing ALPHA-STAT?
Hey, KermM. Perhaps the copyright codes could link to http://sc.cemetech.net rather than the long URL Confused
comicIDIOT wrote:
Hey, KermM. Perhaps the copyright codes could link to http://sc.cemetech.net rather than the long URL Confused
Fascinatingly enough, all the code that it generates in SourceCoder itself now does that. Unfortunately, I forgot to change the post bot to have the same. Smile
Suggestion: When not using the code from HTML, ASCII, phpBBCode and InvisionBBCode, the copyright should still be appended at the end of the code and encourage people to include it. A lot of people just copy that version of the parsed code on forums.

Also SMFBBCode should be added since both phpBBCode and InvisionBBCode won't parse correctly on Omnimaga. (it's the only SMF TI board but there are a lot of SC users there)
DJ, good point, I'll double-check that all the necessary token translation is happening. ComicIDIOT, I changed that long link to sc.cemetech.net.

In other news, I spent about six or seven hours today learning about the backend of SMF and getting SourceCoder 2.5 to be able to post on SMF boards. On the practical side, this means that SourceCoder 2.5 will now work properly with Omnimaga, for example, and any other SMF boards that may get introduced to the community in the future. The full list of fora where SourceCoder has accounts and knows how to post:

>>http://www.cemetech.net/forum/
>>http://www.unitedti.org/
>>http://kvince83.tengun.net/maxboard/
>>http://s4.invisionfree.com/TIFreakware/
>>http://tifreakware.ath.cx/
>>http://www.omnimaga.org/
>>http://www.revsoft.org/phpBB2/
>>http://www.alex10819.com/forums/
>>http://rancidmoose.unitedti.org/forum/
Nice, I'm glad it can post on all those Smile

Now to figure out how to actually use this feature with new projects x.x
DJ Omnimaga wrote:
Nice, I'm glad it can post on all those Smile

Now to figure out how to actually use this feature with new projects x.x
I'll add this to the help file. The steps:

1) Create a new project. Add code to it.
2) Save it to your projects.
3) In the main SourceCoder page, select your project, and click Permission
4) If you want it to be open for collaboration, choose some combination of View: Everybody and Edit: Everybody.
5) Save and return to the main page, and you'll have an XPI link to post.

If you have that link in a topic, anyone who clicks the link, makes edits, and saves will have their edits posted to that topic. Of course, in Permissions there's a box to check if you just want to share code and you don't want the bot to post on updates.
What do I do in that page?

http://www.omnimaga.org/index.php?action=dlattach;topic=3474.0;attach=1673;image

EDIT: nvm, they are completly at the bottom below SAX. It might be nice to improve the cross-browser compatibility a little bit Razz

EDIT: Well, regardless of if the box is checked or not, I do not see any link for the forum post anywhere. :/
DJ Omnimaga wrote:
Well, that's quite broken indeed. Let me go stare at that.

DJ Omnimaga wrote:
EDIT: nvm, they are completly at the bottom below SAX. It might be nice to improve the cross-browser compatibility a little bit Razz
Yup, but I must say, Opera is the only browser that seems to have major issues with Cemetech in general.

DJ Omnimaga wrote:
EDIT: Well, regardless of if the box is checked or not, I do not see any link for the forum post anywhere. :/
Once you set either view to Everyone or edit to Everyone, and return to http://sc.cemetech.net, you'll see the link in a little input box next to your project.

EDIT: I think I fixed the page; there was a </span with no closing angle-bracket. Can you verify that it's fixed in Opera, and additionally, that you're able get the link for a project?
Ok I got a link, but then what do I do with the link? How do I specify which thread in particular on Omnimaga I want the bot to post in?

Also I noticed a parsing issue when opening my project. The code I had:


Code:
:TEST
ClrHome
changed to

Code:
:TESTbr /ClrHome
Just post it in any topic, then when people click the link from that topic, it will know to post in that same topic. You never explicitly specify the topic to post in. And I will look into that parsing error.

Edit: DJ_Omni, I can't seem to replicate your problems, although I did see the saved project in the database. Can you tell me how you managed to make that happen?
Possible suggestions:

Allow for 73 and 82 programs to be read and exported.

Project Folders. I would like to be able to organize my projects a bit better, if possible. Being able to move a file from one folder to another would be nice, as I would like to be able to share one program to compare another.

Umm, that's it I think.

Edit:

Being able to access appvars would be wonderful

Also, bit of a bug.

Go into your project, open it up in the editor, and then click 'Revert to View'
The revert to view ginormity is because I'm working on fixing that right now. Smile
Ah, well. See? I'm paying attention. XD
KermMartian wrote:
Edit: DJ_Omni, I can't seem to replicate your problems, although I did see the saved project in the database. Can you tell me how you managed to make that happen?


Same here. Maybe it's specific to Opera?

NOTE: This post is a duplicate of the one posted on Omnimaga.

EDIT: Tried it again, but this time, when I pressed [tt]Revert to View[/tt], a bunch of errors came up that implied that the linebreak was translated as [tt]<br>[/tt].
I don't think all of those boards are still operational Wink I know as a fact that mine and Maxcoderz (at least at the kvince address) are not.
  
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
Page 1 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement