Algae (programming language)

From Wikipedia, the free encyclopedia

In computing, the algae programming language is an interpreted programming language for numerical analysis, a branch of mathematics. Its interpreter is available under GPL. The language was designed by Scott Hunziker and Mike Brennan.

Examples follow [1]:

# Print temperature conversions
fahr = sort (0:300:20, 32, 212);
Celsius = (5/9)*(fahr-32);
[fahr;Celsius]'?

# Read and sum some numbers
sum = 0;
$read = 1;
while ($read) { sum += readnum(); }
sum?

[edit] Advantages of Algae

  • Algae is a very fast language
  • Variables take up very little memory

[edit] The algae interpreter

The CLI interpreter for algae is licensed under the GPL. It is compatible with Unix-based operating systems. It was not yet ported to another operating system such as Microsoft Windows or Apple Macintosh.