Exercises for personal study of Crystal-Lang, frameworks and related topics.
- Install Crystal (0.35.1, version used) LLVM: 8.0.0
- After the clone this repo, enter in the exercise of your interest and run it. Ex:
cd hello-worldandcrystal hello_world.cr - (optional) To create and run an executable binary, ex:
crystal build hello_world.crand./hello-world - (optional) To create and run an executable binary with optimizations enabled, ex:
crystal build hello_world.cr --releaseand./hello-world
- π² hello_world/hello_world.cr: Hello world
- π΄ hello_world/hello_world_class.cr: Hello world with classes
- π΄ recursive_exercises/factorial.cr: Get factorial of number
- (in process others exercises...)
Contributions welcome; Please submit all pull requests the against master branch.
Stivenson Rincon