LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hi

Using this example:
http://www.nongnu.org/bnf/#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

[EDIT]
To get the parser you best follow instructions under "anonymous cvs access":
http://savannah.nongnu.org/cvs/?group=bnf

Thanks in advance!

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:14 AM.

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