Author Topic: BexIDE -- An Axe/(Extended) BASIC Mini-IDE  (Read 36544 times)

0 Members and 1 Guest are viewing this topic.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #75 on: January 06, 2012, 11:28:11 pm »
Yup, 4 hex characters come first.  I forgot if its width then height, or height then width, but it shouldn't matter if you're editor is for square sprites :P

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #76 on: January 06, 2012, 11:31:16 pm »
Well it's not just squares lol. I think I just locked the rows/columns so they HAD to be multiples of 8, so there could be a 16x8 sprite. Oh well, though. I can mess around with Bitmap for a couple of minutes if necessary lol.

Thanks, though, Quigibo. And you too, epic7. You've helped add a feature :D haha

EDIT
Spoiler For the work policy I'm going by for BexIDE right now:

« Last Edit: January 07, 2012, 12:18:18 am by BlakPilar »

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #77 on: January 07, 2012, 07:49:39 pm »
:D
* epic7 visits memegenerator.net
SO I CAN MEME-IFY ALL THE THINGS!

Offline Wellen

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +7/-2
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #78 on: January 08, 2012, 08:26:07 am »
Just one problem, imo :
When programming in Axe, the code-folding is a little bit buggy/weird, because the 'Then' token is not needed in the If statements, and so If statements are not detected..
And so something like
Code: ("Axe") [Select]
Repeat getkey(15)
If A=5
A->C
Else
B+42->C
End
End
Is sumed as
Code: ("Axe") [Select]
Repeat getkey(15) [...]
End
instead of
Code: ("Axe") [Select]
Repeat getkey(15)
If A=5 [...]
End

Don't know if you can do anything about that (like detect if there's a header at the beginning or what.. don't know at all how to do that ;D)
But, yeah, just wanted to tell ya.

Anyway, great project, I use it more and more :D
-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot ;)
Spoiler For Feat. Loulou54:
Spoiler For Projects:
Spoiler For Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler For Ti-Basic:
Spoiler For Soko-Ti, a sokoban game in Ti-Basic:

Spoiler For Memory:

Downloads here.

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #79 on: January 08, 2012, 02:42:15 pm »
Ahh, thank you! When opening files the folding is buggy (but that's a problem on the editor's part, not mine). I actually just changed it so that it will recognize whether to fold for Axe or BASIC, so that's fixed for 1.2! :D

Thanks!
« Last Edit: January 08, 2012, 03:01:38 pm by BlakPilar »

Offline Wellen

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +7/-2
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #80 on: January 08, 2012, 04:08:40 pm »
Oh and another question, will you implement incrementation indentation, after all the things ya have to do ? :)
Ain't really that essential, but it looks good ^^
« Last Edit: January 08, 2012, 05:17:21 pm by Wellen »
-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot ;)
Spoiler For Feat. Loulou54:
Spoiler For Projects:
Spoiler For Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler For Ti-Basic:
Spoiler For Soko-Ti, a sokoban game in Ti-Basic:

Spoiler For Memory:

Downloads here.

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #81 on: January 08, 2012, 04:11:47 pm »
Hmm... I'm not quite sure what you mean by "incrementation."
« Last Edit: January 08, 2012, 04:18:56 pm by BlakPilar »

Offline Wellen

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +7/-2
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #82 on: January 08, 2012, 04:19:53 pm »
Oh, sorry, I meant
replace
Code: [Select]
Repeat getkey(15)
If A=5
A->C
Else
B+42->C
End
End
with :
Code: [Select]
Repeat getkey(15)
   If A=5
      A->C
   Else
      B+42->C
   End
End

Also what's the word for that ? huhu
« Last Edit: January 08, 2012, 04:22:53 pm by Wellen »
-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot ;)
Spoiler For Feat. Loulou54:
Spoiler For Projects:
Spoiler For Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler For Ti-Basic:
Spoiler For Soko-Ti, a sokoban game in Ti-Basic:

Spoiler For Memory:

Downloads here.

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #83 on: January 08, 2012, 04:24:57 pm »
Oh, indentation. That wouldn't be hard. Do you mean auto-indentation? Where if you type in Repeat getKey(15) and hit enter it automatically changes it to
Quote

Repeat getKey(15)
  |
End
Where | is the cursor?

Offline Wellen

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +7/-2
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #84 on: January 08, 2012, 04:29:58 pm »
Yep, that's exactly it :)
Also, when opening a file, which has already been written in another IDE or on-calc, would it be possible to indent the whole code ?
« Last Edit: January 08, 2012, 04:37:45 pm by Wellen »
-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot ;)
Spoiler For Feat. Loulou54:
Spoiler For Projects:
Spoiler For Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler For Ti-Basic:
Spoiler For Soko-Ti, a sokoban game in Ti-Basic:

Spoiler For Memory:

Downloads here.

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #85 on: January 08, 2012, 04:37:49 pm »
Also, when opening a file, which has already been written in another IDE or on-calc.

I knew you were going to say that ;) that'd require me to do some post-opening editing (to indent everything correctly), but I don't think it would be too hard. Would it be better on-calc to have the tabs replaced by zero, one, or more spaces?

Offline Wellen

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +7/-2
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #86 on: January 08, 2012, 04:46:11 pm »
I knew you were going to say that ;)
:D

Would it be better on-calc to have the tabs replaced by zero, one, or more spaces?
I think replaced by zero, because of the lack of space on the screen :)
-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot ;)
Spoiler For Feat. Loulou54:
Spoiler For Projects:
Spoiler For Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler For Ti-Basic:
Spoiler For Soko-Ti, a sokoban game in Ti-Basic:

Spoiler For Memory:

Downloads here.

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #87 on: January 08, 2012, 04:50:46 pm »
Alrighty then. In Bex, is 2 spaces acceptable for a tab? If you press TAB it will still insert the tab character, but it would only display it as two spaces. Is that enough, or should I go for the standard 4 (or some other number)? (Example attached)
« Last Edit: January 08, 2012, 04:51:09 pm by BlakPilar »

Offline Wellen

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +7/-2
    • View Profile
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #88 on: January 08, 2012, 04:58:19 pm »
Imo, 2 spaces are good..

If you have 4-spaces-indentation, and a lot of loops into each other, you'd have to scroll horizontally, could become boring XD

But I'm not the only one who decides :)
-/...././/--./.-/--/.
I'm french, so please feel free to correct my bad english, it'd help me a lot ;)
Spoiler For Feat. Loulou54:
Spoiler For Projects:
Spoiler For Axe:
Ti-Lock : Lock your calc before turning it off               [XXXXXXXX--] 80%
Spoiler For Ti-Basic:
Spoiler For Soko-Ti, a sokoban game in Ti-Basic:

Spoiler For Memory:

Downloads here.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: BexIDE -- An Axe/(Extended) BASIC Mini-IDE
« Reply #89 on: January 08, 2012, 04:58:40 pm »
I think two would be better in this case because you can get pretty deep in nested loops/conditionals in TI-BASIC.