Hello World
Rascal syntax is similar to C/C++, but semi-colons (;) and brackets ({}) are not used. Rascal syntax is similar to Python in that white space (indenting) is significant -- this conveys the information the brackets previously did, and it makes Rascal code easier to understand as many people will use similar syntax/layout. Like Ruby, parenthesis are not needed for function calls and 'p' can be used to print (but C syntax is used for string formatting):
int main():
printf ("Hello!\n")
return 0
or
int main(): printf "Hello!\n" return 0or simply
int main(): p "Hello!\n" return 0
NEXT: Specifying build and deployment options

