Author Topic: Grammer  (Read 97436 times)

0 Members and 1 Guest are viewing this topic.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Grammer
« Reply #45 on: September 17, 2011, 10:03:04 pm »
I just had a chance to try this, and Zeda, it's amazing.  I really like Grammer.  It appears very polished, and I like how you did it.  I can see myself using this in the future.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #46 on: September 17, 2011, 10:04:46 pm »
Thanks :) What do you mean by polished, though? Also, I realised that I should probably make some unoptimised programs because I use some hard to read optimisations sometimes :/

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Grammer
« Reply #47 on: September 17, 2011, 10:05:47 pm »
Things like pressing On makes it go to the exact spot it should go to and things like that.  It still feels a lot like TI Basic.
« Last Edit: September 17, 2011, 10:05:58 pm by ztrumpet »

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #48 on: September 17, 2011, 10:08:03 pm »
Oh, I see :) I am also wondering if I should put in a way to disable the ON button? If I do, what token should I use?

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #49 on: September 30, 2011, 12:58:31 pm »
I'm trying it and it's quite nice
*Yeong demands Input(


Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #50 on: September 30, 2011, 05:23:32 pm »
Cool! My only worry is that I looked at your code... and you use some functions that don't exist yet for Grammer O.O
The scary part is that your program works O.O
So clearly Grammer has been programming in its own functions without telling me O.O
Grammer must have artificial intelligence D:

But yeah, I don't have the " and " function included and I saw you used it a few times. Functions that don't exist just get ignored, but still...

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Grammer
« Reply #51 on: September 30, 2011, 05:33:38 pm »
Holy shit! That looks better than AXE!!!
How do they compare?

Does it do greyscale?
« Last Edit: September 30, 2011, 05:36:26 pm by boot2490 »
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #52 on: September 30, 2011, 05:35:53 pm »
Well Axe is faster, but the code is typically larger.
Grammer is faster than BASIC (usually by a lot), and about the same size code (but it still has lots of optimisations for size and speed compared to BASIC).

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Grammer
« Reply #53 on: October 01, 2011, 05:29:34 am »
I've gotta try this out when I'm finished with Grey. Congrats on the news article by the way, Xeda.


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #54 on: October 01, 2011, 09:54:03 am »
Cool! My only worry is that I looked at your code... and you use some functions that don't exist yet for Grammer O.O
The scary part is that your program works O.O
So clearly Grammer has been programming in its own functions without telling me O.O
Grammer must have artificial intelligence D:

But yeah, I don't have the " and " function included and I saw you used it a few times. Functions that don't exist just get ignored, but still...
O.O
no wonder the collision wasn't working very well. O.O
I was actually surprised that it worked even though I only put the half of the collision detection O.O

So I have to live with

If condition 1
Then
If condition 2
something
End

for a while?
« Last Edit: October 01, 2011, 09:55:22 am by yeongJIN_COOL »
Sig wipe!

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #55 on: October 01, 2011, 10:24:00 am »
Stefan Bauwens: Thanks :) Also, you are almost evil O.O
As long as you need to rely on Ans. Otherwise, you can do something like this:
Code: [Select]
getKey=9
If *C=1
<<code>>
That will be like using getKey=9 and C=1. Likewise, you can do:
Code: [Select]
getKey=9
If +C=1
<<code>>
That will be like using or .

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #56 on: October 01, 2011, 10:25:31 am »
oh ok.
Another Question: I saw the block eating program. Does it use matrix or list or some sort? If you do, how do I use it?
Sig wipe!

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #57 on: October 01, 2011, 10:35:15 am »
It doesn't use lists or matrices, actually :) It just pixel tests :)


EDIT: Okay, this is probably useful to some people... Making sprites isn't the easiest of processes in Grammer, so here is a screeny showing two ways of making sprite data :)

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #58 on: October 01, 2011, 10:52:09 am »
Are you eventually gonna support list/Matrices?
Sig wipe!

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer
« Reply #59 on: October 01, 2011, 10:59:01 am »
Maybe, I am not sure yet. If I do, I will have to create my own variable storage system, which could be interesting. If I make lists, for example, to access the first element, you would need to do something like {L1→A or to access the next element, {L1+2→A because it would really just be an array of data.

I think I could add a way to create your own vars and then use them for data storage :)