gedcom
gedcom copied to clipboard
A simple GEDCOM parser that focuses on translating GEDCOM structure into JSON.
I'm trying to run the cli and the help says this: jl:gedcom/ (main) $ gedcom --help [10:11:40] a simple and readable gedcom parser Usage $ parse-gedcom Options --type, -s Output...
I get a syntax error when I attempt to run this in an otherwise empty directory created just for trying to reproduce the error: ``` luke@opus95:/tmp$ mkdir gedcom luke@opus95:/tmp$ cd...
The website URL in the repository details (which is displayed under the description in the right-hand panel) should be updated from https://tmcw.github.io/parse-gedcom/live/ to https://tmcw.github.io/gedcom/live/
Names in GEDCOM look like `John /Smith/`. We should include a parser to make it easier to show a chart with the last name _not_ in slashes.
GEDCOM has a fancy date format that can express uncertainty. This project could include a parser of it. See also the Extended DateTime format https://github.com/sfomuseum/go-edtf
The tokenizer I've written is "one token per line", so it's not quite a real tokenizer. It would be useful, if we want to emit nice errors, to actually record...
Right now, this throws on unknown pointers. That isn't a viable strategy for the long run, and will break on a test of all fixtures.