Solved

Parser to parse a fileformat for an application

Posted on 2006-06-21
2
230 Views
Last Modified: 2010-04-17
Hi,
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 ?
0
Comment
Question by:jambusar
2 Comments
 
LVL 4

Accepted Solution

by:
Flashjohny earned 135 total points
ID: 16950980
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 ??
0
 

Author Comment

by:jambusar
ID: 16950996
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.
Thanks
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now