/prog-lang-traits

Basic information on programming language traits

Primary LanguageRGNU General Public License v3.0GPL-3.0

Basic information about programming languagei traits that can be used to create a phylogenetic tree showing language similarity (based on some trait), such as the one below.

Blog post discussing the issues and decisions.

New language trait files go in: lang-info

To regenerate the lang.csv file (read by the code that generates the trees), run:

mkcsv.sh > lang-info/lang.csv

The R code contains some consistency checks on the file contents, e.g., look for binary operator counts being lower/higher than the corresponding operators (such as there being more pluses than minuses).

If a new trait is created, the mkcsv.awk file needs to be updated to recognise it.

Language similarity based on their keywords

and

based on their binary operators