in Englishin Deutsch

433 Examples in 132 (or 162*) programming languages
* including the different dialects

Copyright © 2000, 2001, 2002, 2003 by Michael Neumann (mneumann@ntecs.de)
last change: Sunday, 30.11.2003, 18:17:52 by Michael Neumann

If you should find errors on this page or have questions, proposals or further program-examples or languages, you can send me an email to: mneumann@ntecs.de.

Here you can see these pages in only one HTML-page!

Languages: A+, ABAP, ABC, Ada ( Ada 83, Ada 95, Ada 9X(95) ), Aleph, Algae, ALGOL ( ALGOL 60 ), Amos, APL, ASP (Active Server Pages) ( JavaScript, VBScript ), Assembler ( 6502, Apple II (II+, IIe, IIC), IBM Assembler/370 (VM/CMS), Intel 80x86 (DOS, MASM), Intel 80x86 (DOS, TASM), Intel 80x86 (gas/NetBSD), Intel 80x86 (nasm/NetBSD(aout)), Intel 80x86 (nasm), MIDAS PDP-10 (MIT Incompatible Timesharing System), MIPS R2000, Motorola 68000 (ATARI), VAX ), awk, BASIC, BCPL, Befunge, BETA, Blue, Brain, BrainF*ck, C, C#, C++ ( DOS/Windows, DOS/Windows (obsolete C++) ), Cilk, CLAIRE, Clipper, COBOL, Concurrent Clean, Cook, COSY INFINITY, C-Talk, Curl, Cyclone, D, dBASE, DOS Batch, Dylan, E, Eiffel ( SmallEiffel ), Emerald, Erlang, Euphoria, FISh, FOP, Forth ( ANS Forth, ANS Forth, pForth ), Fortran ( Fortran 77, Fortran 90 ), FOX, Gofer, Haskell ( Glasgow Haskell Compiler (GHC) ), HB (Hyper Builder), Hope, HPGL, HTML, IBM EXEC ( IBM EXEC (VM/CMS), IBM EXEC2 (VM/CMS) ), Icon, J, Java, JavaScript, Jovial, K, Labview, LaTeX, Leda, LIRL, Lisp ( Common Lisp, Emacs Lisp ), Logo, Lout, Lua, Make, Mercury, merd, Miranda, Moby, Modula ( Modula-2, Modula-3 ), mpC, MUMPS, NESL, Oberon, Objective-C, Objective Caml, Obliq, Octave, Ook, Oz/Mozart, Parrot, Pascal ( ISO-7185 ), Perl, Phantom, PHP ( PHP3 ), Pico, Pike, PL/0, PL/0E, PL/1, PL/SQL, Pliant, Postscript, Profan, Prolog, Python, R, Ratfor, Rebol, REXX, Ruby, Sather, Scheme, Shell-Sprachen ( csh, es (Extensible Shell), sh,ksh,zsh,bash, sh,ksh,zsh,bash,csh,es, WSH (Windows Scripting Host), zsh ), Simula ( Simula 67 ), Sina, Sirius, Sisal, Smalltalk, SML ( SML/NJ ), SNOBOL ( SNOBOL4 ), SQL ( Oracle SQL ), Superbase, Tcl ( Tcl/Tk ), TI-83 Graphing Calculator, TOM, Turing, TXL, UFO, UML (Unified Modeling Language), VHDL, Vim, WebL, WML (Wireless Markup Language), XPL0, Yacas, YAFL, Yoix, Yorick

Following languages are missing (241, that are in no case all!): 4DOS, 4TH, ABCL/1, ABE, Acore, Act/1, Act/2, Act/3, Actor, Actors, Actra, AeonicScript, Agora, Alfonzo, Algae, ANTLR, Argus, ART, ASP, B, BEAST, Befunge, Berkeley Smalltalk, BISON, Bistro, Blaze, Brouhaha, C mit Klassen, C+-, C-Linda, Caché ObjectScript, Caml, Cantor, Cause, Cayenne, Cecil, CH, Chakotay, Charm, Cid, Clarity, Clascal, Classic Ada, Clay, Clean, Clipper, CLOS, Clu, Cluster 86, ColdC, Common Loops, Common Objects, Common ORBIT, Concurrent Prolog, Concurrent Smalltalk, Coral66, CP, CSSA, CST, cT, Curl, Curry, Delphi, Demeter, Director, Distributed Smalltalk, Dynace, EB, EBL, Eclipse, EcmaScript, Elan, Elegant, Elf, Eli, Elisp (Emacs-Lisp), Escher, Esterel, Expect, ExperCommonLisp, Extended Smalltalk, Felix Pascal, Ficl, FIJI, Flavors, FOOPlog, FOOPS, Forte', Freemarker, FRL, Galileo, Garp, Gentle, GJ (Generic Java), GLISP, Goedel, Guile, Gypsy, HP VEE, HPGL2, Hybrid, ICI, IDL, Inferno, Inheritance, InnovAda, INTERCAL, Intermission, IPL, Jade, Jasmine, Joule, Jovial (Jules' own version of IAL (international algorithmic language)), KL-One, KL1, KRL, KRS, Lagoona, Laure, Lens, LEX, LIFE, Limbo, Linda, Little Smalltalk, LL, LOOPS, Lore, LPC (Lars Pensjö C), Lua, Lucid, Lyric, Mace, MACSYMA, MALAGA, Maple, Mathematica, Mawl, MELD, Mercury, MetaHTML, Mjolner, ModPascal, MOM, Morphe, mpC, Mutt, Napier88, Neon, New Flavors, NIL, O-CPU, OakLisp, Object Assembler, Object Cobol, Object Lisp, Object Logo, Object Oberon, Object Pascal, ObjVLisp, Occam, Omega, OmniMark, OOPC, OOPS+, OPAL, OPL, Orbit, Orca, Orient84/K, OTM, PaL, Parsec, pC++ Sage++, PCOL, PF, PIE, Pilot, Pizza, PL/LL, PLAN, Plankalkül, Plasma II, POOL-T, Pop-11, PROCOL, Prometheus, PROMOTER, Quick Pascal, Quicktalk, Rebus, RIGAL, ROIS NPL, ROSS, S3L, SAL, SAST, SCOOP, SCOOPS, Scotty, sed, Self, SGML, Simscript, Smalltalk AT, Smalltalk V, Smallworld, SOUL (Smalltalk Open Unification Language), Spanner, SPOOL, SR, SRL, STROBE, T, T-Cham, Tempo, Tex, Theta, Tipi, Transframe, Trellis/Owl, Turing, TXL, Tycoon, µLPC, Uniform, UNITS, V, VBScript, VHDL, VIRT, Vulcan, WebMacro, WML (Website Meta Language), XLISP, XML, XSL, YACC, Yodl, Z, Zoom/VM ...

ChangeLog

| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | R | S | T | U | V | W | X | Y |



A+  
    Hello World    19.09.2001
    Squares    19.09.2001
    Squares 2-dimensional    19.09.2001

ABAP  
    Hello World    19.07.2002

ABC  
    Hello World
    Squares

Ada  
    Hello World    Ada 83
    Hello World    Ada 95
    OO - Shape, Circle, Rectangle    Ada 95    10.06.2002
    Squares    Ada 9X(95)    23.06.2000

Aleph   functional
    Factorial    09.07.2000
    Hello World    09.07.2000
    Squares    09.07.2000

Algae  
    Hello World    05.12.2002
    Misc    16.05.2003
    Squares (1)    05.12.2002
    Squares (2)    05.12.2002

ALGOL  
    Hello World (1)    ALGOL 60
    Hello World (2)    ALGOL 60
    Squares    ALGOL 60

Amos  
    Hello World

APL  
    Hello World
    Squares
    Squares 2-dimensional

ASP (Active Server Pages)  
    Hello World    JavaScript    17.12.2000
    Hello World    VBScript    17.12.2000

Assembler  
    Hello World    6502, Apple II (II+, IIe, IIC)    29.11.2001
    Hello World    IBM Assembler/370 (VM/CMS)    17.12.2000
    Squares    IBM Assembler/370 (VM/CMS)    10.01.2000
    Hello World    Intel 80x86 (DOS, MASM)    30.12.2001
    Hello World    Intel 80x86 (DOS, TASM)
    Hello World    Intel 80x86 (gas/NetBSD)    25.09.2000
    Hello World    Intel 80x86 (nasm/NetBSD(aout))    25.09.2000
    Fast and Good Hash Function    Intel 80x86 (nasm)    20.06.2002
    Hello World    MIDAS PDP-10 (MIT Incompatible Timesharing System)    30.12.2001
    Squares    MIDAS PDP-10 (MIT Incompatible Timesharing System)    30.12.2001
    Hello World    MIPS R2000    01.05.2002
    Hello World    Motorola 68000 (ATARI)
    Hello World    VAX    30.12.2001

awk  
    Hello World    09.09.2000
    Squares    09.09.2000

BASIC  
    Hello World
    Squares

BCPL  
    Hello World    30.12.2001

Befunge  
    Squares (1)    06.05.2001
    Squares (2)    07.05.2001

BETA  
    Hello World
    Loop-Test
    Squares

Blue  
    Hello World    24.06.2000

Brain  
    Factorial    25.04.2001
    Hello World    25.04.2001
    Squares    25.04.2001

BrainF*ck  
    Hello World    31.12.2001
    Squares    03.11.2001

C  
    Calculate PI    03.12.2002
    Hello World
    Multi-Threaded (forking) Echo-Server    09.01.2002
    Single-Threaded (non-forking) Echo-Server    09.01.2002

C#  
    Hello World    28.06.2000
    Squares (1)    28.06.2000
    Squares (2)    28.06.2000

C++  
    Boyer-Moore Search    20.07.2001
    BubbleSort    20.07.2001
    BucketSort    20.07.2001
    gcd    20.07.2001
    Hash1    20.07.2001
    hashpjw    20.07.2001
    Hello World (1)    25.04.2001
    Hello World (2)    25.04.2001
    Hello World (standard)    28.09.2003
    InsertionSort    20.07.2001
    MergeSort    20.07.2001
    QuickSort    20.07.2001
    SelectionSort    20.07.2001
    ShellSort    20.07.2001
    Hello World (1)    DOS/Windows
    Hello World (2)    DOS/Windows (obsolete C++)

Cilk  
    Hello World
    Squares

CLAIRE  
    Hello World
    Squares

Clipper  
    Hello World    09.09.2000
    Squares    30.11.2003

COBOL  
    Hello World

Concurrent Clean   functional
    Ackermann    15.04.2002
    Array Access    15.04.2002
    Factorial    15.04.2002
    Fibonacci    15.04.2002
    Hello World
    Hello World    29.05.2003
    Squares
    String Concatenation    15.04.2002

Cook  
    Hello World    01.01.2002
    Squares    01.01.2002

COSY INFINITY  
    Hello World    25.06.2000

C-Talk  
    Eulersche Number (1)    25.06.2000
    Eulersche Number (2)    25.06.2000
    Factorial    25.06.2000
    Hello World    25.06.2000
    Squares    25.06.2000

Curl  
    Hello World    29.11.2001

Cyclone  
    Hello World    05.07.2003

D  

dBASE  
    Hello World    09.09.2000

DOS Batch  
    Hello World
    Numbers

Dylan   functional
    Hello World
    OO - Shape, Circle, Rectangle    30.05.2002
    Squares

E   functional
    Hello World    24.06.2000
    Squares

Eiffel  
    Hello World
    Hello World    SmallEiffel    31.10.2001

Emerald  
    Hello World
    Squares

Erlang   functional
    Hello World
    Squares

Euphoria  
    Discouragement example    19.10.2000
    Hello World
    Squares

FISh   functional
    Hello World    19.03.2001
    Squares (1)    19.03.2001
    Squares (2)    19.03.2001

FOP  
    Hello World    01.05.2002

Forth  
    CGI Squares    23.09.2001
    Discouragement example
    Hello World (1)
    Hello World (2)
    Loop-Test
    Squares    19.09.2001
    Absolute value    ANS Forth    04.09.2003
    Factorial    ANS Forth    20.09.2001
    Factorial    ANS Forth, pForth    20.9.2001

Fortran  
    Hello World    Fortran 77    08.10.2000
    Squares    Fortran 77    08.10.2000
    Hello World    Fortran 90
    Matrix Multiplication    Fortran 90    02.06.2003

FOX  
    Hello World    09.09.2000

Gofer   functional
    Ackermann    30.10.2001
    ADT Stack    30.10.2001
    Factorial    13.10.2000
    gcd    30.10.2001
    Hello World    13.10.2000
    Length of a list    30.10.2001
    MergeSort    30.10.2001

Haskell   functional
    Factorial (1)    03.08.2001
    Factorial (2)    03.08.2001
    Fibonacci    31.12.2001
    HaXml Demo Application    18.10.2001
    Hello World
    InsertionSort    04.07.2003
    InsertionSort (2)    04.07.2003
    Quicksort
    Squares (1)
    Squares (2)
    Squares (3)    16.10.2001
    Squares (4)    31.12.2001
    Hello World    Glasgow Haskell Compiler (GHC)    23.02.2003

HB (Hyper Builder)  
    Hello World    04.07.2000
    Simple HTML-form    04.07.2000

Hope   functional
    Hello World
    Squares

HPGL  
    Hello World    22.07.2002

HTML  
    Hello World

IBM EXEC  
    Hello World    IBM EXEC (VM/CMS)    17.12.2000
    Hello World    IBM EXEC2 (VM/CMS)    17.12.2000

Icon  
    Hello World
    Squares

J  
    Eulersche Number (1)
    Eulersche Number (2)    09.11.2001
    Hello World
    Squares (1)
    Squares (2)    23.02.2001

Java  
    Hello World (Applet)
    Hello World (Application)
    Hello World (Servlet)    11.10.2000
    Hello World (Swing-GUI)    23.09.2001
    Multi-threading    30.12.2001

JavaScript  
    Hello World (1)
    Hello World (2)    02.12.2001
    Squares    02.12.2001

Jovial  

K  
    Eulersche Number    24.06.2000
    Factorial (iterative)    24.06.2000
    Factorial (recursive)    24.06.2000
    Hello World    24.06.2000
    Squares (1)    24.06.2000
    Squares (2)    24.06.2000

Labview  
    Complex Example    28.11.2002

LaTeX  
    Factorial    31.12.2001
    Fibonacci    31.12.2001
    Hello World    24.09.2000
    Squares    31.12.2001

Leda  
    Hello World
    Squares

LIRL   functional
    Factorial    01.05.2002
    Fibonacci Sequence    01.05.2002
    Hello World    01.05.2002

Lisp   functional
    Hello World
    Factorial (iterative)    Common Lisp    19.04.2002
    Factorial (recursive)    Common Lisp    19.04.2002
    Hello World    Common Lisp    19.04.2002
    OO - Shape, Circle, Rectangle    Common Lisp    19.04.2002
    Squares (1)    Common Lisp    17.11.2001
    Squares (2)    Common Lisp    19.04.2002
    Squares (3)    Common Lisp    19.04.2002
    Squares    Emacs Lisp

Logo  
    Hello World

Lout  
    Hello World    25.09.2000

Lua  
    Factorial    23.09.2001
    Hello World    23.09.2001
    Squares (1)    23.09.2001
    Squares (2)    23.09.2001

Make  
    Hello World    09.09.2000
    Squares    09.09.2000

Mercury  
    Factorial    29.05.2003
    Hello World    29.05.2003
    Length of a list    29.05.2003

merd   functional
    Factorial    22.10.2001
    Hello World    22.10.2001
    Squares (1)    22.10.2001
    Squares (2)    22.10.2001

Miranda   functional
    Factorial (1)    30.10.2001
    Factorial (2)    30.10.2001
    gcd    29.10.2001
    Hello World    29.10.2001
    Quicksort    29.10.2001
    Squares (1)    29.10.2001
    Squares (2)    29.10.2001

Moby   functional
    Hello World    14.06.2003

Modula  
    Hello World    Modula-2
    Hello World    Modula-3
    Squares    Modula-3

mpC  

MUMPS  
    Hello World (1)    30.03.2001
    Hello World (2)    30.03.2001
    Hello World (interpreted mode)    30.03.2001
    Sorting    30.03.2001
    Squares (1)    30.03.2001
    Squares (2)    30.03.2001
    Squares (interpreted mode)    30.03.2001

NESL   functional
    Hello World
    Squares

Oberon  
    Hello World

Objective-C  
    Hello World (1)
    Hello World (2)
    Squares

Objective Caml   functional
    Factorial (1)    03.03.2001
    Factorial (2)    03.03.2001
    gcd    03.03.2001
    Hello World    13.01.2001
    InsertionSort    04.07.2003
    Length of a list    03.03.2001
    Squares (functional)    13.01.2001
    Squares (imperative)    03.03.2001
    Squares (recursive)    13.01.2001
    XML-RPC parser    26.07.2001

Obliq  
    Hello World
    Squares

Octave  
    Hello World    24.06.2000
    Squares    1.10.2000

Ook  
    Squares    03.11.2001

Oz/Mozart   functional
    Factorial (1)    25.04.2001
    Factorial (2)    25.04.2001
    Factorial (3)    25.04.2001
    Factorial (4)    25.04.2001
    Hello World
    Hello World (2)    29.11.2002
    Squares (1)
    Squares (2)    26.02.2001

Parrot  
    Hello World    02.11.2001
    Squares    02.11.2001

Pascal  
    Hello World
    Hello World    ISO-7185    28.09.2003

Perl  
    Factorial (1)    23.09.2001
    Factorial (2)    12.11.2001
    Hello World
    References    23.09.2001
    Squares (1)
    Squares (2)    23.09.2001
    Squares (3)    21.10.2001
    Squares (4)    09.11.2001
    Substitution

Phantom  
    Hello World
    Squares

PHP  
    Hello World    PHP3
    Squares    PHP3

Pico   functional
    Eulersche Number    26.06.2000
    Factorial    26.06.2000
    Hello World    26.06.2000
    Squares (1)    26.06.2000
    Squares (2)    26.06.2000

Pike  
    Factorial    25.06.2000
    Hello World    25.06.2000
    Squares (1)    25.06.2000
    Squares (2)    25.06.2000

PL/0  
    Hello World    25.06.2000
    Squares    25.06.2000

PL/0E  
    Hello World
    Squares

PL/1  
    Hello World    17.12.2000
    Squares    10.01.2001

PL/SQL  
    Hello World    07.10.2000
    Squares    07.10.2000

Pliant   functional
    Factorial    26.06.2000
    Hello World    26.06.2000
    Squares    26.06.2000

Postscript  
    Hello World

Profan  
    Hello World
    Squares

Prolog  
    Factorial
    Finite Domain Constraint Programming    11.04.2003
    Hello World

Python  
    gcd    20.07.2001
    Hello World
    OO - Shape, Circle, Rectangle    01.11.2001
    QuickSort    20.07.2001
    Squares (1)
    Squares (2)

R  
    Hello World    03.11.2000
    Squares (1)    03.11.2000
    Squares (2)    03.11.2000

Ratfor  
    Hello World    30.12.2001

Rebol  
    Factorial (1)    17.11.2000
    Factorial (2)    17.11.2000
    Hello World
    Squares (1)
    Squares (2)
    Squares (3)    17.11.2000

REXX  
    Hello World
    Quicksort    14.05.2001
    Squares (1)
    Squares (2)

Ruby  
    Binary Search Tree    30.09.2001
    Calculate PI    20.07.2001
    Calculate PI    25.11.2003
    Factorial    08.10.2000
    Factorial (2)    13.11.2001
    Factorial (tail-recursive)    25.09.2001
    gcd    20.07.2001
    Hash1 - Standard hash-function    19.05.1999
    hashpjw    20.07.2001
    Heapsort    06.10.2001
    Hello World (1)
    Hello World (2)    25.10.2001
    OO - Shape, Circle, Rectangle    01.11.2001
    Quicksort    19.05.1999
    RC4    25.07.2001
    Sieve of Eratosthenes    16.10.2001
    Squares (1)
    Squares (2)
    Squares (3)    09.08.2000
    Squares (4)    09.10.2001

Sather  
    Factorial    03.09.2001
    Hello World
    Squares (1)    03.09.2001
    Squares (2)    03.09.2001
    Squares (3)    03.09.2001

Scheme   functional
    Factorial    05.11.2000
    Hello World (1)    05.11.2000
    Hello World (2)    01.03.2001
    Squares (1)    05.11.2000
    Squares (2)    01.03.2001

Shell-Sprachen  
    Squares    csh    24.09.2000
    Squares    es (Extensible Shell)    26.09.2000
    Factorial    sh,ksh,zsh,bash    24.06.2000
    Squares    sh,ksh,zsh,bash    24.06.2000
    Hello World    sh,ksh,zsh,bash,csh,es    24.06.2000
    Hello World    WSH (Windows Scripting Host)    29.11.2001
    Bookmark Script    zsh    20.07.2001

Simula  
    Hello World    Simula 67
    Squares    Simula 67

Sina  
    Hello World

Sirius  
    Hello World
    Squares

Sisal   functional
    Hello World
    Squares

Smalltalk  
    Hello World
    Quicksort
    Squares (1)
    Squares (2)    06.08.2000

SML   functional
    Hello World
    Squares (1)
    Squares (2)
    Word Tokenizer    20.06.2002
    Hello World    SML/NJ    17.06.2002

SNOBOL  
    Factorial    SNOBOL4    26.06.2000
    Hello World    SNOBOL4    26.06.2000
    Squares    SNOBOL4    26.06.2000

SQL  
    Hello World
    Hello World    Oracle SQL    4.10.2000

Superbase  
    Hello World    07.01.2002

Tcl  
    Hello World
    Squares
    Substitution
    Hello World    Tcl/Tk

TI-83 Graphing Calculator  
    Eulersche Number    07.01.2002
    Hello World    07.01.2002
    Squares    07.01.2002

TOM  
    Hello World
    Squares

Turing  
    Factorial    07.05.2001
    Hello World    07.05.2001
    Squares    07.05.2001

TXL   functional
    Bubblesort    07.05.2001
    Hello World    07.05.2001
    Squares    07.05.2001

UFO   functional
    Hello World
    Squares

UML (Unified Modeling Language)  
    OO - Shape, Circle, Rectangle (1)    01.11.2001
    OO - Shape, Circle, Rectangle (2)    01.11.2001

VHDL  
    Hello World    07.01.2002

Vim  
    Hello World    24.09.2000
    Squares    24.09.2000

WebL  
    Factorial    24.06.2000
    Hello World    24.06.2000
    Squares (1)    24.06.2000
    Squares (2)    24.06.2000

WML (Wireless Markup Language)  
    Hello World

XPL0  
    Hello World    12.05.2001
    Squares    12.05.2001

Yacas  
    Factorial (1)    26.09.2000
    Factorial (2)    26.09.2000
    Hello World    26.09.2000

YAFL  
    Hello World    30.06.2000

Yoix  
    Factorial    04.09.2001
    Hello World (1)    04.09.2001
    Hello World (2)    04.09.2001
    Squares (1)    04.09.2001
    Squares (2)    04.09.2001

Yorick  
    Eulersche Number    27.06.2000
    Factorial    27.06.2000
    Hello World    27.06.2000
    Squares (1)    27.06.2000
    Squares (2)    27.06.2000







Copyright © 2000, 2001, 2002, 2003 by Michael Neumann (mneumann@ntecs.de)