Language syntax

Plang uses a C-style syntax for statements, and a Prolog-style syntax for expressions (usually called terms). The simplest application is the traditional "Hello World":

:- import(stdout).

main(Args)
{
    stdout::writeln("Hello World!");
}

See the Hello World example for a more complex introduction to Plang's syntax.

The following sections describe the various aspects of the Plang syntax:


Generated on 26 May 2011 for plang by  doxygen 1.6.1