Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
ICE Support Added to SourceCoder 3
Published by PT_ 2 years, 9 months ago (2017-04-20T20:27:13+00:00) | Discuss this article

We are more than happy to announce that the online TI-BASIC editor and IDE SourceCoder 3 gets an upgrade again. You have now the possibility to compile ICE programs online, rather than doing it on-calc! The syntax is basically the same as TI-BASIC, but you don't need a "Then" for indentation. While the highlighting is exactly the same, except the commands of course, we are still working on a nice styling system for ICE, to make it even easier to write programs! But, you say, why can't we use the TI-BASIC section of SourceCoder 3? That is very simple: ICE has a lot of graphic commands, imported from the C libraries, and replaced them with det(XX..). From now on, you don't need to remember this anymore, you can just directly type "FillScreen(255)" for example!

In the sidebar you can see some groups, which are the same groups as listed in commands file of ICE Compiler, to make it even easier! Also, you can easily add comments as well, in order to explain variables or routines to yourself. You can do this by placing [i] (the imaginary i) in front of the line, the same as in ICE.

As far as we know, there are 2 bugs we need to overcome:
  • There is a graphic command "End", but BASIC itself also has an "End". Therefore, I removed the graphic command "End", so typing in "End", gives you the token End, not det(1).
  • Since the token for comments is the same as the token for the output program, you can't add the output name, because that will be commented as well ;).

Anyway, we hope that this makes development of ICE programs much easier, and we are happy to receive feedback and or questions/comments about this!

Launch Tool:
SourceCoder 3 Online TI-BASIC, ASM, and C Editor and IDE



Many thanks to KermMartian for helping me in this process, correcting me when needed, and moving it to the real website!

Permalink

Advertisement