bartwe / plukc

The pluk language compiler.

Clone this repository (size: 858.9 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/bartwe/plukc/

Tour

Hello World

Lets start with the quintessential hello world program.

class HelloWorld extends Application
{
        override void Main()
        {
                WriteLine("hello world");
        }
}
  • When compiled creates a binary with the same name as the class.
  • An instance of the class is created and then Main is called.
  • Main is an overridden method from Application.
  • The Application base class provides access to the command line arguments and console.

This revision is from 2010-01-23 14:59