Hello World Program in Crystal
puts "Hello World!"
Crystal is based on the Ruby syntax,
and there are a lot of similarities.
puts, for example, is a function that outputs the string argument to the stdout.
Crystal is, however, a statically typed programming language unlike Ruby.
If you run this script, you will get the following output:
If you are interested in learning Crystal programming, then go ahead and set up a development environment.
- Next Step: Crystal development environment setup