Support #Define in decorate parser & 'new' Decorate format

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Support #Define in decorate parser & 'new' Decorate format

Re: Support #Define in decorate parser & 'new' Decorate format

by Graf Zahl » Thu Dec 18, 2008 2:38 am

The problem with the properties is that the old sc_man - based parser is not stable enough so for the property definitions it has to be strictly numeric constants. When doing my last reorganization of the parser I tried but imagine the following construct:

Code: Select all

    damage 20
    +NORADIUSDMG
which any expression parser would interpret as 'damage 20 + NORADIUSDMG' and obviously reporting an error.

That's why I designed a new format because with such limitations in place I don't see any chance to extend DECORATE any longer. The other major problem I was having is that the state parser depends on newlines as terminators which also caused several problems already.

Re: Support #Define in decorate parser & 'new' Decorate format

by randi » Wed Dec 17, 2008 7:30 pm

And I thought you had changed it so any place that took constants could also use constant expression. My bad.

Re: Support #Define in decorate parser & 'new' Decorate format

by Graf Zahl » Fri Dec 12, 2008 5:58 pm

It can't be used for property parameters, only in expressions.

Re: Support #Define in decorate parser & 'new' Decorate format

by randi » Fri Dec 12, 2008 5:08 pm

Worst wrote:I'm suprised this isn't already supported
What's wrong with

Code: Select all

const int foo = 10;
?

Re: Support #Define in decorate parser & 'new' Decorate format

by Graf Zahl » Thu Dec 11, 2008 9:06 am

Gez wrote:Hey, this isn't even Doomscript. Just a slightly modified DECORATE format whose whole point would be the ability to further expand it without compromising stability until DoomScript arrives. And the work is (mostly) done.

But it's never going to be thoroughly tested, bugfixed and finalised because it's never going to be added. Meaning this was merely an exercise in wasting time. Cue cricket chirping and Godot references. (I could have used Daudet's Girl from Arles as well but it's much more obscure. She's talked about during the whole play, but like Godot she's never seen.)

The new format isn't even complete yet and before that isn't done I see no point discussing future implications.

Re: Support #Define in decorate parser & 'new' Decorate format

by Gez » Thu Dec 11, 2008 8:08 am

Hey, this isn't even Doomscript. Just a slightly modified DECORATE format whose whole point would be the ability to further expand it without compromising stability until DoomScript arrives. And the work is (mostly) done.

But it's never going to be thoroughly tested, bugfixed and finalised because it's never going to be added. Meaning this was merely an exercise in wasting time. Cue cricket chirping and Godot references. (I could have used Daudet's Girl from Arles as well but it's much more obscure. She's talked about during the whole play, but like Godot she's never seen.)

Re: Support #Define in decorate parser & 'new' Decorate format

by Project Shadowcat » Wed Dec 10, 2008 10:59 pm

Graf Zahl wrote:When even respectable community members are starting to make fun of this things have to be dire... :?
I know most everyone likes to take it serious (even if they make fun of it), but consider how long most of them have waited. While I'm content with today's features, which can do so much already, to say that they've waited for (not an exaggeration) many years is pretty bad.
I know I haven't contributed to the trolling of the subject, but DoomScript deserves to be made fun of in every respect until it is actually out in front of us.

Re: Support #Define in decorate parser & 'new' Decorate format

by Graf Zahl » Wed Dec 10, 2008 6:05 pm

When even respectable community members are starting to make fun of this things have to be dire... :?

Re: Support #Define in decorate parser & 'new' Decorate format

by Enjay » Wed Dec 10, 2008 5:04 pm

It's Samuel Beckett. I have no idea what he has to do with the topic. Something to do with him being a "minimalist"?

[edit] Dammit ;) and yeah, waiting for Godot (who never turns up IIRC) is more likely to be the link[/edit]

Re: Support #Define in decorate parser & 'new' Decorate format

by Spleen » Wed Dec 10, 2008 5:02 pm

Graf Zahl wrote:Care to say who that is and what's his connection with this topic?
It's Samuel Beckett, who wrote the play Waiting for Godot. How do I know? The image URL contains "beckett", and googling it confirms that this is his photo.

Re: Support #Define in decorate parser & 'new' Decorate format

by Graf Zahl » Wed Dec 10, 2008 4:49 pm

Care to say who that is and what's his connection with this topic?

Re: Support #Define in decorate parser & 'new' Decorate format

by Gez » Wed Dec 10, 2008 4:18 pm

*chirp, chirp, chirp*

Image

Re: Support #Define in decorate parser & 'new' Decorate format

by Nash » Sun Dec 07, 2008 7:16 am

Looks good, Graf! It's definitely not Doomscript but it's the closest we'll ever get...

Re: Support #Define in decorate parser & 'new' Decorate format

by Graf Zahl » Sun Dec 07, 2008 3:34 am

I prefer to wait for an official response.

Re: Support #Define in decorate parser & 'new' Decorate format

by Michi » Sun Dec 07, 2008 3:31 am

Isn't it interesting?

Randy was visiting this forum yesterday and even implemented 2 feature suggestions. But no comment about this here.
I think this is telling a clear story about any chances of Doomscript happening - ever!

Top