• Advertisement
Sign in to follow this  

Parsing Structured Text Files

This topic is 4475 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey Everyone, I am currently trying to write some java code to parse a structured text file. I was wondering if there are any on-line tutorials to help me, or maybe somewhere to download code? Thanks! Anita.

Share this post


Link to post
Share on other sites
Advertisement
You may wish to look up "parser generators" or go directly to something like ANTLR. If the text file conforms to an existing format, you may be able to find a parser for that format. For example, there are dozens of different XML parsers available.

Share this post


Link to post
Share on other sites
Thanks for that,

I am actually trying to parse Half Life 2 vmf files which are basically structured text. What I am looking for is something that will parse some structured text that is not xml...something basic that I can get to grips with, compile and then build on...so far I have only found extremly complex java parsers for xml which I cant get my head around,

Anita.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement