Re: newbee help : parser in C

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rahul

    Re: newbee help : parser in C

    On Jun 20, 2:27 am, vaib <vaibhavpang... @gmail.comwrote :
    <snip>
    too long to quote.....
    <snip>

    <off-topic>
    Check out yacc(bison). It uses BNF and works very well with
    lex(flex). There is a good book from oreilly on flex and bison. They
    have implemented SQL parser as an example. That would be helpful for
    you. lex/yacc(flex/bison) has been used to implement some popular
    compilers. gcc also makes use of them.
    </off-topic>
  • vaib

    #2
    Re: newbee help : parser in C

    On Jun 20, 9:30 am, rahul <rahulsin...@gm ail.comwrote:
    On Jun 20, 2:27 am, vaib <vaibhavpang... @gmail.comwrote :
    <snip>
      too long to quote.....
    <snip>
    >
    <off-topic>
    Check out  yacc(bison). It uses BNF and works very well with
    lex(flex). There is a good book from oreilly on flex and bison. They
    have implemented SQL parser as an example. That would be helpful for
    you. lex/yacc(flex/bison) has been used to implement some popular
    compilers. gcc also makes use of them.
    </off-topic>
    oh yes i've got that book . its called 'lex and yacc' by John Levine .
    i'll surely do it . but i needed a simpler grammar .

    Comment

    Working...