Last active
September 17, 2015 11:03
-
-
Save quintesse/1fefd0bf47695087ff13 to your computer and use it in GitHub Desktop.
Ceylon Web Runner: Test 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//$webrun_wrapped | |
shared void run() { | |
// The classic "hello world" in Ceylon | |
print("Hello world!"); | |
// This prints the same text: | |
String str = "world"; | |
print("Hello ``str``!"); | |
// Click "Run" below to run the program. | |
// It is converted to JavaScript and runs directly in your browser! | |
// Select a sample on the right to load it into this editor. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Click here to run this code online