Loading ...
Sorry, an error occurred while loading the content.

RE: [hackers-il] Help with Defining Syntax

Expand Messages
  • Tzahi Fadida
    I don t know either, this is my question. how do you formally define a syntax. specifically how they define sql syntax. with algol 60 they used BNF and later
    Message 1 of 3 , Feb 3, 2005
    • 0 Attachment
      I don't know either, this is my question. how do you formally define a
      syntax. specifically how they define sql syntax.

      with algol 60 they used BNF and later EBNF for others.
      I don't know how they formally defined sql and functions in it.

      > -----Original Message-----
      > From: Arik Baratz [mailto:arik.baratz@...]
      > Sent: Thursday, February 03, 2005 6:54 PM
      > To: hackers-il@yahoogroups.com
      > Subject: Re: [hackers-il] Help with Defining Syntax
      >
      >
      >
      > On Wed, 2 Feb 2005 03:26:07 +0200, Tzahi Fadida
      > <tzahi_ml@...> wrote:
      > >
      > > Hi all,
      > > I am trying to define syntax for an sql operator I am researching.
      > > Since its research I need to formally define it. the operator
      > > currently looks like FD(R1,...,RN) in the FROM line. like: select *
      > > from A,FD(R1,...,RN). If someone can point me to formal
      > ways to define
      > > it I will appreciate it.
      >
      > Sorry, I can't make heads and tails from your request.
      >
      > Do you mean something of the sort:
      >
      > op ::= 'FD' '(' args ')'
      > args ::= arg | arg , args
      > arg ::=
      >
      > and so on?
      >
      > -- Arik
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.