Difference between revisions of "Axe"

From WikiTI
Jump to: navigation, search
 
Line 34: Line 34:
 
Axe was created and is developed by Quigibo/Kevin Horowitz.
 
Axe was created and is developed by Quigibo/Kevin Horowitz.
  
Download link: [http://www.omnimaga.org/index.php?action=dlattach;topic=1463.0;attach=3502 Download Here]
+
Download link: [https://www.omnimaga.org/the-axe-parser-project/latest-updates-%28***do-not-post-here!***%29/ Download Here]

Latest revision as of 14:32, 1 January 2015


Axe Parser

It is a new programming language for the calculator. It is typed directly into a program just like BASIC and with a similar syntax. Unlike BASIC however, this is a compiled language, not an interpreted one. The program gets compiled into an assembly program. You can create Ion, MirageOS, DCS or Applications if you choose.

Advantages: You basically get the simplicity of BASIC programming but with nearly the same size, speed, and compatibility of assembly programs. You won’t need “Shells” or “Libraries” to run the programs. They are just like any other assembly program.

Syntax: It is similar to BASIC. First, it has an extremely loose syntax. You know how you can leave the end parenthesis off of BASIC commands and do multiple same-line DelVars? It’s like that on steroids (if you so choose). For instance: the store “->” can be used in expressions like A+B->C+1->D so now C holds A+B and D holds A+B+1.

Differences With BASIC: A lot of commands will be re-defined. Most are usually unused anyway, but some are not. For instance, “DiagnosticOff” turns off the run indicator. But “sub()” now runs a subroutine since taking a set of characters from a string is as easy as copying part of the string to another portion in RAM.

Variables and Numbers: All numbers and letters A-Z are 16-bit unsigned integers. Str, GDB and Pic define an arbitrary amount of data, which is stored inside program memory.

User Defined Variables: Things like strings, lists, sprites, and floats will be defined by the user.


Examples

ClrHome
Disp "Hello World"
Repeat getKey
End

Axe's syntax is pretty much TI Basic's syntax, but its speed and capabilities are way ahead of Basic.


Axe was created and is developed by Quigibo/Kevin Horowitz.

Download link: Download Here