The GEDCOM parser library
Hosted by 
 
The GEDCOM parser library is a C library that provides an API to applications
to parse, process and write arbitrary genealogy files in the standard GEDCOM format.
Some quick links:
This library is used by Genes,
have a look there too...  The Gedcom parser library is now in beta,
but Genes is still in a somewhat early development stage.  
Requirements
  - either glibc 2.2 or higher, or libiconv (see README in package)
 
To compile the package, you'll need:
To compile from the CVS sources, you'll need in addition:
  
  - autoconf
 
  - automake
 
  - flex
 
  - bison (won't work with plain yacc !)
 - perl
   
Features
  - portable to any POSIX systems (libiconv is needed on systems that lack glibc 2.2, see README)
    
 - strict callback-based parser written in C (using lex/yacc), a
C object model interface is also available (cf. difference SAX/DOM in XML)
    
   
  - supports the GEDCOM 5.5 standard fully
    
 - supports the standard encoding formats (ASCII, ANSEL, UNICODE),
but extensible via a configuration file to other encoding formats; by default
ANSI is also supported
    
   
  - all strings passed from callbacks to the using program are in UTF-8 format
    
   
  - internationalization of the error and warning messages
    
   
  - specific parsing of date values to a calendar-neutral date system (Julian
days aka serial day numbers); the date parser can be called separately and dates can be manipulated
    
   
  - specific parsing and checking of cross-references
    
 - specific parsing of age values
    
 - support for writing Gedcom files (both in line-by-line format, or via the Gedcom object model)
    
   
  - "compatibility-mode"
parsing, to allow for not-exactly-standard  syntaxes used by other genealogy
programs; currently, compatibility is added for ftree, Lifelines, PAF (version
2, 4 and 5), FamilyOrigins and EasyTree.
 
© Peter Verthez
Last modification: 9 February 2003