Inger (programming language)
Encyclopedia
Inger is an educational programming language
Educational programming language
An educational programming language is a programming language that is designed primarily as a learning instrument and not so much as a tool for writing programs for real-world work.-Learning paths:...

 developed by Alex van Oostenrijk, Frank Benders, Dennis Meffert, Jan-Willem Haaring and Thijs Janssen at the Hogeschool van Arnhem en Nijmegen
Hogeschool van Arnhem en Nijmegen
The HAN University of Applied Sciences , often abbreviated as HAN, is a university of applied sciences with campuses in Arnhem and Nijmegen in the Netherlands. It offers Bachelor and Master degrees in a wide range of subjects. Arnhem Business School is the international department of HAN University...

 in the Netherlands
Netherlands
The Netherlands is a constituent country of the Kingdom of the Netherlands, located mainly in North-West Europe and with several islands in the Caribbean. Mainland Netherlands borders the North Sea to the north and west, Belgium to the south, and Germany to the east, and shares maritime borders...

, released in 2003. It was created to accompany the book "Compiler Construction - A Practical Approach." which discusses the development of a compiler from the ground up.

Inger is a simple imperative
Imperative programming
In computer science, imperative programming is a programming paradigm that describes computation in terms of statements that change a program state...

, strongly typed language, much like C
C (programming language)
C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system....

. It has C-interoperability (it can call C-functions, provided that one provides a header file that describes the C-function). Inger attempts to improve readability over the C language syntax by requiring braces for all block statements.

Sample code

This code outputs "Hello, world!":


module bottles;
  1. include "stdio.ih"


void sayhello: void -> void
{
printf( "Hello, world!" );
}

start hello: void -> void
{
sayhello;
}

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK