Calculator Community > The Axe Parser Project

Axe language for the TI-Nspire and 68K calcs?

(1/4) > >>

DJ Omnimaga:
With the release of the Nspire exploit, I thought in the future it would be cool if somebody written a new programming language for the TI-Nspire where the syntax is exactly the same as Axe. Of course it wouldn't be editable in the TI-BASIC editor of the Nspire, the concept would be the same as other languages. An editor/converter would be made for the PC or the calculator, and it would convert the code to ARM assembly format. It would probably have to be done by somebody else who knows ARM ASM but I thought it could be an idea since not only it would provide an alternative to TI-Nspire BASIC, ASM and C, but it would be even easier to program (and learn) than the TI-Nspire native BASIC language.

Another thing that could be done is something similar to Axe where you type programs similar to TI-BASIC in the program editor built-in the calc, but the syntax would completly change, as for example, the TI-Nspire has no Input, Output nor Text commands. Different random unrelated commands would have to be found, altough since Nspire programs aren't token-based on editing, people could just write Output( anyway then the Nspire Axe parser would interpret them fine.

Such project would probably need to be started only when it is certain Axe parser syntax will not change anymore, though.

calc84maniac:

--- Quote from: DJ Omnimaga on February 28, 2010, 12:06:04 am ---With the release of the Nspire exploit, I thought in the future it would be cool if somebody written a new programming language for the TI-Nspire where the syntax is exactly the same as Axe. Of course it wouldn't be editable in the TI-BASIC editor of the Nspire, the concept would be the same as other languages. An editor/converter would be made for the PC or the calculator, and it would convert the code to ARM assembly format. It would probably have to be done by somebody else who knows ARM ASM but I thought it could be an idea since not only it would provide an alternative to TI-Nspire BASIC, ASM and C, but it would be even easier to program (and learn) than the TI-Nspire native BASIC language.

Another thing that could be done is something similar to Axe where you type programs similar to TI-BASIC in the program editor built-in the calc, but the syntax would completly change, as for example, the TI-Nspire has no Input, Output nor Text commands. Different random unrelated commands would have to be found, altough since Nspire programs aren't token-based on editing, people could just write Output( anyway then the Nspire Axe parser would interpret them fine.

Such project would probably need to be started only when it is certain Axe parser syntax will not change anymore, though.

--- End quote ---
Would it have to be compatible with the z80 version though? I mean, it would probably be preferable to take advantage of the extra screen space/colors and the 32-bit processor.

DJ Omnimaga:
it could be different, not necessarly compatible. It could simply be similar to the point where all you have to do is copy your code from SourceCoder to notepad or the Axe Nspire editor then all you need to do is change code to use all the screen.

Quigibo:
That would be pretty cool!  But Axe syntax is really designed around the limitations of the tokens available to Basic programmers as well as z80 itself.  If the Nspire is not token based and uses ARM assembly, it would be easier just to create a C language or something well defined since its more universal and there would be more support for it.  You would have to start from scratch either way since this isn't something that would be "portable" since it is so heavily dependent on z80 and token parsing.

I might get an Nspire myself after its finally cracked, but until then, I'm just going to stick with z80.

DJ Omnimaga:
well C is alerady possible, but C is much harder than TI-BASIC. I suggested a Axe-like syntax, since it would be easier for people who hate complex languages and like the simplicity of TI-BASIC and Axe. Maybe you don't find C hard, but I myself do. I tried learning it before and gave up.

Navigation

[0] Message Index

[#] Next page

Go to full version