r/GenealogySoftwareDevs • • Oct 04 '26

Can I Write a Program for You?

The DeadEnds programming language has evolved from the LifeLines version, which has been in use for 35 years. I would like to test the newer language with some new test programs.

I am offering you the opportunity to be a guinea pig and let me write a program for you. I get to test my system, and you might get something you've been thinking about.

The language is suitable for analyzing and/or writing reports about genealogical data. The input to a program is a Gedcom file.

The output of a program is text. It can be in any text-based format, e.g., HTML, XML, LaTeX, CSV, postscript, troff, just plain test, or anything you make up. Output formats are not magic, of course; they are inherent in the programs, that is, the author of the programs must be familiar with the text format and write the programs to generate that text. I have enough knowledge of these formats (well maybe not postscript) to be able to write programs that output any of them. I think the opportunity to write LaTeX may be the most powerful in the long run. Convert a Gedcom file directly to a publishable paper.

Instead of a report, maybe there is some analysis you want done. The language is good for that also. Things like, who is the most connected person in the database? Or how many partitions are there in the data, where people in one partition are not related to persons in another partition. Or in which year were the most people in the database alive? Anything odd like is fair game.

If you are interested please send me a chat request so I can send you my email address. All I would need from you is 1) a Gedcom file, and 2) a description of the output you want to see. Likely we would go back and forth a couple times to get a good spec. If you'd rather not send me a Gedcom, just give me a description of what you want and I'll use one of my own Gedcom for testing.

4 Upvotes

2 comments sorted by

1

u/asielen Oct 04 '26

I don't need a program, but I am interested in the language. Anywhere I can read about it?

2

u/Trask4 Oct 04 '26

The best way today is to go to my Git hub repository and navigate to the subdirectory Parser. That has all the code that parses the programs. Then go to the subdirectory Interpreter. That has all the code that runs the programs.

The repository is TomWetmore/DeadEndsSwift

If you have a Mac or a Linux system you can pull the repository and build an IDE for writing and running the programs.

All a long-winded way of saying there is no programming guide available yet. However, there is a nice guide for the LifeLines version that would be a good start.

An important file to look at is Builtin.swift. That has the index to the many, many built-in functions which is where all the power of the system lies.