Microsoft Store
 

Algae programming language


 

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.

Related Topics:
Computing - Interpreted - Programming language - Numerical analysis - Mathematics - GPL

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Examples follow http://algae.sourceforge.net/algae_3.html#SEC3:

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

  • Print temperature conversions
  • fahr = sort (0:300:20, 32, 212);

    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

    celsius = (5/9)*(fahr-32);

    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

    '?

    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

  • Read and sum some numbers
  • sum = 0;

    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

    $read = 1;

    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

    while ($read) { sum += readnum(); }

    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

    sum?

    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~