Author Topic: Getting Started with Axe Parser  (Read 21692 times)

0 Members and 1 Guest are viewing this topic.

Offline ClayBread

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Getting Started with Axe Parser
« on: January 01, 2017, 11:35:56 am »
Are there any well known tutorials for learning Axe Parser? Most of the tutorials that I have looked into are incomplete.
Or, would it just be better to try to self-teach and learn the commands through using them?

Thanks.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Getting Started with Axe Parser
« Reply #1 on: January 01, 2017, 12:24:49 pm »
What helped me is to read the documentation ( http://axe.eeems.ca/Documentation.pdf ) and then just start asking questions :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Getting Started with Axe Parser
« Reply #2 on: January 01, 2017, 12:29:40 pm »
Reading the included Documentation.pdf, although it's somewhat outdated and certainly doesn't cover every language feature, is probably the best introduction to the language. I'd also recommend reading Changes.pdf, which can be found in the Axe 1.0.0 release (but don't actually use Axe 1.0.0), as it details some important language features added with that release that aren't covered in the main documentation.

After reading both of these, I would finally recommend looking through Commands.html, which is the exhaustive language feature/command list, and pick out and play with commands that interest you. This document is by far the most useful language reference, and I recommend always having it on hand while using and still learning the language. Some people just view it in their browser, some people print it out, and now, thanks to @E37, you can even view it right on your calculator (get it via the first attachment to that post, AxeDoc.zip).

There's also one excellent, very comprehensive Axe tutorial, but there's a slight caveat: it is written in French. Although there will be some annoying translation errors, I believe that running through it with a browser-based translation service is still the best comprehensive Axe tutorialization experience there is.
« Last Edit: January 01, 2017, 12:38:00 pm by Runer112 »

Offline ClayBread

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Re: Getting Started with Axe Parser
« Reply #3 on: January 01, 2017, 12:38:37 pm »
Thanks for the help. I'll try these methods out.



To add on, I only have a TI 84 +. Is my current calculator compatible with Axe, or do I need to use a different one? I have a TI 84 + C Silver Edition, but I can't make a ROM from it for an emulator called Wabbitemu.

Thanks for all the help thus far.

Edit (Eeems): Merged double post
« Last Edit: January 02, 2017, 02:39:31 am by Eeems »

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Getting Started with Axe Parser
« Reply #4 on: January 01, 2017, 01:17:59 pm »
Oh boy... well this might be a bit of a bummer.

Just to verify that you actually have a TI-84+ C Silver Edition: your calculator looks like this, correct (though it may have an accent color other than black)?



Most programs/applications written for the older, monochrome TI-83+/84+, including Axe, are incompatible with the newer TI-84+ C Silver Edition (TI-84+CSE for short). The TI-84+CSE was TI's first foray into a color model in the 83+/84+ line, and not a very good one. It's more or less dead to TI, and to the community, being replaced by the newer and better TI-84+CE. The TI-84+CE has an up-and-comping on-calc compiler project similar to Axe, ICE, and has a great C toolchain (not on-calc), but the TI-84+CSE has nothing comparable.

When did you get this calculator? If you purchased it recently, I would honestly recommend attempting to return it and buying a TI-84+CE instead. If you can't do this, you're unfortunately stuck with a nice color screen but few good programs/applications to make use of it because the underlying hardware is horribly underpowered. :(
« Last Edit: January 01, 2017, 01:21:45 pm by Runer112 »

Offline ClayBread

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Re: Getting Started with Axe Parser
« Reply #5 on: January 01, 2017, 01:43:03 pm »
That's a bit of a shame. I purchased the TI 84+ CSE around a year and a half ago. I purchased the TI 84+ about a month ago, and I could probably sell it if needed, because it's in good condition. I could dump some money into a TI 84+ SE, but it costs a lot of money, at least for me. With the CSE, it's so dead that when I tried to look up the pixel dimensions of the screen, I couldn't find anything. That really does suck.

What makes a TI 84+ SE worth so much more than other TI calculators? It doesn't have any obvious differences, as far as I can see.

Thanks.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Getting Started with Axe Parser
« Reply #6 on: January 01, 2017, 02:21:31 pm »
Oh wait... do you actually have a plain TI-84+? If so, that's totally fine for using Axe. The TI-84+SE is just a TI-84+ with more storage, which is mostly unnecessary.

If anything, you could sell the TI-84+CSE. For hobbyist usage, it's actually less useful than the older monochrome calculators (but the newer TI-84+CE is probably better than both).

Offline ClayBread

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Re: Getting Started with Axe Parser
« Reply #7 on: January 01, 2017, 02:34:12 pm »
Alright. Thanks for telling me so. One last question. How do I access Axe commands? They don't seem to be in catalog.

Thanks.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Getting Started with Axe Parser
« Reply #8 on: January 01, 2017, 05:39:41 pm »
axe uses the same token set as TI-BASIC, but the functionality associated with each token is completely different. commands attempt to use tokens with names appropriate for their functionality (like Circle( being used for drawing circles), but some commands can't be assigned this easily to an existing token name. thus, the axe application uses a token hook to override the names of those tokens in the interface.

if you check Commands.html, which runer mentioned above, you can see which axe tokens override which interface tokens (if any) by checking for the green text right-aligned in the commands column.

in order to enable these alternate names, then, send the axe application to your calculator, run it, and choose from there to install the token hook. this token hook can be disabled again from the same application, or it can be wiped during a ram clear, meaning you'll have to reinstall it any time your calculator crashes (which will probably be often, if you're messing around with axe for the first time). this process can be automated with an application called zStart ( http://www.ticalc.org/archives/files/fileinfo/429/42907.html ), which also has lots of other potentially useful functionality

have fun ^_^

Offline ClayBread

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Re: Getting Started with Axe Parser
« Reply #9 on: January 01, 2017, 06:46:25 pm »
Alright. I'll try to get started with the help that I have been given. Thanks once again for all the help that I have been given. I will try to make something productive with this.

Thanks.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Getting Started with Axe Parser
« Reply #10 on: January 01, 2017, 08:03:42 pm »
you're welcome ^_^

and don't worry about being "productive"; just have fun! that's when productiveness is most likely to happen anyways

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Getting Started with Axe Parser
« Reply #11 on: January 02, 2017, 02:41:46 am »
Here is a list of tutorials. Quite a few of them will be kinda out of date, but they will still be useful.
/e

Offline ClayBread

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Re: Getting Started with Axe Parser
« Reply #12 on: January 03, 2017, 09:53:25 pm »
Sorry to be completely clueless, but, I am still unsure on how to enable token hooks for Axe. I assumed that there would be more detail on how to enable token hooks, but there was none, and the file "tokenhook" included in "Developers" of "Axe1.2.2a" is invalid, and cannot be installed onto a calculator. After searching the menus of the application itself, there is no option, or selection, that allows for installation of a different application. I have not yet installed MirageOS onto my calculator, so is that what I need here?

Sorry for the confusion. I was wrong to assume that tutorials would include material on this.

As a side note, no combination of words in Google's search engine yielded any results, either.

Thanks for the help, and sorry once again for being so clueless.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Getting Started with Axe Parser
« Reply #13 on: January 03, 2017, 10:36:09 pm »
tokenhook.inc is an include file, which is used by assembly developers writing programs that interact with the axe application itself and is sort of equivalent to a library used in other languages.

simply running the axe application is enough to install the hook. however, tokens will only be replaced while in the program editor and editing an axe source file (a file which, on its first line, has a . [used to indicate a comment in axe] followed by the name of the file that should be generated when compiling the file).

edit: added a screencap
« Last Edit: January 03, 2017, 10:40:06 pm by shmibs »

Offline ClayBread

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Re: Getting Started with Axe Parser
« Reply #14 on: January 04, 2017, 08:51:48 am »
Okay. Thanks for the help, and sorry for not understanding your previous statement on how to install Axe's token hooks. I'm glad that you all have been so willing to help me get into this.

Thanks.

Edit (begin of second consecutive post):

I went through with some of the guides. I think I understand Axe a lot better now. But, I do have a few questions, still, for ease of use.
So, first. Is it possible to store data to a single nib, or nibble of data? If it is possible, how would I do so? This would be very helpful in gamemaking, with things like coins.
And, next. Is there a specific sprite editing tool for making files compatible with the TI-84+? If so, where can I download it? I feel like making nice title screens for games, but I don't know where to look.

Thanks for the help, and the tutorials. :)
« Last Edit: January 22, 2017, 02:28:12 pm by ClayBread »