Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-19-2006, 12:10 PM   #1
LQ Newbie
Registered: Nov 2005
Location: Poland, Bytom
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
BNF Parser generator - how to use it?


Using this example:
I created a sample.bnf file, converted to .C file uning bnf binary, created additional .C file with the function call (as in example), linked both with:
gcc -c sample.c sample1.c
compiled with
gcc sample.o sample1.o -o sample

and now what ?
It's supposed to convert "foo" to "bar" somehow but after running "sample" the program looks like it's waiting for an input but I write foo, ENTER nad nothing happens, same as when witing "sample foo" from shell

To get the parser you best follow instructions under "anonymous cvs access":

Thanks in advance!

Last edited by Enjo; 06-19-2006 at 12:12 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
Text Parser (TPM) Croaker Linux - Newbie 3 10-05-2005 12:18 AM
XMP parser DJOtaku Programming 1 04-15-2005 09:26 PM
How to test a parser? koyi Programming 0 10-27-2004 03:31 AM
SpamAssassin and Parser Kristijan Slackware 4 05-13-2004 11:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration