The Crystal Programming Language
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Update CI to use 0.27.0 (#7018) Nov 3, 2018
bin Update CI to use 0.27.0 (#7018) Nov 3, 2018
etc Small typo fix in bash completion Apr 4, 2018
man Docs: Update man page with new options (#5554) (#6259) Jun 27, 2018
samples Replace `Indexable#at` with `#fetch` (#6296) Oct 28, 2018
scripts Unicode: update to version 11.0.0 Aug 9, 2018
spec Validate LibC error codes in specs involving Errno errors (#7087) Nov 17, 2018
src Fix URI encoding in StaticFileHandler::DirectoryListing (#7072) Nov 20, 2018
.dockerignore Dockerfile now uses `make`. Fixes build after addition of LLVM extens… Sep 9, 2015
.editorconfig Mark .editorconfig as root (#6031) May 1, 2018
.gitignore Fix docs path in .gitignore and Makefile (#5217) Oct 31, 2017
.travis.yml CI: make travis retry the build (#7043) Nov 7, 2018
BACKERS.md Fix in BACKERS.md Aug 13, 2015
CHANGELOG.md Fix `#unix_ms` to `#to_unix_ms` in CHANGELOG.md (#7024) Nov 7, 2018
CODE_OF_CONDUCT.md Modify CoC contact section Feb 18, 2016
CONTRIBUTING.md Fix docs path in .gitignore and Makefile (#5217) Oct 31, 2017
ISSUE_TEMPLATE.md Issue template: say that you should search a bug before submitting it Sep 21, 2016
LICENSE Update LICENSE's copyright year Jan 1, 2018
Makefile Add VERSION file (#6966) Oct 24, 2018
README.md Update Contributing section in README.md (#6911) Oct 10, 2018
VERSION Update CI to use 0.27.0 (#7018) Nov 3, 2018
Vagrantfile Change from `bash` to `sh` (#5468) Jan 2, 2018

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 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