• Features Wishlist 5 1
Currently:  

Author Topic: Features Wishlist  (Read 693389 times)

0 Members and 5 Guests are viewing this topic.

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2175 on: April 20, 2011, 04:20:08 pm »
It's called syntactic sugar.
For loops, Repeats, and Whiles are all syntactic sugar, too.
« Last Edit: April 20, 2011, 04:20:52 pm by Freyaday »
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2176 on: April 20, 2011, 04:37:29 pm »
By the way, I just want to clarify something about the second poll option because its text is somewhat misleading. Your code would only be smaller if you run your program at 6MHz. If your program runs at 15MHz, your program could actually be bigger by having to manually add the Normal and Full wrapper. Not to mention the added pain of having to add it.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Features Wishlist
« Reply #2177 on: April 20, 2011, 04:48:12 pm »
It's called syntactic sugar.
For loops, Repeats, and Whiles are all syntactic sugar, too.

Loops are not syntax sugar, they are one of the paradigms of programming. Variables, Loops and Functions are the three paradigms of modern programming, they are definitely not syntax sugar.

@Runer: I totally agree, I don't understand how the first option won.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2178 on: April 20, 2011, 06:43:06 pm »
In Axe they are not syntax sugar, since they use things such as conditional Goto's, and more optimized versions of what could be done with Axe, so they are very necessary.   

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2179 on: April 20, 2011, 06:48:05 pm »
@Runer: I totally agree, I don't understand how the first option won.

Actually my post was vouching for the first option. It was explaining that giving the user manual control is in fact worse if their program is intended to run at 15MHz.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Features Wishlist
« Reply #2180 on: April 20, 2011, 08:07:54 pm »
I have a new feature suggestion!

Multiple fixes in one line:

People have suggested that several times before, and there's a suggestion to put it together without commas (like Fix 135). It would be useful, too. Could it be added?

Maybe the ++ and -- operators should work without the memory read brackets, which would simplify parsing and emphasize that the pointer is what is returned.

I really like that idea. I actually planned to post that exact feature request a few days ago (POINTER++ and POINTER--), but I forgot :P So I guess I second it? :D
« Last Edit: April 20, 2011, 08:08:12 pm by Deep Thought »




Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2181 on: April 20, 2011, 08:17:00 pm »
Syntactic sugar covers any command whose effect can be reproduced by other means. This means that all loops are sugar, as they are just Conditioned Gotos in disguise.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2182 on: April 20, 2011, 08:22:27 pm »
Ah i see now.  In any case, it does provide a non-syntax use in Axe :P Since it *is* faster than using If statements and Goto's

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2183 on: April 20, 2011, 08:24:20 pm »
Yes, because loops are special Gotos.
16 bit bitwise operations.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2184 on: April 20, 2011, 09:37:41 pm »
16 bit bitwise operations.

Already added, check the documentation :)

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Features Wishlist
« Reply #2185 on: April 20, 2011, 09:49:38 pm »
Or, Freyaday, if you are too lazy :P, they are the plot tokens. The dot is "and", the box is "xor", and the cross is "or". (I might've gotten the last two backwards, make sure).
« Last Edit: April 20, 2011, 09:49:53 pm by calcdude84se »
"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 Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2186 on: April 20, 2011, 09:52:42 pm »
I think those are only 8 bit, though.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Features Wishlist
« Reply #2187 on: April 20, 2011, 09:55:53 pm »
That's what " and ", " or ", and " xor " are for ;)
"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 Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2188 on: April 20, 2011, 10:03:15 pm »
Those are logical, not bitwise. They behave the same as they do in BASIC.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Features Wishlist
« Reply #2189 on: April 20, 2011, 10:24:25 pm »
Those are definitely bitwise. For example, "1 and 2" returns 0, though, if it were logical, it would return 1.
This happened to be the source of several bugs in some of my Axe programs, mind you :P
"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.