Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dustinmichels/pl-phylogeny

Evolutionary trees of programming languages, derived from analagous code snippets.
https://github.com/dustinmichels/pl-phylogeny

bioinformatics evolution phylogenetic-trees programming-languages python

Last synced: 13 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Programming Language Phylogeny

Phylogenetic tree of programming languages constructed from code snippets

> STATUS: Early! In progress.

## Samples

![Early Tree](images/tree.png)

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

![Jupyter code](images/c_cpp.png)
![Jupyter code](images/c_py.png)

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

## Setup

```bash
# 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...

```bash
conda env create -f full_env.yml
```

Also helpful:

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

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