Mars

  806 downloads
0.3.1 GPL v3    
  not rated
Mars Programming Language

description

download

specifications

changelog

Mars is a very simple imperative/declarative programming language with a catch: all of the functions and expressions are pure. That means when you call a function, it is guaranteed to have no side-effects, like mutating its arguments, much like Haskell or Erlang. But, unlike those other pure languages, Mars gives you all the nice features of imperative programming, like conditional statements and while loops.

(A minor caveat to the side-effects point: Mars does allow impure input and output, for simplicity, and also provides optional array mutation primitives, should you really need them).

Mars also has some other nice features borrowed from functional programming: a strong static type system, algebraic data types, pattern-matching switch statements, and higher-order functions.
READ MORE   
Last updated on October 27th, 2011

0 User reviews so far.

SUBMIT