Author Topic: Grammer 3-Concepts, ideas, requests  (Read 66274 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
Re: Grammer 3-Concepts, ideas, requests
« Reply #105 on: June 21, 2013, 06:54:13 pm »
That was one idea I was thinking of, but that could get hectic when lines get inserted or removed, or especially when something like a While statement is inserted or an End statement is deleted. My other idea was to choose 4,8, or 16 points in the program and record the indent level their. Then instead of scanning all of the code, just start scanning from the closest recorded position.

My final idea is to toss it out entirely :P

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Grammer 3-Concepts, ideas, requests
« Reply #106 on: June 21, 2013, 07:33:54 pm »
That was one idea I was thinking of, but that could get hectic when lines get inserted or removed, or especially when something like a While statement is inserted or an End statement is deleted.
You could do what some IDEs do and have both the opener and closer (not actual technical terms, AFAIK) for the block inserted at the same time. The small-scale version of this is inserting a ')' when a '(' is typed, to clarify what I'm saying.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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 #107 on: June 22, 2013, 08:41:13 am »
That is a good idea. So when the user uses a For(, Then, While , or Repeat , automatically follow it by an End. Hopefully I will put together a decent solution. I am thinking that all I really need to do is keep track of the indent level at the last displayed line and the first.

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 #108 on: June 22, 2013, 01:58:21 pm »
I like the automatic end idea. Of course it can be a bit annoying when you insert a for loop after writing most of the code inside it, but then you only have to delete the automatic end then add it below the code.

If I remember correctly, the HP 39gII added End instructions automatically.

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Grammer 3-Concepts, ideas, requests
« Reply #109 on: June 23, 2013, 04:10:30 pm »
Would it be possible to delete the margin on the left of the screen which appears when all the lines have at once one tabulation?



Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Grammer 3-Concepts, ideas, requests
« Reply #110 on: June 24, 2013, 07:46:09 am »
Hey Xeda, the editor is looking quite nice. :) Support for custom fonts is a neat idea too, but I'm not sure how much it'll be used.

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Grammer 3-Concepts, ideas, requests
« Reply #111 on: June 11, 2014, 05:55:01 am »
Hi! Sorry for asking but is the project discontinued?



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 #112 on: June 12, 2014, 02:30:28 am »
I think pretty much every project in the staff project section is either dead or completed. The exceptions are Ndless and TI-Boy SE.

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 #113 on: June 22, 2014, 11:20:15 am »
As much as I want to continue projects, it is too much work for me. I might complete it eventually, but I doubt any time soon. Sorry :/

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 #114 on: June 22, 2014, 11:21:52 am »
awe :(
I hope you'll be able to pic it up, though :)

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

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 #115 on: June 22, 2014, 11:25:59 am »
Me too, it's just I haven't really had the drive and focus for a long time. Plus, Grammer 2 was easy, but Grammer 3 will be a massive under taking. SirCmpwn has been trying to encourage me to port Grammer to KnightOS, but I would probably make a "Grammer 2.5" for that. As it is Grammer 2 is almost OS independent, so a few macros should be able to make it easily portable between OSes.

Offline NonstickAtom785

  • LV3 Member (Next: 100)
  • ***
  • Posts: 78
  • Rating: +4/-0
  • Just live life. Cal-cu-lat-or style!
    • View Profile
Re: Grammer 3-Concepts, ideas, requests
« Reply #116 on: October 23, 2019, 09:52:30 am »
You know I just saw this. Looking for an appropriate place to post a new Grammer forum. I was thinking about having KnightOS on my second calc. But I didn't see any good way to still code like BASIC. I wish I knew how to port.
Grammer2 is Good!