LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-04-2003, 11:18 AM   #1
liguorir
Member
 
Registered: May 2003
Posts: 256

Rep: Reputation: 30
Question Parsing.


1) What's the best language to use for parsing?

2) What functions are used for parsing in C++?

3) What functions are used for parsing in C?

4) Please compare parsing functions between C and C++.

Thanks entirely,

Robert Liguori
 
Old 09-04-2003, 03:17 PM   #2
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
parsing what? there are as far as i know, no functions specifically designed for parsing in either the c or c++ standard libraries. theres strtok but thats merely a string tokenizer, nothing more. i would look into flex/bison if you want a parser. if thats not good enough then hang around the comp.compilers newsgroup and ask a few questions.
 
Old 09-04-2003, 04:56 PM   #3
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Re: Parsing.

Quote:
Originally posted by liguorir
1) What's the best language to use for parsing?
A parser generator

Quote:
2) What functions are used for parsing in C++?

3) What functions are used for parsing in C?

4) Please compare parsing functions between C and C++.
Just use bison or one of its equivalents.
 
  


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
parsing proc shukla_chanchal Linux - General 2 11-01-2005 12:29 PM
Need help with file parsing BrianK Programming 2 09-02-2005 05:58 PM
Parsing with Vim mijohnst Linux - General 2 06-18-2004 09:38 AM
parsing a webpage help please mrtwice Programming 3 04-25-2003 12:25 PM
php not parsing chens_83 Linux - General 9 02-19-2003 04:53 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:58 PM.

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