Author Topic: Grammer Tutorial  (Read 7417 times)

0 Members and 1 Guest are viewing this topic.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Grammer Tutorial
« 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)

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55821
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Grammer Tutorial
« Reply #1 on: April 04, 2012, 12:35:56 am »
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
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4607
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer Tutorial
« Reply #2 on: April 04, 2012, 11:00:28 am »
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)

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer Tutorial
« Reply #3 on: April 04, 2012, 03:30:06 pm »
OK. I'll make sure I mention that. :D
Sig wipe!

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4607
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer Tutorial
« Reply #4 on: April 04, 2012, 03:35:33 pm »
Cool :D Do you have any plans for the next section?

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer Tutorial
« Reply #5 on: April 04, 2012, 04:08:20 pm »
Yes.
Quote from: My Website
Click the button below to proceed to Chapter 3: Basic Math and Variables.
That's that chapter I'm planning to write. :3
Sig wipe!

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4607
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer Tutorial
« Reply #6 on: April 04, 2012, 04:38:56 pm »
Oh right XD Cool, I can't wait to see how you handle it :D

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4607
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer Tutorial
« Reply #7 on: April 04, 2012, 04:38:57 pm »
Oh right XD Cool, I can't wait to see how you handle it :D

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer Tutorial
« Reply #8 on: April 04, 2012, 07:15:52 pm »
Chapter 3 is uploaded. :D
Oh god. It's getting longer and longer... O.o
Sig wipe!

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4607
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer Tutorial
« Reply #9 on: April 05, 2012, 07:30:48 am »
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

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer Tutorial
« Reply #10 on: April 05, 2012, 12:50:43 pm »
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
Sig wipe!

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4607
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer Tutorial
« Reply #11 on: April 05, 2012, 12:54:53 pm »
Yeah, good job so far with not destroying the users minds before getting to the scary fun stuff XD

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer Tutorial
« Reply #12 on: April 05, 2012, 12:56:40 pm »
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.
« Last Edit: April 05, 2012, 01:35:43 pm by TBO_Yeong »
Sig wipe!

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4607
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Grammer Tutorial
« Reply #13 on: April 05, 2012, 02:37:33 pm »
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:

Code: [Select]
Repeat 3*A:+7:*3:-37
<<stuff>>
End
That line parses to:
(((3*A)+7)*3)-37)


Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer Tutorial
« Reply #14 on: April 05, 2012, 03:07:47 pm »
Ah. That's nice to know. :D
Also, I'm including ! part before any If/Then and loops.
Sig wipe!