For over a month, as first reported this past Christmas, the TI-BASIC editor and IDE SourceCoder 3 has been back under development. An upgrade of the aging SourceCoder 2 project, it incorporates all of the features from the older tool and adds many new features, wrapped up into a spiffy web application. Spurred by feature requests from the community and newly-feasible technical aspects, I have implemented features like command completion, argument hinting, a sprite editor, and much more. SourceCoder 3 can edit programs, lists, matrices, appvars, strings, pictures, images, and more.

In fact, here's a fairly complete list of the currently functioning features in SourceCoder 3:
:: Editing TI-BASIC programs for the TI-83 Plus/TI-84 Plus and the TI-84 Plus C Silver Edition, Axe programs, and Grammer programs.
:: Syntax highlighting for TI-BASIC, Axe, and Grammer programs.
:: Command completion for TI-BASIC commands and some Axe commands by typing the beginning of a command and pressing Ctrl-Space.
:: Argument hinting and command explanations for TI-BASIC and some Axe commands. For example, typing "seq(" displays the arguments to the seq( function, followed by a brief explanation of what the seq( command does. Thanks to Deep Thought and TI respectively for transcribing and creating these descriptions.
:: Sprite editor for monochrome, 3- and 4-level grayscale, and 16-color TI-BASIC and Axe sprites. You can edit existing sprites in programs or create new sprites.
:: Loading, editing, and saving lists and matrices, including importing from and exporting to CSV files that can be used by many numerical programs including Excel and Matlab.
:: Importing and exporting Picture and Image formats for the monochrome and color calculators, allowing you to save calculator images as computer images and convert computer images to be viewable on your calculator.
:: Embedded jsTIfied calculator emulator can emulate the TI-73, TI-81, TI-82, TI-83, TI-83 Plus/SE, TI-84 Plus/SE, TI-84 Plus C Silver Edition, TI-82 Stats.fr, TI-76.fr, and TI-83 Plus.fr. You can send files or projects directly from SourceCoder to jsTIfied and from jsTIfied to SourceCoder, allowing you to test out your programs without installing anything on your computer.
:: Export strings, AppVars, and programs as syntax-colored HTML or BBCode, allowing programs to be posted on personal or school websites or shared on forums.
:: Projects that include one or more programs, appvars, strings, lists, matrices, and real numbers can be stored in your Cemetech account and opened from SourceCoder on any computer. Projects can be imported from calculator files (.8xp, .8xg, and so on) and exported back to such files.

So what's left before SourceCoder 3 is complete? Of SourceCoder 2's features, counting loop commands in TI-BASIC and indenting code are missing, and will eventually be added to SourceCoder 3. In addition, pictures cannot currently be saved as part of SourceCoder 3 projects. However, given the stability and completeness of SourceCoder 3 in its current form, I will be moving on to my next project and forcing all existing SourceCoder 2 users to switch to SourceCoder 3. Please enjoy SourceCoder 3, tell your colleagues about its many powerful features, and as always, don't hesitate to post bug reports and feature requests in the attached topic.

Access TI-BASIC Editor
SourceCoder 3 TI-BASIC Editor: View, edit and export TI-83 Plus/TI-84 Plus/TI-84 Plus C Silver Edition list, matrix, program, AppVar, picture, string, number, image, and group files

Selected SourceCoder 3 features, clockwise from top-left: command completion, multi-file projects, sprite editor, TI-BASIC editing with command arguments and explanations
Are our existing Sourcecoder 2 files available in Sourcecoder 3? Or do we have to migrate manually?
elfprince13 wrote:
Are our existing Sourcecoder 2 files available in Sourcecoder 3? Or do we have to migrate manually?
Existing SourceCoder 2 files are available in SourceCoder 3. Once you open them, the editor will remind you that they have been converted from SourceCoder 2 projects, and will ask you to double-check that the conversion is correct. Once you save the project, it will be automatically upgraded to a SourceCoder 3 project.
What sorts of hiccups in the conversion process ought we to be alert for?
WFRNG!
SourceCoder 3 (WFRNG) wrote:
::DCS
:"5BBBBB5BB2222BBB5BBBBB5BB2BBB2BB5BB5BB5BB2BBB2BB5BB5BB5BB2222BBBB5B5B5BBB2BBB2BBB5B5B5BBB2BBB2BBBB555BBBB2BBB2BBBBBBBBBBBBBBBBBBFFBBBBFBB99999BBFBFBBBFBB9BBB9BBFBBFBBFBB9BBBBBBFBBFBBFBB9BBBBBBFBBFBBFBB9BB99BBFBBBFBFBB9BBB9BBFBBBBFFBB99999BBBBBBBBBBBBBBBBBB
:Lbl A
:ClrHome
:Disp "NICK DISabaTO'S"
:Disp "NUMbErGUESSInG"
:Disp "PrOGraM"
:Disp ""
:Disp "CHOOSE a nUMbEr"
:Disp "FrOM 1-30"
:Lbl P
:Input A
:Lbl B
: (A>30)+(A<1)->C
:If C
:Disp "OUT OF ranGE!"
:If C
:Goto P
:Lbl C
:ClrHome
:Int (1+Rand30)->B
:Lbl D
:If A=B
:Goto 1
:Disp "NO, THaT'S NOT IT!"
:Input A
:If (A>30)+(A<1
:Disp "OUT OF ranGE!"
:Goto D
:Lbl 1
:Disp "YES! NICK'S"
:Disp "TICaLC.OrG"
:Disp "PaSSWOrD IS"
:Disp "**********"
:Pause
:ClrHome

Anyone mind testing this for me? I used this to see how SC3 might go.
ordelore wrote:
Anyone mind testing this for me? I used this to see how SC3 might go.
As you can see from the syntax highlighting, Pause is not a token (you forgot the space) and Rand and Int should be rand and int respectively. Other than that, it looks good, and it also helped me just discover a bug in the feature that un-pauses jsTIfied when you open the jsTIfied pane in SourceCoder. Smile
KermM, you're doing a great job! jsTIfied and SC3 are fantastic programming tools Very Happy
Kerm: Looks great! one suggestion: Offline mode. Then I could copy it/download it and run it from home. Can't wait to use it some more.
SamTebbs33 wrote:
KermM, you're doing a great job! jsTIfied and SC3 are fantastic programming tools Very Happy
Thanks very much! It makes me much more motivated to feel appreciated.

16aroth6 wrote:
Kerm: Looks great! one suggestion: Offline mode. Then I could copy it/download it and run it from home. Can't wait to use it some more.
Tari pointed me to a Mozilla article on using the Application Cache present in some modern browsers, but that would be more useful for jsTIfied than SourceCoder. All of the tokenization/detokenization is done on the server, so an offline mode would only get you the ability to type on projects while offline.
elfprince13 wrote:
What sorts of hiccups in the conversion process ought we to be alert for?
Some things that I've fixed when I changed 84+ to CSE BASIC programs are:
-StringLength→sum(#
-ExtGroup→det(12

Here are some features I would like to see added to SC3, most from SC2:
-Indents with opening and closing loop checking
-Option to disable syntax color and help
-Option to view and edit characters as they are, for example θ, ʟ, and →
-A keypad resembling the actual calculator, as in SC2
-A place to search the code, with an option for either syntax, variables, or all

Also, isn't
Quote:
The Cemetech, Omnimaga, and ticalc.org users who have thoroughly tested SourceCoder, reported features, and suggested bugs.
suppose to be
Quote:
The Cemetech, Omnimaga, and ticalc.org users who have thoroughly tested SourceCoder, suggested features, and reported bugs.
SC3 greeted me today. Smile It looks cool, though the clipboard in the text window doesn't work the way I expect. Mouse-selecting text (in X) doesn't automatically copy it, and middle-clicking won't paste. Also, it seems I have to manually select Copy from the browser right-click menu to be able to paste something into another application—just Ctrl+C only works within the app. So it's a bit disconcerting.

Would it be possible to make it behave more like a native text control?
FrozenFire49 wrote:
elfprince13 wrote:
What sorts of hiccups in the conversion process ought we to be alert for?
Some things that I've fixed when I changed 84+ to CSE BASIC programs are:
-StringLength→sum(#
-ExtGroup→det(12
I'm seriously considering removing the "optimizations" for hybrid BASIC function names as being confusing and non-cross-subtype. Thoughts?

Quote:
Here are some features I would like to see added to SC3, most from SC2:
-Indents with opening and closing loop checking
-Option to disable syntax color and help
-Option to view and edit characters as they are, for example θ, ʟ, and →
-A keypad resembling the actual calculator, as in SC2
-A place to search the code, with an option for either syntax, variables, or all
- Indents and loop-counting: Those are both on my todo list for the final SC3.0.
- Disable syntax color and help: I was only considering adding an option for disabling the command completion/argument hinting. Do people also want to be able to turn off syntax highlighting?
- View and edit Unicode characters: I'm afraid I'm going to have to decline this one. It was a serious complication of SourceCoder 1.0 and 2.x.
- Calculator keypad: With token searching, I think this is unnecessary.
- Code-searching: Definitely need that.,

[quote[Also, isn't
Quote:
The Cemetech, Omnimaga, and ticalc.org users who have thoroughly tested SourceCoder, reported features, and suggested bugs.
suppose to be
Quote:
The Cemetech, Omnimaga, and ticalc.org users who have thoroughly tested SourceCoder, suggested features, and reported bugs.
[/quote] It was meant to be a joke, but I guess it looks like I wasn't paying full attention to what I was typing (let me tell you a secret: I actually didn't mean to type that). I'll fix that.

Travis wrote:
SC3 greeted me today. Smile It looks cool, though the clipboard in the text window doesn't work the way I expect. Mouse-selecting text (in X) doesn't automatically copy it, and middle-clicking wont paste. Also, it seems I have to manually select Copy from the browser right-click menu to be able to paste something into another application - just Ctrl+C only works within the app. So its a bit disconcerting.

Would it be possible to make it behave more like a native text control?
I use CodeMirror for a vast number of things, including all of the fancy code-completion, argument hinting, and syntax-highlighting features. I was given to understand that it was relatively sane with copy-and-pasting. I am able to Ctrl-A, Ctrl-C within the editor window, and I'm not familiar with middle-click copying or automatic copy-on-highlight. Are other people having these problems?
I've been having a problem that when I right click on some highlighted code in Chrome, it sends me to the bottom of the page, without opening up the right click menu where I can copy, cut, or paste. I can only open this menu if I was already at the bottom of the page.
FrozenFire49 wrote:
I've been having a problem that when I right click on some highlighted code in Chrome, it sends me to the bottom of the page, without opening up the right click menu where I can copy, cut, or paste. I can only open this menu if I was already at the bottom of the page.
Fascinating, I sort of can replicate your problem. Chrome seems to scroll down when I right-click on code, but the menu still opens regardless. I'll see if I can track this down.

Known Bugs:
[ ] Can't properly re-export .8xi/.8ci/.8ca as part of project
[ ] Right-clicking code in Chrome (but not Firefox) makes the page scroll down.

Feature requests:
[ ] Track original type for Pic/Image files and allow storing in project
[ ] Add Add File button in edit view
[ ] Loop-counting
[ ] Indentation (toggleable?)
[ ] Toggleable indentation, syntax highlighting, command hinting?
[ ] DOM Storage-saved preferences for above?
From the zcc hello world topic talking about program names need to be uppercase, what about listening for value changed events on variable names and continuously converting it to uppercase?
AHelper wrote:
From the zcc hello world topic talking about program names need to be uppercase, what about listening for value changed events on variable names and continuously converting it to uppercase?
Because the theta character is spelled out as "theta" in lowercase letters. Smile
hmm, I see, that would cause problems
AHelper wrote:
From the zcc hello world topic talking about program names need to be uppercase, what about listening for value changed events on variable names and continuously converting it to uppercase?
That reminds me: Why is SC3 saving programs like PVPCRAFT, for example, as c-PCRAFT, even with the program name properly being PVPCRAFT.

Also, can there be an option added to let us choose the file destination when a program is downloaded?
1) Glitched name: and the program otherwise appears to be "PVPCRAFT"? I have never seen this glitch before. Can you give me more details for replicating it?
2) File destination: I'm afraid that's up to your browser.
It seems that the only projects of mine that this issue occurs is "PVPCRAFT",its older backup "PVP", and the version of the game that's in the Cemetech Archives. Besides those programs, I don't know how else you could replicate it.
  
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
» Goto page 1, 2, 3, 4, 5, 6, 7  Next
» View previous topic :: View next topic  
Page 1 of 7
» 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