Calculator Community > The Axe Parser Project

Axe Parser

<< < (2/445) > >>

Galandros:
Seems promising. And is compiled, that was sort of a surprise.

Subroutines in this kind of thing are important.

You are using the TI-BASIC editor, that is neat. Although I always wanted a small font TI-BASIC editor like you see in the BBC Basic.
I am waiting for new commands. :)

calc84maniac:
Nice job man! I've never been able to get past the planning stage for anything like this :P

Edit: I'll be glad to write multiplication and division routines if you need me to

Edit3: Removed Edit2 for stupidity

ztrumpet:
This is awesome!  I really like this!  I can see my self programming in this language.  It's incredibly cool!  I love the fact it is compiled.

---I read through the Documentation and this is what went through my mind---
Apps?  How do you make large Apps if the source file can only be 1.25ish pages large, due to lack of RAM?
How do you use the predefined A - Z and Theta?  And what about Theta?
Comments!!!  Yay!  That's great.  Can you have comment blocks?  (Like ' ' to ' ' mabey?)
Can you include the ++ and -- operators from C++? Mabey they could be just + and - , but only take one operand.   (And if Ans works the same, can these not alter Ans?)
Does the Ans Variable work the same way as in basic?
If you Pause, and the run indicator is off, does it stay off?
YES!!!  I can Asm(Hex-Code-Here!)
I love LBL!  It's really cool!
ReturnIf == Awesome!
How does Disp work when you get to the end of a line?
Can getKey ever go back to the getKey of basic, or is it always GetScanCodes?  (I don't mind the change, but I'm wondering if others think this. :) )
Thanks for giving the Diagnostics commands (That in my opinion should always be on) some real purpose. :P  It's not that they are unused, it's just they are so seldom used and never used in games. :D

This is so cool! I can't wait for more commands, so we can see how much faster this is!
This is great!

Edit:  I looked at it more, and had more thoughts:
Earlier when I said ' ' it's two single qoutes. (clarification)
I love the new use of DispGraph! :D
While is still PreTest, and Repeat is still PostTest, right?
Can you check if sub( has a comma in it, and if so use it like it is in TiBasic? (If it dosn't have a comma, it's subroutien.)
__=Var means what equals Var?  And is the underscore a space?  Is it Ans?

Thanks!

Quigibo:
Okay, that's like a million questions, but I will attempt to answer them all:


--- Quote ---Apps?  How do you make large Apps if the source file can only be 1.25ish pages large, due to lack of RAM?
--- End quote ---
When its finished, it will allow the source programs to be in archive.  You will also be able to include subprograms in your programs like the "include" feature in C.  If it compiles to an app, it will have to be a one page app since it will be too complicated to switch pages with anything that resembles basic.  But that's still 16k, which is large enough for most applications.

--- Quote ---How do you use the predefined A - Z and Theta?  And what about Theta?
--- End quote ---
They are stored in the saveSScreen ram location.  I have not included theta yet because I am still considering using it for some other purpose.

--- Quote ---Can you have comment blocks?
--- End quote ---
You can do single line comments, but I feel that inline comments will just make the code very unreadable.

--- Quote ---Can you include the ++ and -- operators from C++?
--- End quote ---
I might.  A++ can save 2 bytes when assembled instead of doing A+1.

--- Quote ---Does the Ans Variable work the same way as in basic?
--- End quote ---
No, I no longer use it, its pointless.  If you have no argument, it automatically assumes the last expression.  But it must immediately follow or it will just be garbage.

--- Quote ---If you Pause, and the run indicator is off, does it stay off?
--- End quote ---
Yes

--- Quote ---How does Disp work when you get to the end of a line?
--- End quote ---
Disp is not fully functional right now.  I only included it so I have some type of output to test everything.  Nothing will display at the end of the line.  It will work like it does in BASIC when its finished.

--- Quote ---Can getKey ever go back to the getKey of basic, or is it always GetScanCodes?
--- End quote ---
Probably not, but I will have a directkey command in the future (for multiple key presses)

--- Quote ---While is still PreTest, and Repeat is still PostTest, right?
--- End quote ---
Its pretest right now... was it post test in basic?  I've never used it before, but that would be very easy to change and also save 3 bytes.

--- Quote ---Can you check if sub( has a comma in it, and if so use it like it is in TiBasic? (If it dosn't have a comma, it's subroutien.)
--- End quote ---
Nope.  You will be able to do substrings like this: Str(5) gets 5th character in string.

--- Quote ---__=Var means what equals Var?  And is the underscore a space?  Is it Ans?
--- End quote ---
Yes, basically any expression, variable, number, or Ans before it.

ztrumpet:

--- Quote ---Okay, that's like a million questions, but I will attempt to answer them all:
--- End quote ---
Thanks! ;D
--- Quote ---
--- Quote ---Can getKey ever go back to the getKey of basic, or is it always GetScanCodes?
--- End quote ---
Probably not, but I will have a directkey command in the future (for multiple key presses)
--- End quote ---
That sounds great!  Does this mean you could hold down 2nd, Enter,  and Down at the same time and getKey would equal 1, 9, and 54 at the same time?

--- Quote ---
--- Quote ---While is still PreTest, and Repeat is still PostTest, right?
--- End quote ---
Its pretest right now... was it post test in basic?  I've never used it before, but that would be very easy to change and also save 3 bytes.
--- End quote ---
Yes, it is post test in basic.  :)
--- Quote ---
--- Quote ---Can you check if sub( has a comma in it, and if so use it like it is in TiBasic? (If it dosn't have a comma, it's subroutien.)
--- End quote ---
Nope.  You will be able to do substrings like this: Str(5) gets 5th character in string.
--- End quote ---
How do you access multiple characters like:
sub("Name1Name2Name3",5(2)-4,5
This returns "Name2".  Can you access multiple characters in your other way.  If so, then you don't need sub( for sub.  :)

I have another 2 questions.  That makes 1,000,002 questions. :D:
Can you use the operators like xor and = like "Var1=Var2" or do they need to be "Var1: =Var2"?
Do you plan to use the operator not( for anything?

Thanks!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version