This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - PT_
Glad to hear that you are picking up ICE, it's rather easy but powerful, and in my opinion, easy to learn If you have any questions, post in the ICE Compiler thread, make a seperate topic with the question (be sure to tag me with @PT_ since I don't see all the topics). Also, you can visit http://ice.cemetech.net, which redirects you to a page with some useful information (I still need to add more information to that lol)
« on: May 13, 2017, 03:34:55 pm »
No, that is because ICE didn't had the possibility to interact with BASIC programs, but now you can.
Time for some quick updates about my C version: I've implemented all the operators, and added code for functions, which work fine, I only need to add them Chaining things also work, so the only thing I need to do is doing weird stuff with C functions and get that working
OMG does this mean external saves are now supported? Also does it set to real vars?You can now store integers to the real BASIC variables A-theta
« on: May 08, 2017, 04:03:47 pm »
I've added SetBASICVar( which... sets a BASIC variable!
« on: May 01, 2017, 09:24:59 pm »
So well, yeah, time for some updates, or whatever you call it. As you might already know, I'm recreating ICE in C to make development faster, and easy add new features. This is coming along very well, I need to say. Currently numbers, variables, operators and parenthesis are supported (still need code for every operator), and more are coming soon. However, I'm running into a huge problem, and that are C functions. They are not like 'normal functions', such as not( and remainder( and so on. For the last type of tokens, I just add code for every possible argument type(s), rather than using the stack, like C functions need. However, this method simply doesn't apply to C functions, as they are supposed to take the input (arguments) from the stack, not registers etc. Thus, with the Shunting Yard Algorithm I'm doing, it is VERY hard to add C functions, and I'm not sure yet how to solve this. Let's take a look at some example:
Now let's take my last example. If I just parse them as normal, first the "+" is parsed, so X+2, but since the output isn't used in the next 2 elements (as an operator or function), the output is pushed to the stack, and that is where problems arise, it should not even parse the +. First 3, then 2, then 1 should be pushed, afterwards X+2 parsed and pushed, then the det( function will be called.
Again, I've no idea how to solve this, and I'm open for any ideas!
Progress: I've added icon and description support:
« on: April 21, 2017, 08:13:51 am »
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 "//" in front of the line, the same as in with BASIC.
As far as we know, there is only 1 thing to mention:
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!
« on: April 18, 2017, 09:31:23 pm »
So I decided to take a break with this project. I've currently too many things around, my study isn't going well, and I've a lot of programming projects going. Since this project is pretty hard, and I need to overcome some hard things, I decided to move away from this. Don't worry, of course I will still keep it, in case I'm less busy, and I'm in the mood again to work on this!
Situation: my dad wants to host a paid service, where people can pay for his own music to listen online. However, they should not have the possibility to download them, because the service is paid. I tried several tricks to hide them, or making it really hard to find. I tried htaccess, but if I then block the MP3, <audio> doesn't work anymore, so that doesn't help. Another idea was to copy the MP3 to a temp folder, load it in the <audio> tag, and then immediately remove the folder, but I can't get that working yet + an experienced person can easily remove the JS code to remove the folder. Also, in HTML5, there is an option to download the MP3 IMMEDIATELY. I can remove that with CSS, but again, an experienced user can display it again, and download it.
@c4ooo said I can maybe stream it, so downloading them second by second, which might work, so I might give that a try.
Any more ideas?