Tuesday, June 01, 2004

I'm experimenting with a project which will need some complicated file parsing abilities and I don't want to go the XML route for various reasons.  Therefore, I am looking for a parsing framework built to take advantage of the CLR.  Everything seems to be a port of some archaic C library, or some Java framework that's been modified to produce C# code.  I'm used to being able to do a simple Google search to find the kinds of libraries I need, but I'm getting very few good hits for this.  I've only built a few pieces of code that really qualify as parsers over the years, so maybe its my inexperience that's my problem, but it just seems like it ought to be easier to find a good tool.

We've had enough time for the CLR tools to take on their own identity and take advantage of the CLR rather than remain lagging clones of their Java or C++ counterparts.  I see this in almost every space.  There just seems to be a huge hole for file parsing.  Maybe most CLR developers have embraced XML as the one and only file format.  But, when it comes to human-edited files or content, XML is pretty cumbersome and bloated.

For now, I've settled on Grammatica, which is the most straightforward (and working) parser generator thus far.  It's written in Java, but that's not a big deal.  The problem is that its output is Java-centric, and only modified slightly to be C# code.  It's got callbacks instead of events to handle tokens or products.  I found myself modifying the output (a no-no in code generation) to make it simpler before I realized I'd just be doing it again if I changed my grammar.  So, I'm really frustrated and just ranting, but I should be able to mold it to my purposes.

posted on Tuesday, June 01, 2004 4:50:40 PM (Pacific Standard Time, UTC-08:00)  #    Comments [0]
Related posts:
LinqToStdf now on CodePlex
Image Slicer for Deep Zoom in Silverlight 2
Silverlight limitations and Constrained Callvirt in IL
What are the generic Delegates in the framework for?
What is System.__Canon and why is it on my stack?
Adding support for .ashx-based views in ASP.net MVC
Tracked by:
"apple vinegar diet pills nursing or breastfeeding" (apple vinegar diet pills nu... [Trackback]
"water brook publishers" (water brook publishers) [Trackback]
"sleep apnea symptom%27s" (sleep apnea symptom%27s) [Trackback]
"porsche 928 for sale" (porsche 928 for sale) [Trackback]
"Louisiana Tech University" (Louisiana Tech University) [Trackback]
"edm machining" (edm machining) [Trackback]
"fantasy cruse" (fantasy cruse) [Trackback]
"incentivos mallorca" (incentivos mallorca) [Trackback]
"temperature controlled oven" (temperature controlled oven) [Trackback]
"cipro used for" (cipro used for) [Trackback]
"tiger woods girlfriend" (tiger woods girlfriend) [Trackback]
"real dark black bitches thick asses" (real dark black bitches thick asses) [Trackback]
"fishing tackle catalogs" (fishing tackle catalogs) [Trackback]
"home made weed killer" (home made weed killer) [Trackback]
"resort in sedona arizona" (resort in sedona arizona) [Trackback]
"masturbating techniqus for women" (masturbating techniqus for women) [Trackback]
"Pennsylvania funeral" (Pennsylvania funeral) [Trackback]
"porsche 928 body kits strosek" (porsche 928 body kits strosek) [Trackback]
"erotic massage brooklyn" (erotic massage brooklyn) [Trackback]
"land forsale in diboll tx" (land forsale in diboll tx) [Trackback]
"film location scouts" (film location scouts) [Trackback]
"2033 paddock lane norco california" (2033 paddock lane norco california) [Trackback]
"distance education master health" (distance education master health) [Trackback]
"extreme pizza issaquah" (extreme pizza issaquah) [Trackback]
"horseback riding vacation in richmond virginia" (horseback riding vacation in r... [Trackback]
"bruce hardwood flooring" (bruce hardwood flooring) [Trackback]
"restaurant hospitality" (restaurant hospitality) [Trackback]
"hp jornada 928 pocket pc" (hp jornada 928 pocket pc) [Trackback]