Omnimaga
Calculator Community => Major Community Projects => The Axe Parser Project => Topic started by: Derf321 on December 01, 2011, 10:57:54 pm
-
So this is my first time using axe, I've done pretty much all you can do in BASIC. When I try to compile a BASIC program into Axe, it says "INVALID TOKEN" on Ymin/Ymax and Xmin/Xmax and Zstandard and AxesOff and pretty much anything to do with the graph. How can I compile programs that need those components?
-
Axe is a completely different language from TI-BASIC, with completely different commands. Read the Documentation.pdf file included in your Axe download, then check out the Commands.html page for a complete list of commands and syntaxes.
And welcome to Omnimaga, Derf321. If you have the time you can introduce yourself here (http://www.omnimaga.org/index.php?board=10.0) :)
-
Or am I completely mistaken and the Axe Parser is not to be used to transfer BASIC programs into Axe Language?
-
Oh no, Axe Parser is the full compiler to convert Axe language programs into assembly.
-
If youve become really experienced with basic, I do reccomend using axe. It's a different language, but its not like starting over since it's kinda similar to basic.
I myself never change the graph settings :P
I believe axe automatically sets it to axes off, 0 x min, 0 y min, 64 x max, 96 y max
-
Dang... Well say I want to change 3 programs from basic to Axe, is there any programs or apps that will convert it automatically? Or do I have to go piece by piece and replace them after I learn the language?
Also, does that mean that you have to convert the source with the axe compiler each time you wish to test it?
-
Nope. Like with any language, you need to learn it and convert it yourself, but if you ever need help, just ask :)
-
Ive never heard of a programming language translator... But really it only took me a weekend to adjust to axe. Of course, I still haven't stopped learning it ;)
-
Haha I'm sure no one would be nice and convert it all for me? xD
-
I'll help convert, but if it's a huge monster program... O.O
-
But that wouldn't be any fun for you!
-
BasicBuilder can turn basic progs into an app...
-
...but it's still a BASIC program, just called from an app.
-
Yeah. It all depends on what he's intending.
-
Is there a particular reason you want to use Axe instead of BASIC? Converting a program doesn't make it any "better" unless you are planning to add features that are otherwise impossible to do in BASIC. Also, the Axe language is specifically designed for games and has many common routines and functions for this purpose. But, it leaves out a lot of other things such as high precision math and advanced string manipulation which are uncommon in games, but might be necessary in a BASIC program.
So I only recommend switching to Axe if you're specifically trying to build games.
-
Dang... Well say I want to change 3 programs from basic to Axe, is there any programs or apps that will convert it automatically?
isn't TBO_Yeong making a basic parser?/me points to yeongs sig
EDIT:
Yo I'm making a parser that will parse TI-BASIC into some random program so it could be parsed into Axe source file so it could be compiled into Assembly program!
-
That's a joke. In fact, Basic and Axe differ so much that it's not possible to convert without rewriting the whole code.
-
Ah, thank you all for your replies!
But Quigibo, isn't Axe much faster than BASIC?
I was thinking of converting 3 games I made in BASIC.
-
You probably should post them. Then we can help converting :D
and indeed, axe is much faster than basic.
-
I posted it here: http://ourl.ca/14365
Thanks for your help guys!