Mercurial > repos > rhope
comparison hello.rhope @ 105:43cc42df26cc
Various compiler improvements
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 24 Aug 2010 23:22:17 -0400 |
parents | 76568becd6d6 |
children |
comparison
equal
deleted
inserted
replaced
103:7428aa5d6ade | 105:43cc42df26cc |
---|---|
2 This is the classic "Hello World" program in Rhope | 2 This is the classic "Hello World" program in Rhope |
3 */ | 3 */ |
4 | 4 |
5 //All programs in Rhope must have a Main worker | 5 //All programs in Rhope must have a Main worker |
6 //This is where execution of a Rhope program begins | 6 //This is where execution of a Rhope program begins |
7 Main[] | 7 Main[:out] |
8 { | 8 { |
9 //The Print worker prints a line of text to the terminal | 9 //The Print worker prints a line of text to the terminal |
10 Print["Hello Rhope Programming!"] | 10 out <- Print["Hello Rhope Programming!"] |
11 } | 11 } |