Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidmoten/gedcom
Scala library to parse GEDCOM files (common genealogy format)
https://github.com/davidmoten/gedcom
Last synced: 29 days ago
JSON representation
Scala library to parse GEDCOM files (common genealogy format)
- Host: GitHub
- URL: https://github.com/davidmoten/gedcom
- Owner: davidmoten
- License: apache-2.0
- Created: 2014-01-08T10:55:17.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-15T12:08:45.000Z (almost 11 years ago)
- Last Synced: 2024-10-14T07:45:56.289Z (2 months ago)
- Language: Scala
- Size: 266 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gedcom - gedcom - Scala library to parse GEDCOM files (common genealogy format) (Parsers / Scala)
README
Scala project to parse gedcom 5.5 and 5.5.1 files into an abstract syntax tree (AST).
Usage:
import com.github.davidmoten.gedcom._
val tree = new Tree(inputStream)
//get the abstract syntax tree to be traversed as you wish
val ast = tree.root
//tree.refs and tree.ref are convenience methods that point
//xref links to the relevant tree nodes
println(tree.refs.mkString("\n"))Status: *pre-alpha*