Crystal JavaScript HTML Shell C++ CSS Other
Latest commit 8514651 Sep 29, 2017 @asterite asterite Merge pull request #5024 from asterite/feature/128-bit-integers
Add Int128 and UInt128
Permalink
Failed to load latest commit information.
bin ci: run std and compiler specs separately Aug 19, 2017
etc Refresh zsh completion (#4284) Apr 13, 2017
man Introduce crystal --stdin-filename source flag to compile source from… Sep 18, 2017
samples Add Crystal.main Sep 18, 2017
scripts .downcase(Unicode::CaseOptions::Fold) using char ranges (#4512) Jun 11, 2017
spec Merge pull request #5024 from asterite/feature/128-bit-integers Sep 29, 2017
src Merge pull request #5024 from asterite/feature/128-bit-integers Sep 29, 2017
.dockerignore Dockerfile now uses `make`. Fixes build after addition of LLVM extens… Sep 9, 2015
.editorconfig Added .editorconfig. Fixes #297 Dec 7, 2014
.gitignore Support LLVM 5.0 (#4821) Sep 8, 2017
.travis.yml Remove travis OSX build Sep 9, 2017
BACKERS.md Fix in BACKERS.md Aug 13, 2015
CHANGELOG.md Up to date Crystal changelog (#4854) Aug 31, 2017
CODE_OF_CONDUCT.md Modify CoC contact section Feb 18, 2016
CONTRIBUTING.md Update CONTRIBUTING.md Feb 10, 2017
Dockerfile Don't include `libs` in CRYSTAL_PATH anymore Dec 23, 2016
Dockerfile.release Updated Dockerfile.release to build 0.23.0: Jul 7, 2017
ISSUE_TEMPLATE.md Issue template: say that you should search a bug before submitting it Sep 21, 2016
LICENSE Update LICENSE year range Jan 6, 2017
Makefile Support LLVM 4.0 postfixed versions Sep 20, 2017
README.md Add CircleCI badge to README Sep 12, 2017
Vagrantfile [vagrant box] add Debian distribs Sep 10, 2017
circle.yml OSX builds on CircleCI (#4412) May 13, 2017

README.md

Crystal

Travis CI Build Status CircleCI Build Status 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.

Status

  • The project is in alpha stage: we are still tweaking the language and standard library.
  • The compiler is written in Crystal.

Installing

Follow these instructions

Try it online

play.crystal-lang.org

Documentation

Community

Questions or suggestions? Ask in our Google Group, join our IRC channel #crystal-lang at chat.freenode.net, ask on our Gitter channel or ask on Stack Overflow under the crystal-lang tag.

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