Skip to content

Evolutionary trees of programming languages, derived from analagous code snippets.

Notifications You must be signed in to change notification settings

dustinmichels/PL-phylogeny

Repository files navigation

Programming Language Phylogeny

Phylogenetic tree of programming languages constructed from code snippets

STATUS: Early! In progress.

Samples

Early Tree

Fig 1. Tree based on MULT "gene", ie multiply(a, b) { return a * b}

Jupyter code Jupyter code

Fig 2. Jupyter Notebooks examples of aligning "sequences" with needleman-wunsch algorithm and computing similarity score.

Setup

# create conda env
conda env create -f environment.yml

# activate
conda activate phylo

# install dev dependencies
pip install -r dev-requirements.txt

# run Jupyter Lab
jupyter lab

Alternatively...

conda env create -f full_env.yml

Also helpful:

# remove environemt
conda remove --name phylo --all

# export env to file
conda env export > full_env.yml