第三章:编写你的第一个 Crystal 程序
编写你的第一个 Crystal 程序
$ vim hello.crputs "Hello World!"$ crystal hello.cr
Hello World!$ crystal hello.cr
Syntax error in ./hello.cr:1: unterminated char literal, use double quotes for strings
puts 'Hello World!'$ time crystal hello.cr
crystal hello.cr 0.30s user 0.20s system 154% cpu 0.326 totalLast updated