Axe

From WikiTI
Revision as of 12:16, 17 November 2010 by Galandros (Talk | contribs)

Jump to: navigation, search


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. In the future you will be able to make Ion, MirageOS, and Doors programs; possibly apps too.

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, but also very different. 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 you will be able to take characters from a string the same way you do with lists in the future.

Variables and Numbers: All numbers and letters A-Z are 16-bit unsigned integers. Unlike BASIC variables, they don’t reside in the user ram so they take up zero memory. You might want to read about unsigned numbers on Wikipedia or something if you are not familiar with it.

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


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

Download link: Download Here