Out of the remnants of TI-BBCode Converter, I'm now developing:
opTI-Basic
ASCII Translator and TI-BASIC Code Optimizer
So far, I only have 18 optimization catagories.
If anyone has any more, please post them here!
Clicky for the ones I already have/am working on.
opTI-Basic
Moderator: MaxCoderz Staff
I've been taking a bunch of programs from ticalc, running them through optiBasic, and checking to make sure the functionality's still good. Here's what I got:
optiBasic v0.25α
Program Name: AB-Dome (Battle Dome) V. 0.798
Size Before: 9402
Size After: 9108
Bytes Saved: 294
Program Name: Bob Sled v1.4
Size Before: 4594
Size After: 4510
Bytes Saved: 84
Program Name: Blokzle! v3.0
Size Before: 1906+417
Size After: 1850+397
Bytes Saved: 76
Program Name: The best geometry program for TI83+! v.3.1.0
Size Before: 1403
Size After: 1377
Bytes Saved: 26
Program Name: xLIB xLIB Revolution v. 1.3 (and its level editor)
Size Before: 2968+1029
Size After: 2957+1025
Bytes Saved: 19 (awesome coding, Kevin...)
...and optiB is still in its infancy!!
optiBasic v0.25α
Program Name: AB-Dome (Battle Dome) V. 0.798
Size Before: 9402
Size After: 9108
Bytes Saved: 294
Program Name: Bob Sled v1.4
Size Before: 4594
Size After: 4510
Bytes Saved: 84
Program Name: Blokzle! v3.0
Size Before: 1906+417
Size After: 1850+397
Bytes Saved: 76
Program Name: The best geometry program for TI83+! v.3.1.0
Size Before: 1403
Size After: 1377
Bytes Saved: 26
Program Name: xLIB xLIB Revolution v. 1.3 (and its level editor)
Size Before: 2968+1029
Size After: 2957+1025
Bytes Saved: 19 (awesome coding, Kevin...)
...and optiB is still in its infancy!!
-
- Calc King
- Posts: 2195
- Joined: Sun 27 Mar, 2005 4:06 am
- Location: sleeping
- Contact:
What? I'll never tell you what the optimizations are!!!
Lol, jk
Click. I've done all the ones with checkmarks, but I just found another page full of optimizations, so they should be added soon.
Right now, I'm working on syntax coloring. Click
Test code:
Lol, jk
Click. I've done all the ones with checkmarks, but I just found another page full of optimizations, so they should be added soon.
Right now, I'm working on syntax coloring. Click
Test code:
:"2X Fasttunnel 1.0
7→P
DelVar SClrHome
Output(2,1,">>>>>>>2X<<<<<<<
Output(3,1,"<<<FastTunnel>>>
Repeat Ans=21 or Ans=105
Output(7,1,">----START-----<>-----EXIT-----<
Output(P,2,"
P+(Ans=34 and P=7)-(Ans=25 and P=8→P
Output(P,2,"--------------
getKey
End
ClrHome
If P=8
Return
For(A,1,7
Disp
End
1→P
{0,0,0,2.11→L1
2.13→B
Repeat (iPart(B)=iPart(L1(P)-1)) or (iPart(B)=4+iPart(L1(P))+(fPart(B)=fPart(L1(P)-1)) or (fPart(B)=.04+fPart(L1(P
Disp
Output(5,iPart(B),"V
Output(5,100fPart(B),"V
Output(8,1,"================
L1(P+3-4(P>1
Ans+randInt(-(iPart(Ans)>1),iPart(Ans)<5)+.01randInt(-(fPart(Ans)>.09),fPart(Ans)<.13→L1(P
Output(8,iPart(Ans),"
Output(8,100fPart(Ans),"
P+1-4(P=4→P
getKey
Output(5,iPart(B),"
Output(5,100fPart(B),"
B+.01((Ans=15 and fPart(B)<.16)-(Ans=14 and fPart(B)>.01))+(Ans=12 and iPart(B)<16)-(Ans=11 and 1<iPart(B→B
S+1→S
End
Output(8,1,"SCORE:
Output(8,7,Ans
If Ans>H
Then
S→H
Output(7,4,"NEW HIGH!
End
Output(5,iPart(B),"*
Output(5,100fPart(B),"*
Pause
ClrHome
Optimized by opTI-Basic