The Programming Language

Language Goals

How it looks

# A very basic HTTP server
require "http/server"

server = HTTP::Server.new(8080) do |request|
  HTTP::Response.ok "text/plain", "Hello world!"
end

puts "Listening on http://0.0.0.0:8080"
server.listen

Status

Community

Post a question or suggest something in our Google Group or join our IRC channel #crystal-lang at irc.freenode.net

Entries from our blog

??

Auto

A smarter compiler

&.

to_proc

Shortcut syntax for writing one-argument blocks

Hi

Hello World

The famous Hello World program written in different ways in Crystal