Parser to parse a fileformat for an application

This is just a yes or no question.
I am working on an application.  Basically I have to upgrade the old format files to new format.
Do I need to use a lexical analyzer and a parser to do the job ?
Who is Participating?
FlashjohnyConnect With a Mentor Commented:
Generally the answer is no.
But it depends on the complexity of the file format
If you want to read a file format like a word file or a ISO file, then you can simply program an application in C and
make a program that would convert the format byte by byte...
If you could provide more insights on the application and the filetype or format then maybe I can enlighten you on the right approach to follow ??
jambusarAuthor Commented:
Thanks a lot buddy.
My colleague thinks so too..!!!!
Basically I was working on a cataloging solution. That's all I can disclose.
The previous format stored all categories on one file.
Now I need to change the format and store categories on different files.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.