❮ TOC
❯
Introduction
- Crystal Language
- Crystal Shards (3rd party libraries)
- How to install 3rd party shards?
- Install Crystal
- Crystal in Docker on Linux
- Hello World (puts)
- Run Crystal source code
- Compile Crystal to executable
- Speed of Crystal
- Hello World (print)
- Hello Name (variables)
- Hello Name with interpolation
- Interpolation
- Escaping - Alternative quote as delimiters
- Debugging print p!
- Comments
- Code formatting
- Types - typeof
- Compound Types - typeof
- Add numbers - concatenate strings
- Add mixed strings and Integers
- Numeric Operators
- Methods of Int32
- Methods of Float64
- Program name
- Command line arguments - ARGV
- Early exit
- Rectangle
- True values
- Math - PI
- Read from STDIN
- Read number from STDIN
- Interactive environments
- Crystal one-liners
- Crystal and random numbers
- Exercise: Hello World
- Exercise: Hello Name - STDIN
- Exercise: Hello Name - ARGV
- Exercise: Circle STDIN
- Exercise: Circle ARGV
- Exercise: Calculator STDIN
- Exercise: Calculator ARGV
- Exercise: Age limit