Over the past several months, I have been working on the second generation of the wildly popular SourceCoder, SourceCoder 2. For those unfamiliar with it, SourceCoder is an online webapp that can parse a wide variety of TI graphing calculator files into human-readable format. In other words, it generates source code in HTML, ASCII, phpBBcode, and IFBBCode from programs, lists, matrices; .gifs from pictures, and composite files from groups. SourceCoder 2 builds on many of the suggestions received after SourceCoder was featured on ticalc.org (article), especially requests to make it a full-featured online IDE for TI-BASIC programs. SourceCoder now does that and more. When you first go to SourceCoder 2, you should notice the cleaner, more useable and feature-rich interface at your fingertips. You can upload a file, choose whether to optimize it, or choose to highlight syntax. The syntax highlighter was a feature ported from optiBASIC, while the optimizations are all created by me from several TI-BASIC optimization guides around the internet. At the bottom of the page, guests will see a message asking them to log in, while members see a My Projects section. This essentially allows people to create, edit, view, save, and modify TI-BASIC projects online without ever touching a calculator. Best of all, SC2 now includes a recompiler that can generate valid .83p and .8xp files from ascii files generated by SourceCoder. Please feel free to test it out and help me find bugs. I'll be adding help files and tooltips throughout SC2 and gradually making the virtual TI-83+ next to the file edit block workable. At the moment some of the javascripting (ie the virtual TI related code) is FF-guaranteed only, so IE users may have to type out code by hand. Also have fun with the My Projects and Exporter features. At the moment, there is only a single known serious bug, where the %optimization of optimized programs may be incorrectly reported.

SourceCoder 2 Beta 2
http://www.cemetech.net/projects/basicelite/sourcecoder2.php
Well, crud, beat me to it. Smile

Good job, and I will try to check it out soon...
Wow, I'm glad this is still continuing even after Brazucs' retirement from it. Works great so I decided I would try to make it crash as best I could (to sort of test it). So I decided to open an asm program in it. It displayed it just as it would on the calc, with all the crazy commands. Perhaps it would be better if it couldn't open ASM programs, like if the first 2 bytes are the Asmprgm token then it refuses to open it? Also I couldn't get the virtual calc to work. I am using Firefox. I would save the file and revert to view, but I couldn't really use the calculator at all. It just had a blank screen (even after I turned it on). Maybe you could make a short tutorial on how to use it? Because I tried, but I couldn't figure it out. Confused

Otherwise, it's looking great. I think I will switch to writing BASIC programs on SC2 from now on (even though i don't really program that much in BASIC anymore). Very nice job Good Idea
Kerm Martian wrote:
I'll be adding help files and tooltips throughout SC2 and gradually making the virtual TI-83+ next to the file edit block workable.
Smile Only [2nd][Y=] and [2nd][ON] work so far. The only thing to be aware of is that some of the tokens have to be in the proper lower/upper case to be recognized.

http://s4.invisionfree.com/TIFreakware/index.php?showtopic=300
http://kvince83.tengun.net/maxboard/viewtopic.php?t=1669
http://www.unitedti.org/index.php?showtopic=4745
what happens if someone wants to use [Box] in a string instead of the box itself.....

maybe you should use Unicode characters.
Ummm, go to the editor and type {box}{cross}{dot}, then Revert to View.
KermMartian wrote:
Kerm Martian wrote:
I'll be adding help files and tooltips throughout SC2 and gradually making the virtual TI-83+ next to the file edit block workable.
Smile Only [2nd][Y=] and [2nd][ON] work so far. The only thing to be aware of is that some of the tokens have to be in the proper lower/upper case to be recognized.

Woops, sorry I missed that. Waht about the asmprogram recognition thing? Do you think that you could/should incoorporate that?
I could do that. It would still miss some programs, specifically the data files used by ion programs et al.
Hey Kerm, the ClrHome token won't work. Instead of creating a token, SC just pastes a series of characters in the program, which return an Err:Syntax.
Are you sure that you're typing ClrHome and not clrhome or Clrhome? If you're sure you're typing ClrHome, I'll check it out.
I typed ClrHome, and when that didn't work I tried Clrhome. Neither of them work, so it is a problem with the ClrHome token.
Known bugs:
>>ClrHome
>>solve( shows as root(
>>Need to check last-2-lines-clip error
  
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 1
» 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