Author Topic: Ti Basic Editor  (Read 19082 times)

0 Members and 1 Guest are viewing this topic.

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: Ti Basic Editor
« Reply #30 on: August 30, 2009, 07:43:38 pm »
Oh, it's not.  Actually v0.2 *should* be out by tonight if I can get all the bytes in the right place in the file.  I just haven't made much progress over the last week.  It hasn't been until today I finally figured out how to replace all the vbcrlf's in the main data string, because for some reason .Replace() wouldn't do it. ???  But, now, 1 week later, that I've got that working, like I said before, v0.2 *should be out tonight.  And Necro, your new file you made for me was very helpful.  Don't worry, that was not where the problems lay...
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ti Basic Editor
« Reply #31 on: August 30, 2009, 08:49:48 pm »
I hope you finish it :D
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline necro

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1295
  • Rating: +17/-2
  • +3 vaporal mustache
    • View Profile
Re: Ti Basic Editor
« Reply #32 on: August 31, 2009, 02:22:16 am »
Yay, I was helpful.   :D
I'm like a woot burger with awesome fries


VB.Net, C#, C++, Java, Game Maker

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Ti Basic Editor
« Reply #33 on: September 08, 2009, 09:29:38 pm »
cant wait to try it :)

Offline necro

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1295
  • Rating: +17/-2
  • +3 vaporal mustache
    • View Profile
Re: Ti Basic Editor
« Reply #34 on: September 09, 2009, 12:08:04 am »
If you need anymore help, I dug up my text books for vb and would be willing to try to make a few needed routines.
I'm like a woot burger with awesome fries


VB.Net, C#, C++, Java, Game Maker

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Ti Basic Editor
« Reply #35 on: September 09, 2009, 12:14:43 am »
I hope you finish this :) it will be so awesome once its finished!

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: Ti Basic Editor
« Reply #36 on: September 11, 2009, 11:39:10 pm »
I've been banned from the computer for the last (almost) week, so I haven't really worked on it at all lately.  Still, I feel like showing off what I have so far, so I have attached the installer for current v0.2.

Main Features:
  • Pretty MDI layout  :)
  • Opening of .8xp files
  • Saving of .8xp files (NOTE, this is actually at about 95%.  You can save a file with this and reopen it with it, but because my file size routines, there's about 4 of them for every file, are not quite correct yet, any files you transfer will either time out the link, or give you an invalid file format error.  But if you still want to use it, you can, because once I come out with the next version, you can just open the file and re-save it with the new one and you will be good to go :P )
  • Not much else yet...

Also, you have to type the commands with the exact case as shown on the calculator(eg. "If ", not "IF " or "if ") else it will just come out as those letters.  And if you want to type special charachters, well, TOO BAD! Either get over it, open a file with that symbol in it for copy-pasta, or wait until the version with a symbol palatte comes out.  ;D
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ti Basic Editor
« Reply #37 on: September 12, 2009, 01:05:13 am »
aw sorry to hear :( glad you're back on it now tho ^^
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Ti Basic Editor
« Reply #38 on: September 12, 2009, 08:45:09 pm »
lol hmmm do you think you could eventually add auto token correcting and tab complete?


eg auto    IF becomes if when you press space after the token

eg  tab     iden !tab! identety(  


*geekboy1011 still cant spell lol
« Last Edit: September 12, 2009, 08:51:06 pm by Geekboy1011 »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Ti Basic Editor
« Reply #39 on: September 12, 2009, 09:50:32 pm »
hmmm, i forsee problems with the IF to If.  how would it know IF isn't I*F?  stupid implied multiplication :P

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ti Basic Editor
« Reply #40 on: September 12, 2009, 10:05:11 pm »
True, in TI-Graph link software, when you don't type commands exactly how they should, the software interprets them as 1 letter tokens (lower and upper case)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: Ti Basic Editor
« Reply #41 on: September 12, 2009, 10:30:21 pm »
Also, poeple who wanted to type things like "Then, if you..." or "The end of the..." wouldn't be able to because it would automatically caps 'em so it came out "Then If you..." or "The End of the..." which wouldn't be terrible, but at the same time, it could be very annoying.  I toyed with the same kind of idea, that it wouldn't take any special kind of capitalization for it to come out correctly, but I just saw too many problems in going that route.
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline Tribal

  • The Fallen
  • LV5 Advanced (Next: 300)
  • *
  • Posts: 218
  • Rating: +15/-1
    • View Profile
Re: Ti Basic Editor
« Reply #42 on: September 13, 2009, 02:05:16 pm »
Why don't you have it ignore things inside quotation marks?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ti Basic Editor
« Reply #43 on: September 13, 2009, 10:28:03 pm »
Some program uses BASIC instruction tokens combined together to create words in lowecase. Many basic games did that back in the days before it became widely known that MirageOS has lowercase letter option and some still do to save space. Let's say in your RPG you have a NPC named "Elserand". Well, by using the tokens Else and rand instead of E,l,s,e,r,a,n,d, you saved 13 bytes in optimizing. Because of this, maybe ignoring things inside quotes might not be such a good idea, IMHO (altough you could always let the user the option to choose if he wants them ignored or not)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Ti Basic Editor
« Reply #44 on: September 14, 2009, 12:25:40 pm »
I would recommend ignoring things in quotation marks for now, and then after you get this program working go back and see if you can have it automatically substitute tokens for individual characters in strings.

As for determining whether something is a token or not (that's not inside quotes), what if you used "\" (or some other symbol) to specify that it's not a token (since it's less likely for someone to be using IF [=I*F] than If).  e.g. If IF=7 would be If \I\F=7?

For special characters, you could have something similar to what TI|BD uses on their forums (a box to the side where you can copy the special symbols and paste them in).
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%