Sign inSign up

100hellos/crystal

By 100hellos

•Updated 4 months ago

"Hello World!" Written in crystal

Image
0

5.1K

100hellos/crystal repository overview

⁠Hello World! From crystal.

Language page⁠ — context, influences, and learning notes on the 100hellos site.

Source on GitHub⁠ (100hellos/crystal)

⁠Trying it

docker run --rm --platform="linux/amd64" 100hellos/crystal:latest

⁠Modifying it

Read the repo README⁠, or fork the project⁠ and customize it.

For an interactive shell:

docker run --rm --platform="linux/amd64" --entrypoint="" -it 100hellos/crystal:latest zsh

⁠Crystal

Crystal is an object-oriented programming language intended to bring Ruby-style syntax to a compiled language with static type checking. From Wikipedia⁠:

With syntax inspired by the language Ruby, it is a compiled language with static type-checking, but specifying the types of variables or method arguments is generally unneeded. Types are resolved by an advanced global type inference algorithm.

The included sample program demonstrates the definition of a class, basic object instantiation, and a simple method call.

Tag summary

Content type

Image

Digest

sha256:9f4e15856…

Size

151.7 MB

Last updated

4 months ago

docker pull 100hellos/crystal