Author Topic: Grammer 3-Concepts, ideas, requests  (Read 66957 times)

0 Members and 1 Guest are viewing this topic.

Offline Soulthym

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 17
  • Rating: +1/-0
    • View Profile
Re: Grammer 3-Concepts, ideas, requests
« Reply #75 on: May 20, 2013, 03:31:39 pm »
Why not adding a way to contol the registers, it would be incredibly faster I think! But it shouldn't be an obligation for the user(maybe a specific Token?)

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Grammer 3-Concepts, ideas, requests
« Reply #76 on: May 21, 2013, 03:51:59 pm »
Why not adding a way to contol the registers, it would be incredibly faster I think! But it shouldn't be an obligation for the user(maybe a specific Token?)
It wouldn't be faster since it is an interpreted language. If you wanted to have that, the app would have to manage virtual registers since the app already uses them. Like the Calcsys' console does int fact.



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 3-Concepts, ideas, requests
« Reply #77 on: May 22, 2013, 07:24:29 am »
Why not adding a way to contol the registers, it would be incredibly faster I think! But it shouldn't be an obligation for the user(maybe a specific Token?)
It wouldn't be faster since it is an interpreted language. If you wanted to have that, the app would have to manage virtual registers since the app already uses them. Like the Calcsys' console does int fact.
This is precisely the reason ^ I made Jade for that ;)

Offline Soulthym

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 17
  • Rating: +1/-0
    • View Profile
Re: Grammer 3-Concepts, ideas, requests
« Reply #78 on: May 29, 2013, 03:43:56 pm »
But with the compiled version, are the registers free?

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 3-Concepts, ideas, requests
« Reply #79 on: May 30, 2013, 09:09:20 pm »
No, the registers aren't free since it will still be interpreted. The compiling simply precomputes things that can be, since that would save time. However, one of the features I forgot about was adding support for in-line assembly, and not just hex codes. For example, you might have a block that looks like:
Code: [Select]
Z80Asm
 ld hl,plotSScreen
 ld (hl),0
 ld bc,767
 ld de,plotSScreen+1
 ldir
I do actually have a compiler started for this.

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Grammer 3-Concepts, ideas, requests
« Reply #80 on: June 01, 2013, 06:00:40 am »
Wow, so it would be a Mimas-Grammer app ? :o



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 3-Concepts, ideas, requests
« Reply #81 on: June 01, 2013, 06:02:04 am »
Kind of :) My hope for the program editor is that it can be used for other languages such as BASIC, Assembly, Axe, and Grammer.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Grammer 3-Concepts, ideas, requests
« Reply #82 on: June 01, 2013, 06:24:35 am »
That'd be awesome. *.*

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Grammer 3-Concepts, ideas, requests
« Reply #83 on: June 10, 2013, 11:19:31 pm »
That is a nice idea :D

Also a custom program editor would be really nice if there was ever a CSE version of Grammer, because scrolling is atrociously slow.
« Last Edit: June 10, 2013, 11:20:31 pm by DJ Omnimaga »

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 3-Concepts, ideas, requests
« Reply #84 on: June 19, 2013, 09:13:32 pm »
For the purpose of testing I started the BASIC program editor. As it currently is, I have all of the 1-byte tokens added and some 2-byte tokens. I tried not to change anything except to fix up some issues with the BASIC tokens. In particular, pic variables, matrix, Str, GDB, and list variables that are hacked now have actual names. The way I designed the token system, it is possible to use code in place of a token string, so they do not have huge LUTs. Instead, just a simple code that handles each of those. So for example, the 255th hacked string is now displayed as Str255 instead of a question mark. I also made it pretty easy to handle multi-byte tokens, so I plan to add in tokens for Axe, Grammer 2, BatLib, Omnicalc, Celtic 3, DoorsCS7, and xLib commands.

(I should note that I decided to make the Editor app separate from the Grammer 3 app.)

The Grammer 3 editor will be a bit tough to create, to say the least. The BASIC editor is not taking advantage of many of the features I have already programmed into the editor, but the Grammer 3 editor will hopefully be packed with features.

I hope I didn't get any hopes up, though, because the editor doesn't do any editing yet. You still cannot choose things like the program to open, the font to use, the token set to use, the screen size, or wordwrap modes, even though those are all programmed in.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Grammer 3-Concepts, ideas, requests
« Reply #85 on: June 20, 2013, 03:21:16 am »
wow, that's sounding like a bunch of awesome features!
Can't wait till it's done :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Grammer 3-Concepts, ideas, requests
« Reply #86 on: June 20, 2013, 04:52:47 am »
Looks good so far. Will the editor supports going to the top/bottom of the code like Casio calcs and will we be able to access tokens as easily as via the TI-OS?

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Grammer 3-Concepts, ideas, requests
« Reply #87 on: June 20, 2013, 04:58:37 am »
saying that, maybe label jumping just as zstart does with on+vars would be cool :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Grammer 3-Concepts, ideas, requests
« Reply #88 on: June 20, 2013, 07:30:15 am »
Auto indentation. :D

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 3-Concepts, ideas, requests
« Reply #89 on: June 20, 2013, 09:03:26 am »
Label jumping is the plan, as well as jumping from the top to the bottom. Last night in HCWP, I was fairly productive and tested a bunch of things including the font and making certain tokens invisible (like Then and End tokens). I also adjusted the indent to be more logical. Today I want to try to make some "token hooks" for the other languages and try to get it so that you can move through the source and possibly edit code.

For menus and otherwise accessing tokens, I hope to make it similar to TI-BASIC, but with a few changes. So you can still access the drawing commands by pressing [2nd][prgm], and the order will be basically the same. However, I might add in some pages to the math commands, and for token sets like those for Celtic 3, Omnicalc, and others, more menus will have to be placed somewhere. As well, I plan to have a more organised catalog.

EDIT: Forgot the screeny with invisible tokens.