Darwin (programming language)
|Paradigm||imperative, structured, object-oriented|
|Designed by||Gaston Gonnet|
|Typing discipline||Dynamic, Strong|
|Filename extensions||.drw, (none)|
Darwin is a closed source programming language developed by Gaston Gonnet and colleagues at ETH Zurich.  It is used to develop the OMA orthology inference software, which was also initially developed by Gonnet. The language backend consists of the kernel, responsible for performing simple mathematical calculations, for transporting and storing data and for interpreting the user's commands, and the library, a set of programs which can perform more complicated calculations. The target audience for the language is the biosciences, so the library consisted of routines such as those to compute pairwise alignments, phylogenetic trees, multiple sequence alignments, and to make secondary structure predictions.
One would write the Hello World program as:
The following procedure calculates the factorial of a number:
factorial := proc ( n ) if (n=0) then return(1); else return(n * factorial(n-1)); fi; end:
- "Darwin v2.0: an interpreted computer language for the biosciences" (PDF). Retrieved 2017-11-10.
- "Personal page of Gaston Gonnet". Retrieved 2017-11-10.
- Haigh, Thomas (2005), Gaston Gonnet Oral history interview, 16–18 March, 2005, Zurich, Switzerland, Philadelphia, PA: Society for Industrial and Applied Mathematics
- "OMA Standalone". Retrieved 2017-11-10.
- "OMA: web-based database interface for orthology prediction". Retrieved 2017-11-10.
- "The Darwin Manual". Retrieved 2017-11-10.