Solved

Parser to parse a fileformat for an application

Posted on 2006-06-21
2
226 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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
maxMirror challenge 10 88
scoresAverage challenge 8 75
triangle challenge 4 75
nestparen challenge 4 55
RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

771 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

12 Experts available now in Live!

Get 1:1 Help Now