Page 1 of 1
Keep the Braces!
Posted: August 6th, 2016, 12:20 pm
by Possibility
7. The if x { ... } notation is now if x:, same for loop commands and anything else that used braces.
Why do u want to remove all braces in Denizen2?
The Braces perfectly shows, where an if-Function starts, and ends, also for the other Functions. The double points arent showing it as good as the braces in my opinion. If u have a bigger Function who's longer than just 10 Lines, you cant just set the Mouse behind the braces and see where the function ends.
Since more than a year, the braces were in use in Denizenscripts, and now u want to eliminate them instantly?

Wouldnt it be a compromise, if u add the double point notations, and keep the braces? D:
Re: Keep the Braces!
Posted: August 6th, 2016, 12:28 pm
by mcmonkey
We don't like the braced system from Denizen1 because it is absolutely horrid internally.
HOWEVER
Due to much feedback from you here and others on IRC,
I have looked for and today found a way to make it work anyway, using preparser code.
View commit here:
https://github.com/DenizenScript/Denize ... e4511f98ad
As of latest commit, Denizen2 for the most part supports {braced} syntax.
Thanks for your feedback!
Re: Keep the Braces!
Posted: August 6th, 2016, 1:00 pm
by Possibility
<3
Re: Keep the Braces!
Posted: August 6th, 2016, 2:54 pm
by BloodEko
'like'
Re: Keep the Braces!
Posted: August 7th, 2016, 2:13 am
by BlackCoyote
braces suuuuuuuuuuck