NavigateThe C Code generatorTestimonials

XMLBooster's C Code generator

The C Code generator included in XMLBooster is extremely efficient, and is aimed at cases where performance is of paramount importance (See our benchmarks):

  • Generates a parser (to convert an XML input to a valid C data structure) as well as an unparser (to convert the C data structure back to an XML stream).
  • Generates standard ANSI C code, that can be compiled on virtually any platform, including NT, Linux, Unix, etc.
  • Supports its own allocation mechanism within fixed size buffers for faster memory management and no memory leak possible.
  • Mainly macro-based, to avoid the overhead of function calls for a number of primitives called from within tight loops.
  • Can generate pointer-free (Flat mode) as well as truly hierarchical data structures, with inheritance and polymorphism.
  • Inheritance is simulated by concatenating data structures.
  • Error recovery is implemented by a number of convenient macros, so that failure to parse does not abort the program.
  • Fully supports regular expressions: a data element can be attached to a regular expression, which will be used to validate the data fetched from the incoming XML message at parse time.

© 2002-2011 XMLBooster -- the fast XML parser generator -- comments to webmaster@xmlbooster.com