Inger (programming language)
Inger is an educational programming language developed by Alex van Oostenrijk, Frank Benders, Dennis Meffert, Jan-Willem Haaring and Thijs Janssen at the Hogeschool van Arnhem en Nijmegen in the Netherlands, 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, strongly typed language, much like C. 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[edit]
This code outputs "Hello, world!":
module bottles;
#include "stdio.ih"
void sayhello: void -> void
{
printf( "Hello, world!" );
}
start hello: void -> void
{
sayhello( );
}
External links[edit]
- Inger history, language specification and syntax diagrams
- Inger sample code printing the song "99 Bottles of beer"
- Inger Sourceforge project download page
- "Compiler Construction: a Practical Approach", a book about compiler construction from the ground up using Inger as a sample language
This article "Inger (programming language)" is from Wikipedia. The list of its authors can be seen in its historical. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.