Subject | Re: [Firebird-Architect] Named arguments for SP |
---|---|
Author | Dmitry Yemanov |
Post date | 2005-01-17T20:36:37Z |
"Adriano dos Santos Fernandes" <adrianosf@...> wrote:
First, I think that boolean expressions are going to bring more problems
than benefits :-) Seriously speaking, your doubts are correct, my proposed
syntax will cause a grammar conflict in the future. But I don't have good
suggestions right now. The only thought I have:
execute procedure (<value1> as a, <value2> as b, ... )
But this looks quite ugly, IMHO.
Dmitry
>when
> >A> But also I think Dmitry's syntax break the parser, it's not LALR(1)
> >A> "x = 1" is a valid expression.expressions.
> >
> >Would that (not being 100% LARL(1) - assuming the current grammar is)
> >be such a huge problem?
> >
> It's a huge problem with the current parser. IMO it's a huge problem
> even with a RDP.
> I would like to know Dmitry opinion re. this syntax and boolean
First, I think that boolean expressions are going to bring more problems
than benefits :-) Seriously speaking, your doubts are correct, my proposed
syntax will cause a grammar conflict in the future. But I don't have good
suggestions right now. The only thought I have:
execute procedure (<value1> as a, <value2> as b, ... )
But this looks quite ugly, IMHO.
Dmitry