Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: SourceCoder2 on June 12, 2010, 02:16:46 am

Title: SourceCoder 2.5: Updates and Features
Post by: SourceCoder2 on June 12, 2010, 02:16:46 am
(crosspost from Cemetech, http://www.cemetech.net/forum/viewtopic.php?t=4591.  If possible, please poke me at Cemetech, as I check there much more often)

Since the early day of SourceCoder, when SourceCoder v1.0 was featured on ticalc.org (http://www.ticalc.org/archives/news/articles/13/132/132993.html) 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 (http://www.cemetech.net/forum/viewtopic.php?p=99035#99035) in the past week or two started by newcomer pilotmm (http://www.cemetech.net/forum/profile.php?mode=viewprofile&u=1911) and long-time community member Galandros (http://www.cemetech.net/forum/profile.php?mode=viewprofile&u=1328) 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 (http://sc.cemetech.net/?editme=true), 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 (http://sc.cemetech.net), 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 (http://sc.cemetech.net/?xpi=2327410ffd0737bf86b18515107bf4c6); have fun.

SourceCoder 2.5 Links
(http://www.cemetech.net/img/icon/dl.gif) SourceCoder 2.5 (http://sc.cemetech.net) (http://sc.cemetech.net)
(http://www.cemetech.net/img/icon/dl.gif) Direct link to online editor (http://sc.cemetech.net/?editme=true)

(http://www.cemetech.net/img/logo/sourcecoder25.png)
Title: Re: SourceCoder 2.5: Updates and Features
Post by: SourceCoder2 on June 12, 2010, 02:18:48 am
SHARED
DJ Omnimaga has just edited this program.  The source code now reads:
Quote from: BASIC Code
:Disp "Now Live with SourceCoder 2"
:Testing font sizes on Omnimaga / SMF
Generated by SourceCoder (http://sc.cemetech.net), © 2005-2010 Cemetech (http://www.cemetech.net)
This is an automatic post from SourceCoder 2 (http://sc.cemetech.net).  Report abuse to [email protected] . You can disable these posts by unchecking the "Post on Update" box in the file's permissions.
Title: Re: SourceCoder 2.5: Updates and Features
Post by: DJ Omnimaga on June 12, 2010, 02:23:48 am
This is nice to see this updated! However I can't figure out how to post a new project code on a site with the bot. I see no option anywhere in Opera :/
Title: Re: SourceCoder 2.5: Updates and Features
Post by: SourceCoder2 on June 12, 2010, 02:26:53 am
This is nice to see this updated! However I can't figure out how to post a new project code on a site with the bot. I see no option anywhere in Opera :/
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.

Edit: Whoopsies, logged in from the wrong account. >_<
Title: Re: SourceCoder 2.5: Updates and Features
Post by: DJ Omnimaga on June 12, 2010, 02:32:25 am
Ok thanks. Now I have this problem, tho :/

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

EDIT: Well, regardless of if the box is checked or not, I do not see any link for the forum post anywhere. :/
Title: Re: SourceCoder 2.5: Updates and Features
Post by: Galandros on June 12, 2010, 04:28:16 am
Nice features, they look neat and will be of great use.
Title: Re: SourceCoder 2.5: Updates and Features
Post by: KermMartian on June 12, 2010, 10:08:31 am
DJ_Omni, cf. Cemetech for my solutions; a missing character was throwing Opera off, and I never noticed because Firefox and IE both recover from the error more gracefully.
Title: Re: SourceCoder 2.5: Updates and Features
Post by: DJ Omnimaga on June 12, 2010, 02:00:28 pm
test http://sc.cemetech.net/?xpi=1129f8d1bac4362133f63dc36c09a413
Title: Re: SourceCoder 2.5: Updates and Features
Post by: ztrumpet on June 12, 2010, 04:41:59 pm
These are some nice features.  Great job Kerm! ;D
Title: Re: SourceCoder 2.5: Updates and Features
Post by: KermMartian on June 12, 2010, 09:58:26 pm
Thanks ztrumpet! I tried to edit your program, DJ, to no avail. :( Can you check out my post in the mirror topic on Cemetech? I asked how you managed to come up with that br error.
Title: Re: SourceCoder 2.5: Updates and Features
Post by: Deep Toaster on June 12, 2010, 10:52:29 pm
Yay, updates! I noticed you fixed the Y-var <span size=6> problem. This is going to be useful.

test http://sc.cemetech.net/?xpi=1129f8d1bac4362133f63dc36c09a413

It works after I changed it to
:TEST
:ClrHome

instead of
:TEST
ClrHome


Thanks ztrumpet! I tried to edit your program, DJ, to no avail. :( Can you check out my post in the mirror topic on Cemetech? I asked how you managed to come up with that br error.

Same here. Maybe it's specific to Opera?

EDIT: Tried it again, but this time, when I pressed Revert to View, a bunch of errors came up that implied that the linebreak was translated as &lt;br /&gt;.
Title: Re: SourceCoder 2.5: Updates and Features
Post by: DJ Omnimaga on June 12, 2010, 11:46:09 pm
Mhmm, I still don,t get how to send to a topic in particular. I tried saving my project and following the link, and no bot came to post anywhere here :/

http://sc.cemetech.net/?xpi=2f4be41ea5e0cd4814af3881f2cb1229
Title: Re: SourceCoder 2.5: Updates and Features
Post by: SourceCoder2 on June 13, 2010, 01:45:49 am
NAME
DJ Omnimaga has just edited this program.  The source code now reads:
Quote from: BASIC Code
:Output(1,1,"HELLO WORLD!"
:Pause
:ClrHome
Generated by SourceCoder (http://sc.cemetech.net), © 2005-2010 Cemetech (http://www.cemetech.net)
This is an automatic post from SourceCoder 2 (http://sc.cemetech.net).  Report abuse to [email protected] . You can disable these posts by unchecking the "Post on Update" box in the file's permissions.
Title: Re: SourceCoder 2.5: Updates and Features
Post by: DJ Omnimaga on June 13, 2010, 01:49:27 am
Nvm it works now!