+ Reply to Thread
Results 1 to 6 of 6

Excel formula pasrsing - BNF, Yacc?

  1. #1
    arthur
    Guest

    Excel formula pasrsing - BNF, Yacc?

    Hi,

    I am looking for a grammar of excel formulas in any format(EBNF, BNF, yacc
    or in other notation). Is any around?

    Thanks in advance!!!


  2. #2
    Charles Williams
    Guest

    Re: Excel formula pasrsing - BNF, Yacc?

    I dont think a formal grammar exists but this link should be helpful.

    http://ewbi.blogs.com/develops/2004/...formula_p.html

    I have also written a more limited parser that parses out functions and
    defined names.

    What did you want one for?

    regards
    Charles
    ______________________
    Decision Models
    FastExcel 2.1 now available
    www.DecisionModels.com

    "arthur" <arthur@discussions.microsoft.com> wrote in message
    news:09CAFC92-5053-4E37-80B8-B65AD589C0DC@microsoft.com...
    > Hi,
    >
    > I am looking for a grammar of excel formulas in any format(EBNF, BNF, yacc
    > or in other notation). Is any around?
    >
    > Thanks in advance!!!
    >




  3. #3
    arthur
    Guest

    Re: Excel formula pasrsing - BNF, Yacc?

    I need it for some specific tasks, where a parser will travers all cells (or
    specific) and collect some information based on a formula from those cells.

    "Charles Williams" wrote:

    > I dont think a formal grammar exists but this link should be helpful.
    >
    > http://ewbi.blogs.com/develops/2004/...formula_p.html
    >
    > I have also written a more limited parser that parses out functions and
    > defined names.
    >
    > What did you want one for?
    >
    > regards
    > Charles
    > ______________________
    > Decision Models
    > FastExcel 2.1 now available
    > www.DecisionModels.com
    >
    > "arthur" <arthur@discussions.microsoft.com> wrote in message
    > news:09CAFC92-5053-4E37-80B8-B65AD589C0DC@microsoft.com...
    > > Hi,
    > >
    > > I am looking for a grammar of excel formulas in any format(EBNF, BNF, yacc
    > > or in other notation). Is any around?
    > >
    > > Thanks in advance!!!
    > >

    >
    >
    >


  4. #4
    arthur
    Guest

    Re: Excel formula pasrsing - BNF, Yacc?

    Charles,

    I've came up with Excel grammar (took some time though).
    If u r interesting I can forward u too. Not sure if it covers 100% of Excel
    features.

    Regards,
    Arthur

    "Charles Williams" wrote:

    > I dont think a formal grammar exists but this link should be helpful.
    >
    > http://ewbi.blogs.com/develops/2004/...formula_p.html
    >
    > I have also written a more limited parser that parses out functions and
    > defined names.
    >
    > What did you want one for?
    >
    > regards
    > Charles
    > ______________________
    > Decision Models
    > FastExcel 2.1 now available
    > www.DecisionModels.com
    >
    > "arthur" <arthur@discussions.microsoft.com> wrote in message
    > news:09CAFC92-5053-4E37-80B8-B65AD589C0DC@microsoft.com...
    > > Hi,
    > >
    > > I am looking for a grammar of excel formulas in any format(EBNF, BNF, yacc
    > > or in other notation). Is any around?
    > >
    > > Thanks in advance!!!
    > >

    >
    >
    >


  5. #5
    Registered User
    Join Date
    12-07-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Excel formula pasrsing - BNF, Yacc?

    Hi Arthur,

    I'm looking for the same thing which you have posted 7 years back i.e. "excel grammer in BNF or yacc or other formats". Could you please share the code or send me a copy to my personal email id: rameshsailla@gmail.com.

    Thanks in advance!!

    Thanks,
    Ramesh
    Last edited by Ramesh561; 12-07-2012 at 07:10 AM.

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Excel formula pasrsing - BNF, Yacc?

    Ramesh,

    This a very old thread and not likely to get any responses. Its better if you create a new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1