This is a collection of programs in different languages and dialects to implement a command-line version of a program to display the Mandelbrot set.
Basically the test case is to display a 140 x 50 (extra points if that is controllable as a parameter) area of -2 to 1 (real part) and -1 to 1 (imaginary part) of the Mandelbrot set. Most programs display a "-" if the corresponding point is not in the Mandelbrot set, a "*" if it is. The depth is also ususally a parameter, for example 1000 or 10000, or hardcoded into the program.
The result looks like this (smaller version):
------------------------------------------------------------
------------------------------------****--------------------
------------------------------------****--------------------
------------------------------*--**********-----------------
------------------------------*****************-------------
----------------------------*******************-------------
---------------------------*********************------------
-----------------*******--**********************------------
----------------*********-**********************------------
**********************************************--------------
----------------*********-**********************------------
-----------------*******--**********************------------
---------------------------*********************------------
----------------------------*******************-------------
------------------------------*****************-------------
-----------------------------*--**********-----------------
------------------------------------****--------------------
------------------------------------****--------------------
------------------------------------------------------------
----------------------------------------*-------------------
You are allowed to use this code in any production system, without any warranty from my side. If Mars landers krash because of this, don't come to me, crying.
This used to be a gist, but it has grown a bit, so I am moving it to a real repository.