Author Topic: [WIP][AXE] HammerIDE for Axe : a good coding efficiency increase !  (Read 14489 times)

0 Members and 1 Guest are viewing this topic.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #15 on: November 16, 2012, 06:24:28 am »
is this compatible with the regular program editor?
I'm not a nerd but I pretend:

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #16 on: November 16, 2012, 09:20:03 am »
I believe it is an alternative, though this one is specifically for AXE.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #17 on: November 16, 2012, 09:26:10 am »
I believe it is an alternative, though this one is specifically for AXE.
I think the question was more "can sources produced with this IDE still be opened with the regular editor ?" ;)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #18 on: November 16, 2012, 09:37:26 am »
Ahh, if that's the case i don't see why not. Sources are still saved the same way afaict.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #19 on: November 16, 2012, 10:04:21 am »
Oh yeah of course :P
I'm not a nerd but I pretend:

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #20 on: November 17, 2012, 12:48:11 am »
BBC BASIC stuff will be totally good, since you're using plaintext. All that would be desirable, unless it's going to have really fancy stuff, would be automatically inserting and  adjusting line numbers.

As in: BBC BASIC needs line numbers like so.

10 PRINT "Hello"
20 GOTO 10

and inserting things between is annoying, since you break the 10-line routine

10 PRINT "Hello"
13 PRINT "THERE"
20 GOTO 10

so ideally a BBC-focused editor would reline 13 to 20, and 20 to 30 and so on, but it's not necessary for this IDE to support BBC basic.

As long as it can save the plaintext to a file, the BBC BASIC App can run *EXEC on it to convert it to bytecode.
« Last Edit: November 17, 2012, 12:54:15 am by willrandship »

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #21 on: November 17, 2012, 02:47:55 am »
is this compatible with the regular program editor?
I'm using the same format. Else, Axe won't be able to compile it. ;)

BBC BASIC stuff will be totally good, since you're using plaintext. All that would be desirable, unless it's going to have really fancy stuff, would be automatically inserting and  adjusting line numbers.

As in: BBC BASIC needs line numbers like so.

10 PRINT "Hello"
20 GOTO 10

and inserting things between is annoying, since you break the 10-line routine

10 PRINT "Hello"
13 PRINT "THERE"
20 GOTO 10

so ideally a BBC-focused editor would reline 13 to 20, and 20 to 30 and so on, but it's not necessary for this IDE to support BBC basic.

As long as it can save the plaintext to a file, the BBC BASIC App can run *EXEC on it to convert it to bytecode.
OK. I will port it to TI Basic, Grammer and BBC Basic once done with Axe. The first two will only need the token table to be updated, for BBC I'll just get rid of tokenization. :P Then only a couple tweaks will be needed.
« Last Edit: November 17, 2012, 02:49:17 am by Streetwalker »

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #22 on: November 17, 2012, 01:03:39 pm »
Now hold on, I think one of the best parts of programming on the calculator is that it has tokens. People who program Axe or Basic frequently can tell you exactly how to get any command on the calculator in 3 buttons or less, and the fact that one token is comprised of perhaps 6 characters makes programming with tokens very quick.

In your program editor, you aren't using tokens though, and honestly, I think that is a mistake. The reason for this is that the TI-84 keyboard is a little awkward to type on. There are of course people who are quick with it, but those people are in the far minority (and they're faster with tokens). Also, without the token system, people actually have to memorize the names of functions, and while this won't be difficult for experience programmers, it puts a serious learning curve that wasn't there before on new programmers.

So, what I am saying is that if you want your IDE to become popular (and increase coding efficiency :P) I think you should stick with tokens.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #23 on: November 17, 2012, 01:43:26 pm »
I personally remember the function names quite easily, and the way I'm going to handle the keyboard is kind of like the Control/Shift keys work on the computer, applied to 2nd and Alpha. This will definitely make typing faster. Plus token auto-completion will make it easy to quickly type long function names, and I'll probably have an organized catalog (with categories), like on the HP40g to paste functions.
I totally hate digging through menus to find what I need.
This IDE is based on the coding experience I had with the HP40g, which I preferred to how the TI-8x series work. I used the TI-80 for about three years, then the said HP for one year. Coming back to the TI-84 Plus was a pleasure (more powerful), But it's Basic language is quite limited compared, once again, to the HP (this one had sprites !), and the way you code on it is why I'm making this IDE.
Hope you understand my motivations. If you get your hands on an HP calc, you'll probably see what I mean. ;)

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #24 on: November 17, 2012, 02:54:30 pm »
Ok, I've never used one, so you might be right. Plus, if that's what you want to program with, then you might as well make it.

Good luck
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #25 on: November 17, 2012, 04:13:49 pm »
Thanks. ^^
« Last Edit: November 17, 2012, 04:15:28 pm by Streetwalker »

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #26 on: November 18, 2012, 02:32:07 pm »
Update ! :w00t:
-The New Project function works. Alpha works just like Control/Shift on the computer. That's how the editor will work. Use 2nd or Enter to validate, Clear to cancel.
-Added the HIDEKB runtime AppVar, generated from scratch by (B)HIDEDAT. It contains the keyboard to ASCII map.
-Optimized the TXT() routine (merged r1 and r5) and moved the 8 bytes buffer it uses for the sprite from L4 to L4+247.
-Added the GETK() routine, an optimized getKey designed for text input, with MultiKey support.
-Fixed a missing ClrDraw at the beginning that caused a weird display half of the time when running with Asm().

Hope you'll enjoy it guys ! ;)

Now, to the project manager. Then I'll work on the editor, (de)tokenizer, and the final touches.
« Last Edit: November 18, 2012, 02:38:18 pm by Streetwalker »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #27 on: November 18, 2012, 02:40:51 pm »
Glad to see more progress. :) And yeah I would like to see compatibility with BBC Basic once the Axe one is done. A lot of people who tried BBC Basic said they liked the language and found it kinda easy, but the inline/command line editor turned them away, and a lot of people prefer on-calc programming so they won't use the better editor that is available for the computer. (probably the main reason why there are so few BBC Basic games)

Also the HP-40g had BASIC? I thought it only had RPN? ???
« Last Edit: November 18, 2012, 02:42:05 pm by DJ_O »

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #28 on: November 18, 2012, 02:49:41 pm »
Nope, it wasn't RPN. It has a command prompt similar to the TI-68k series (plus a live PrettyPrinted CAS interface). And you programmed on it with HP Basic. I guess you're mislead with the 48/49/50 series.

Edit : GRRRRR Y NO SCREENIES IN WABBIT FOR MAC ?! :mad:

Edit 2 : Finally ! Wine FTW. This screenie is pretty slow, but you get to see most of the stuff. What you don't see here is the scrollbar that appears when the list doesn't fit on the screen.
« Last Edit: November 18, 2012, 03:29:59 pm by Streetwalker »

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: [AXE for AXE] HammerIDE : about a 5000% coding efficiency increase !
« Reply #29 on: November 18, 2012, 06:07:49 pm »
@thep I was worried about speed too until I saw the auto-completion.