Solved

Parser to parse a fileformat for an application

Posted on 2006-06-21
2
228 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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…

920 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

15 Experts available now in Live!

Get 1:1 Help Now