By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,780 Members | 1,126 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,780 IT Pros & Developers. It's quick & easy.

String parsing

P: n/a
Hi all C.

Nead some help with string "on the fly" parsing, how it can be
realized ?
Any ideas? I got some of my own, but it's interesting to get other
points of view .

Regards.
Dec 11 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Dec 11, 3:44 pm, dimas...@gmail.com wrote:
Hi all C.

Nead some help with string "on the fly" parsing, how it can be
realized ?
C answer: strtok()

Other answer: use Yacc or Bison or the Gold Parser, etc.
Any ideas? I got some of my own, but it's interesting to get other
points of view .
Parsing is a pretty broad topic. If you need something compilicated,
they try news:comp.compilers
Otherwise, post your attempts and we will critique them.
Dec 12 '07 #2

P: n/a
di******@gmail.com wrote:
Nead some help with string "on the fly" parsing, how it can be
realized ?
I don't understand the question. What do you mean by 'string "on the fly"
parsing'? Is it different from just plain parsing?

Concrete examples help - they give us something to get our teeth into.

--
Chris "why yes, they are diamond, how did you know?" Dollin

Hewlett-Packard Limited registered office: Cain Road, Bracknell,
registered no: 690597 England Berks RG12 1HN

Dec 12 '07 #3

P: n/a

<di******@gmail.comwrote in message
Nead some help with string "on the fly" parsing, how it can be
realized ?
Any ideas? I got some of my own, but it's interesting to get other
points of view .
Read my MiniBasic pages to understand how to go about the process of
building a parser for mathematical expressions, programming languages, and
similar.

--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm

Dec 12 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.