Author Topic: Grammer  (Read 109019 times)

0 Members and 2 Guests are viewing this topic.

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
Grammer
« on: June 18, 2011, 10:04:53 am »
Latest Version:Grammer v1.14.10.11
Latest App version:Grammer 2.31.12.11
(may not actually be the latest versions .__.)

Some of y'all may have noticed a few fleeting moments when my sig contained something about "Grammer" so here is pre release. Pretty much, take BASIC ReCode, make it as safe as BASIC, add in lots of cool new features like labels, calls, and executing other programs, and you have Grammer. The best part, this version is going to be nothing like the final product. I plan to add in a program editor with tokens that are not at all like the OS tokens and I plan to add in the ability to add new libraries of commands. For example, I have ideas for graphics libraries and math libraries. Right now, the readme is a mess and I do not expect anybody to be able to code much, yet. However, I have added in some math that is more than simple (square roots, rounded square roots, lcm(, gcd(, nCr, and the like). I have made arbitrary math programs and sub programs with it, games, and other types of programs, but unfortunately I have neither the latest version nor all of my programs. For now, you will have to live with a sample version  >:D

...Also, I am throwing David a bone here... I have designed a sprite routine that can draw sprites to pixel coordinates (not just every 8) and can be multiples of 8 pixels wide  ;D

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: Grammer
« Reply #1 on: June 18, 2011, 10:08:31 am »
NICE!
+1
*insert supercool signature*

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 #2 on: June 18, 2011, 10:11:00 am »
Haha, thanks! I should clarify "arbitrary math" and say that I made a simple division routine that returned the first 240 digits after the decimal of x/y. The cool part was that it returned the value in whatever base system you wanted it in from base 2 to base 32 :D

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: Grammer
« Reply #3 on: June 18, 2011, 10:16:16 am »
I like your first GIF.
I know it wont be hard to program something like that, but it looks really cool!  ;)
« Last Edit: June 18, 2011, 10:44:52 am by p2 »
*insert supercool signature*

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 #4 on: June 18, 2011, 10:23:06 am »
Actually, that uses a still experimantal command. The problem with that is that the sprite format is weird ._. However, since then I have added a very nice circle drawing command that should make it nice and easy. An example of some code is:
Code: [Select]
:0:Asm(prgmGRAMMER
:1→X →Y
:2→X' →Y'
:Repeat getKey=15          ;So press clear to exit
:Circle(Y,X,3,3                ;Draws an inverted circle
:DispGraph
:Circle(Y,X,3,3                ;ReInverts it
:Y+Y'→Y
:If Y>64
:-Y'→Y'
:X+X'→X
:If X>96
:-X'→X'
:End
:Stop

I have not tested that code, but if it doesn't work, you can press [ON] to break the program (A nice update from ReCode).

EDIT: Okay, I have only a minute of computer time left, so I will also mention that I coded this in mnemonics, not hex, and I have some sample programs mixed in with the download.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Grammer
« Reply #5 on: June 18, 2011, 10:39:17 am »
Quote
...Also, I am throwing David a bone here... I have designed a sprite routine that can draw sprites to pixel coordinates (not just every  and can be multiples of 8 pixels wide 

Oh great! Awesomeness, BatLib is now even more awesome.

Also Grammer is looking pretty cool :)

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Grammer
« Reply #6 on: June 19, 2011, 11:51:54 am »
Recode, but safer!?
YAY! Watching recode crash is both funny and frustrating. By funny I mean displaying random strings and OS menus during crashes, and by frustrating, i mean losing all your progress.

EDIT: I just noticed that the key code chart says Brie. Isn't that your calcs name?
« Last Edit: June 19, 2011, 11:56:54 am by mrmprog »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Grammer
« Reply #7 on: June 19, 2011, 12:16:15 pm »
Recode, but safer!?
YAY! Watching recode crash is both funny and frustrating. By funny I mean displaying random strings and OS menus during crashes, and by frustrating, i mean losing all your progress.

EDIT: I just noticed that the key code chart says Brie. Isn't that your calcs name?

Brie is indeed her calculator's name.

And to me, Grammer is not just safer, but better, especially the sprite routines, I've always wanted that :D

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Grammer
« Reply #8 on: June 19, 2011, 06:40:52 pm »
Wow!  :o That is blazin' fast! Looks wonderful as always Xeda! <3

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Grammer
« Reply #9 on: June 19, 2011, 10:04:59 pm »
It looks awesome!

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Grammer
« Reply #10 on: June 20, 2011, 10:34:34 am »
This is going to be so great for fast games when it is done.


* mrmprog huddles in a corner and starts rethinking all those graphically intense games that he couldnt do in BASIC.

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 #11 on: July 18, 2011, 02:39:12 pm »
Fwahaha... um, let's see, I am not sure if I have added much, but I do indeed have a sprite routine that can draw 8x8 sprites to pixel locations, now, that uses the same data syntax as well as more examples (some of which I still need to get screen shots of).

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: Grammer
« Reply #12 on: July 18, 2011, 02:51:14 pm »
How did I miss this?

Dang I really need to start learning this as well :P

*HOMER-16 mumbles to himself, "So much stuff to learn nowadays"
« Last Edit: July 18, 2011, 02:51:55 pm by HOMER-16 »

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

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 #13 on: July 19, 2011, 03:47:29 pm »
I need ideas for what tokens I should add for making variables as well as other ideas for commands. I think I will make the Pt-Change( token draw tilemaps.... So, does anybody have ideas? I eventually plan to make a program editor with its own token set, but for now, Grammer 1 must rely on the OS :/

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: Grammer
« Reply #14 on: July 19, 2011, 04:21:19 pm »
Forgive my ignorance, but this (Grammer) is an assembly library for TI-BASIC, right?
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)