Author Topic: Grammer  (Read 98300 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
Re: Grammer
« Reply #255 on: October 20, 2011, 10:39:59 pm »
Yay! A app version!
* Yeong don't have to group Grammer every time he backs up now
will it run archived program?
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 #256 on: October 20, 2011, 10:43:37 pm »
No, it doesn't run archived programs yet, sorry :/

Offline awalden0808

  • LV3 Member (Next: 100)
  • ***
  • Posts: 55
  • Rating: +6/-0
  • Cool shades, wears Waldo.
    • View Profile
Re: Grammer
« Reply #257 on: October 21, 2011, 07:03:05 am »
USB Communication Error: Flash application has a bad signature.

:(
I'll apologize tomorrow for a bad mood today.

Spoiler For Spoiler:
My Qualifications:

I did a thing once.
I am known for my ability to focus intently on things that distract me from my actual work.
To me, the letter a stands for absolute. B stands for bemusement. C stands for circumlocution, and D stands for decoupage.
If I were president, I would give everyone Xboxes, computers, and national healthcare.
I am also known for my ability to write more than I actually need to write. Unless of course it is necessary that I write a lot. Then I write a little bit.

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 #258 on: October 21, 2011, 07:36:40 am »
grrrr, I think it is because I changed the name using WabbitEmu and then I copied it from Wabbit. Gahh, nobody can seem to tell me how to fix this problem >.<

EDIT: Okay folks, see the Grammer 2 topic again (first post) for a version that is working :)

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Grammer
« Reply #259 on: October 25, 2011, 11:15:43 pm »
Ok! I just got all the grammer docs on my kindle,so now i have something to do tommorow. I already have some questions though. Are there only two particle effect? Also,how is stuff stored? if i have "quack" as a string, can i modify it like in Basic,or is it closer to axe?

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 #260 on: October 25, 2011, 11:40:55 pm »
There are currently two particle types, but I am working on adding a few more (including the worm particle I have been promising). And strings cannot be edited like in TI-BASIC, so I am assuming they work similarly to Axe.

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Grammer
« Reply #261 on: October 26, 2011, 10:39:46 pm »
Here is the code I was using:
Code: [Select]
:.0:Asm(prgmGRAMMER
:ClrHome
:ClrDraw
:Line('30,30,60,30,1
:DispGraph
:Stop

This has to do with an IRC discussion.
« Last Edit: October 27, 2011, 05:42:38 pm by mrmprog »

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 #262 on: October 27, 2011, 12:03:25 am »
Okay, so the issue you were having there (as dicussed on IRC) was that the homescreen would fill up with 3x3 squares. The reason was that when I wrote the code for ClrHome, I filled it with that char instead of a space. I have it fixed for the next version.

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Grammer
« Reply #263 on: October 27, 2011, 05:43:55 pm »
Ok, glad that will be fixed. After having grammer on my calc for a while(accompanied by some spectacular crashes :) ), I have some things to say. Is it possible to add a feature that lets you control the direction of gravity for particles? Can you put grammer code in a basic program? This is really awesome, I look forward to making some epic stuff with it.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Grammer
« Reply #264 on: October 27, 2011, 05:45:18 pm »
Can you put grammer code in a basic program?

it used to. but I don't know about now.
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 #265 on: October 27, 2011, 05:57:04 pm »
When using the program version of Grammer, you can stick Grammer code in a BASIC program. Anything after the Stop is read as BASIC code and you start the Grammer code with a number in Ans then Asm(prgmGRAMMER. This won't work so much with the APP version, yet, but if you use the program I released somewhere around here, it will... Sorry, I am highly distracted at the moment XD

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Grammer
« Reply #266 on: October 27, 2011, 08:52:59 pm »
* mrmprog is having fun!
Is it possible for us to have custom particle rules? This would probably be really hard, but worth the effort in my opinion.

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 #267 on: October 27, 2011, 08:54:33 pm »
It isn't available yet, but it is possible... >.>

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 #268 on: November 10, 2011, 08:36:15 pm »
Update time!
Okay, with this version, there are some significant updates that will lend to some much needed features and that will help me add new commands.
Bug Fixes:
-Apparently I broke the sprite routines in the last version, but only for the non-hex commands. I fixed it here XD

Updated Commands:
-Now any variable name inputs aren't limited to named vars. For example, "DStr1" is a valid variable name (to access Str1)
-Fix has another mode for Hexadecimal mode. This makes all numbers get read as hexadecimal.

New Commands:
-Asm(
This lets you use an external, squished ASM program
-IS>(
This will use a pointer var to read variable data. It then increments the pointer var.
-Archive
-Unarchive
-Delvar
-solve(
This is actually going to be a command subset. This has currently 3 commands:
solve(0 is used to copy a var from archive or RAM to a new var
solve(1 is used to copy a piece of RAM to another location (copying forward)
solve(2 is used to copy a piece of RAM to another location (copying backwards)

I don't have any real example programs ready that display the new commands in action, but I can see these new commands as being highly useful. For example, using the IS>( command will make it fairly easy to make a parser. I actually made this because I was working on a drawing program that stored the drawing as shapes and commands as opposed to a bitmap.

I would like to add augment( and sub( to resize variables, too.

I hope this works out well for people! Hopefully I can add new sound and particle effects, sometime XD
I am also working on the start of an error handler, but I want to make it like a hook. Like, if you do something that will cause an error, it redirects the code to another part of the program for you to handle.

Offline awalden0808

  • LV3 Member (Next: 100)
  • ***
  • Posts: 55
  • Rating: +6/-0
  • Cool shades, wears Waldo.
    • View Profile
Re: Grammer
« Reply #269 on: November 11, 2011, 07:20:15 am »
So I have yet another question. I've got two different control sets for my program (new one uses the Up+Left, Up+Right, etc. key codes.), and I also want to have the ability to save position by sending the coordinates to an appvar. I want it to test for the existence of the variable, then create it if need be, then require a second button press to make sure you really want to save it. I want it to have 4 bytes, the first two is the vertical coords, second horizontal. Then, when another pair of buttons is pressed I want it to recall the coordinates by pulling the first 2 bytes, storing it to the coordinate variable, then recall the last 2 and storing it to the other coordinate variable. Is this possible?
I'll apologize tomorrow for a bad mood today.

Spoiler For Spoiler:
My Qualifications:

I did a thing once.
I am known for my ability to focus intently on things that distract me from my actual work.
To me, the letter a stands for absolute. B stands for bemusement. C stands for circumlocution, and D stands for decoupage.
If I were president, I would give everyone Xboxes, computers, and national healthcare.
I am also known for my ability to write more than I actually need to write. Unless of course it is necessary that I write a lot. Then I write a little bit.