Subject Re: [Firebird-Architect] Named arguments for SP
Author Dmitry Yemanov
"Adriano dos Santos Fernandes" <adrianosf@...> wrote:
>
> >A> But also I think Dmitry's syntax break the parser, it's not LALR(1)
when
> >A> "x = 1" is a valid expression.
> >
> >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
expressions.

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