examples/helloworld/README.md
A program running the classic "Hello, world." learning example.
With a minimal Pony installation, in the same directory as this README file run ponyc. You should see content building the necessary packages, which ends with:
...
Generating
Reachability
Selector painting
Data prototypes
Data types
Function prototypes
Functions
Descriptors
Optimising
Writing ./helloworld.o
Linking ./helloworld
Once helloworld has been compiled, in the same directory as this README file run ./helloworld. You should see a brief hello.
$ ./helloworld
Hello, world.
Modify the program to say hello to a specific name by first commandline argument -- when no argument is given, default to the world.
$ ./helloworld Ryan
Hello, Ryan.
$ ./helloworld
Hello, world.