Show Posts

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 - Builderboy

Pages: 1 ... 218 219 [220] 221 222 ... 375
3286
TI-BASIC / Re: Circle Graphs
« on: September 07, 2010, 08:28:10 pm »
Somehow i doubt Ti-Cares has ever given an actual answer unfortunately x.x

3287
TI-BASIC / Re: Which one looks better?
« on: September 07, 2010, 08:27:33 pm »
I like the 3rd option :) Looks the most like an actual gun to me

3288
The Axe Parser Project / Re: Axe Parser
« on: September 07, 2010, 08:24:48 pm »
Nested blocks hmmm?  Oh well, i can program it in when i need it ^^ I just thought that assembly naturally did things lice short circuit because it used label jumps to do logic.  So i guess you do logic in a different way?

3289
I believe that when you get an error on compile time, you just press Prgm and it automatically goto's ?

3290
Other Calc-Related Projects and Ideas / Re: Auto Optimization Program
« on: September 07, 2010, 07:50:16 pm »
I know java uses it and its really really useful for checking lists.  Because that way you wont get an error for going out of bounds!

If I>=0 And L1(I)=44

If I is less than Zero (throws an error in java) the second part wont be evaluated and so there will be no error :] makes me feel warm and fuzzy inside ^^

3291
News / Re: 42 ways to prevent a project from dying due to data losses
« on: September 07, 2010, 07:46:49 pm »
I think it might have something to do with the fact that its not just sorting a regular list like us programmers are used to, but it has elements that are different sizes because of different program names, and it has to make room for them all in order to sort them all around.

3292
Other Calc-Related Projects and Ideas / Re: Auto Optimization Program
« on: September 07, 2010, 07:43:39 pm »
Ah yes thats true, hmmm.  Well nothing currently messes inter-expression, but in the future it will definetaly be breaking-esk.  Also, if i ever do implement an Axe optimizer, it wont be able to tell you how many bytes it optimized unless if had a byte table for all the expressions and their equivalents. o.O

3293
TI-BASIC / Re: list equal list if statement
« on: September 07, 2010, 07:41:29 pm »
But i think if you were given a list like that, you could square it and get a polynomial list.  I think any linear list can be transformed into a function if you mess with it enough o.O

3294
Other Calc-Related Projects and Ideas / Re: Auto Optimization Program
« on: September 07, 2010, 07:39:30 pm »
Very Very Very bad.  Although i currently cant think of any optimizations that would break it so badly :P Right now i think any problems would probably just be syntax problems.  And it would erase all the empty lines, which actually doesn't to anything to the axe programs at all XD

3295
The Axe Parser Project / Re: Axe Parser
« on: September 07, 2010, 07:36:18 pm »
So Quigibo, does Axe use short circuit logic?  Or does it purposefully evaluate every single argument of every if Statement?

3296
Other Calc-Related Projects and Ideas / Re: Auto Optimization Program
« on: September 07, 2010, 07:34:37 pm »
Short circuit logic is something i am going to post about in the Axe topic shortly, but basically its this, say you had an if statement:

Code: [Select]
If A and B
and if A happens to equal 0, the program doesn't even evaluate B, because it knows that there is no way for the statement to be true.  This is *faster* if A is false a lot of the time, because that means that B is not even evaluated most of the time.  So for my program, every optimization has a trigger token that needs to be present for the optimization to happen.  First, it checks to see if the current token is that token, if its not, it just moves on and doesnt do any more math.  If it IS however, thats when you start checking for more tokens around it.  You can do this for OR too: 

Code: [Select]
If A or B
if A happens to be true, the program doesn't even evaluate B again, because it knows that no matter what, the expression cannot be false.

Now, i dont know if Axe does something similar to this, but there are ways to Program it in, for example.

Code: [Select]
If A and B
Code
End

becomes

Code: [Select]
If A
If B
Code
End
End

and

Code: [Select]
If A or B
Code
End

becomes

Code: [Select]
!If A
Goto L
!If B
Goto L
Code
L

(And i might not skip axe programs in the future ;) )

3297
Other Calc-Related Projects and Ideas / Re: Auto Optimization Program
« on: September 07, 2010, 07:24:34 pm »
Ah good idea, i also have to get it to ignore Axe programs (for now! >:D) or else it might 'optimize' them so that they didnt work XD

As for a next update, hopefully sometime this week :) I shouldn't be too busy

3298
TI-BASIC / Re: list equal list if statement
« on: September 07, 2010, 07:22:38 pm »
Interesting...  And somehow you can use this for any combination of sequences?

3299
News / Re: 42 ways to prevent a project from dying due to data losses
« on: September 07, 2010, 07:15:38 pm »
MirageOS 1.1 took 4 hours to sort 90 sub-programs

Whaaat?  really?  That is just no good at all :(

3300
Site Feedback and Questions / Re: Slow posting loading speed
« on: September 07, 2010, 07:13:52 pm »
I really havent noticed any lag at all :D

Pages: 1 ... 218 219 [220] 221 222 ... 375