Omnimaga
Calculator Community => TI Calculators => Grammer => Topic started by: Yeong on April 03, 2012, 07:13:45 pm
-
I'm working on one right now. :D
I've done it until Chapter 3, so you can check the stuff here:
http://yeong.comli.com/index.html
(Temporary link until Juju fix his RAM issue :P)
Any comments? (Not about web designing since I suck at it :P)
-
Nice. Are you planning to put a copy in the articles section? It might be a good idea in case your host goes down eventually, plus it would be directly on Omni. :) http://www.omnimaga.org/index.php?action=articles;cat=11
-
Hmm, I have only checked as far as chapter one so far, but nice o.o
EDIT: Hmm, I think you could mention why not updating after everything you draw is a good thing (like it lets you draw everything first and makes graphics faster). Otherwise, I lost the game.
EDIT2: And also, I like the coloring, it helps separate different ideas nicely :) (It isn't just a block of text)
-
OK. I'll make sure I mention that. :D
-
Cool :D Do you have any plans for the next section?
-
Yes.
Click the button below to proceed to Chapter 3: Basic Math and Variables.
That's that chapter I'm planning to write. :3
-
Oh right XD Cool, I can't wait to see how you handle it :D
-
Oh right XD Cool, I can't wait to see how you handle it :D
-
Chapter 3 is uploaded. :D
Oh god. It's getting longer and longer... O.o
-
Aww, none of the complicated things like storing to multiple variables or using lowercase instead of primes? :P Nice job, you are explaining it quite well so far o.o
-
Aww, none of the complicated things like storing to multiple variables or using lowercase instead of primes? :P Nice job, you are explaining it quite well so far o.o
Hence, the chapter named "BASIC math and variables" :P
Complicated stuff comes later. ;D
-
Yeah, good job so far with not destroying the users minds before getting to the scary fun stuff XD
-
and I thought the temp memory stuff was kinda scary to users. :D
Now for loops and conditonals... :D
EDIT: Haven't uploaded yet but I fixed some thing. I mentioned that the Grammer does not follow the order of operations.
-
Yeah, that stuff is going to be really scary x.x You might want to include using ! before a Repeat and While as a way to negate and stuff. Also, the way Grammer parses conditions is that it executes all the way to a newline token, so if you use : to separate lines and math in a condition, it will work out. For example:
Repeat 3*A:+7:*3:-37
<<stuff>>
End
That line parses to:
(((3*A)+7)*3)-37)
-
Ah. That's nice to know. :D
Also, I'm including ! part before any If/Then and loops.
-
since juju's server works now, this is an alternate address:
http://www.yeong.57o9.org
-
Chapter 4 added. I decided to separate Loops and Logic since the page was getting big X.x
-
Hmm, AND and OR (and even XOR) are math operations... So what they really do is perform Bit-Wise logic. For example, if you do "3 and 6", it will return 2. The reason is if you AND these two:
0000000000000011 (this is 3 in binary)
0000000000000110 (this is 6 in binary)
0000000000000010 (you get this which is 2)
The result has a 1 bit only if both bits from the inputs are 1. So, if you did this:
If A=3: and B=6
You would be doing this:
If (A=3) and (B=6)
However, doing this will result in 0 no matter what:
If A=6 and B=3
Lets say B=3 and A=6. The reason is that if you break it down:
A=6 and B=3
A=6 and 1
A=0
0
See the issue? 6 and 1 returns 0 :/
-
Ok, xeda. I'll try to implement that.
Ch 5 coming out tomorrow. :D
-
I still see:
Conditon1 AND Conditon2: Returns "true" only if two conditons are true.
Conditon1 OR Condition2 : Returns "true" as long as at least one of the conditions is true.
Those aren't correct D:
-
Oh. I have it fixed. I just haven't uploaded yet. :P
I think I'll upload them all at once once I reach like ch.10.
-
Ah, okay XD Can't wait :D When I update the command list, I am probably going to link to your tutorial :)
-
oh wait. I just correctly understood your bitwise logic. XP
Time to fix it again.
Also, Grammer does have XOR, right?
-
Yes, it is the xor token :)
-
now that means that I have to add XOR command.... XP