Hello World in Wren was written by:
This article was written by:
If you see anything you'd like to change or update, please consider contributing.
Personally, I'm getting hints of Java and Python here just in terms of syntax.
At any rate, let's break it down. Obviously, we only have one line, but it's at least a little more interesting than most scripting languages.
For starters, we have the built-in
System class. This class
comes with the core module along with a few other goodies like
Now, one of the functions of
String using the
toString functionality, a method available to all objects.
So, basically we call the static method print of the
which prints the input to the user. How cool is that?
Alternatively, you can use an online Wren interpreter.