Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 750 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 750 Bytes

Crystal language playground

Trying out some stuff in Crystal (API reference)

git clone git@github.com:rilian/crystal-playground.git && cd crystal-playground

Bubble sort

crystal bubble-sort.cr

or

crystal build bubble-sort.cr --release && ./bubble-sort

Hello world

crystal hello-world.cr

or

crystal build hello-world.cr --release && ./hello-world

HTTP Server and Client

In one terminal tab crystal http-server.cr In another tab crystal http-client.cr

or

In one terminal tab crystal build http-server.cr --release && ./http-server In another tab crystal build http-client.cr --release && ./http-client