Menu

Grammar for ncap2 scripts?

Developers
2006-01-09
2013-10-17
  • Daniel L. Wang

    Daniel L. Wang - 2006-01-09

    Hi all (but mostly Henry),

    Is there a spec for the ncap2 grammar in BNF, EBNF, or ANTLR form?  I'm guessing there is a rough one in the last format, at least.  I will need to have some sort of parse tree to be able to distribute the data processing, so I'm hoping to share/reuse/help with the parser work. 

    I've been trying to avoid the grammar part for a while, but I will need to have at least really simple grammar in order to get things done, so I would like to take a look at what you've got.

    I don't mind if things are rough or unfinished-- I just want to get a better idea.

    Thanks!
    -Daniel

     
    • Nobody/Anonymous

      Hi Daaniel,
      I sent the ANTLR grammer file calc.g
      to wangd@uci.edu
      Did you recieve it ?
      My emails been playing up a bit !!!
      Regards Henry

       
      • Daniel L. Wang

        Daniel L. Wang - 2006-01-11

        Hi Henry,

        I did indeed receive it.  Although I'm not too familiar with the ANTLR syntax yet, the grammar seems readable so far.  Once I get going with it, I'll think a little on how to solve your nested comments problem.

        Thanks for sending it so promptly!

        Cheers,
        -Daniel

         

Log in to post a comment.