Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
The Crystal Programming Language
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
bin CI: pass `--threads=1` for compiling the compiler and specs Feb 9, 2019
etc Small typo fix in bash completion Apr 4, 2018
man Docs: Update man page with new options (#5554) (#6259) Jun 27, 2018
samples
scripts
spec Implement Int#{leading,trailing}_zeros_count (#7520) Mar 20, 2019
src Add missing `require` statements for the API (A-N) (#7564) Mar 22, 2019
.dockerignore
.editorconfig Mark .editorconfig as root (#6031) May 1, 2018
.gitignore Fix docs path in .gitignore and Makefile (#5217) Oct 31, 2017
.travis.yml Run formatter in travis. Update /bin/ci usage instructions (#7390) Feb 7, 2019
BACKERS.md
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE to include forum (#7301) Jan 11, 2019
LICENSE Update LICENSE's copyright year (#7246) Jan 1, 2019
Makefile Makefile: Use preview-overflow flag by default Jan 22, 2019
README.md
VERSION Update CI to use 0.27.1 (#7359) Feb 2, 2019
Vagrantfile

README.md

Crystal

Travis CI Build Status CircleCI Build Status Join the chat at https://gitter.im/crystal-lang/crystal Bountysource Code Triagers Badge


born-and-raised

Crystal is a programming language with the following goals:

  • Have a syntax similar to Ruby (but compatibility with it is not a goal)
  • Statically type-checked but without having to specify the type of variables or method arguments.
  • Be able to call C code by writing bindings to it in Crystal.
  • Have compile-time evaluation and generation of code, to avoid boilerplate code.
  • Compile to efficient native code.

Why?

We love Ruby's efficiency for writing code.

We love C's efficiency for running code.

We want the best of both worlds.

We want the compiler to understand what we mean without having to specify types everywhere.

We want full OOP.

Oh, and we don't want to write C code to make the code run faster.

Project Status

Crystal is still under heavy development. There can be breaking changes but we're trying to keep them as minimum as possible.

The development is possible thanks to the community's effort, 84codes' support, and every BountySource supporter.

Installing

Follow these instructions

Try it online

play.crystal-lang.org

Documentation

Community

Questions or suggestions? Ask on the Crystal Forum, on our Gitter channel or IRC channel #crystal-lang at chat.freenode.net, or on Stack Overflow under the crystal-lang tag. There is also an archived Google Group.

Contributing

Read the general Contributing guide, and then:

  1. Fork it (https://github.com/crystal-lang/crystal/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
You can’t perform that action at this time.