Language Introduction Language Introduction This course is targeted at novice Crystal programmers and conveys a basic understanding of the language’s core concepts. Prior progra...
offsetof offsetof An offsetof expression returns the byte offset of an instance variable in a struct or class type. It accepts the type as first argument and the instance vari...
Continuous Integration The example application Continuous Integration step by step Continuous Integration The ability of having immediate feedback on what we are working shoul...
Continuous Integration The example application Continuous Integration step by step Continuous Integration The ability of having immediate feedback on what we are working shoul...
C bindings C bindings Crystal allows you to bind to existing C libraries without writing a single line in C. Additionally, it provides some conveniences like out and to_unsafe...
C bindings C bindings Crystal allows you to bind to existing C libraries without writing a single line in C. Additionally, it provides some conveniences like out and to_unsafe...
Macros Scope Interpolation Macro calls parse_type Modules and classes Conditionals Iteration Variadic arguments and splatting Type information The top level module Method...
About this guide About this guide This is a formal specification of the Crystal language. You can read this document from top to bottom, but it’s advisable to jump through sect...
Methods and instance variables Getters and setters Redefining methods, and previous_def Catch-all initialization Methods and instance variables We can simplify our constructo...
Methods and instance variables Getters and setters Redefining methods, and previous_def Catch-all initialization Methods and instance variables We can simplify our construct...