Menu

how to generate the input grammar file

Help
2003-04-18
2003-04-19
  • Nobody/Anonymous

    Hi Alec,

    I Has such sentence like 'a > 1 && b < 2 || ln(x) == 1' .I want to parse it to a tree struct's class.
    How can i write the .cg file.Where can i find the article about the grammar or the tool that can automatically generate the file.

    best regards

     
    • Alec Panovici

      Alec Panovici - 2003-04-18

      http://cppcc.sourceforge.net/docs.php

      should give you some answers

      alec.

       
    • Nobody/Anonymous

      Hi alec,

      Thank for your help.But the page i can't open it.it showed me : socket Error Connection to Remote host timed out.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.