crystal-programming

Repository to host all programs written in crystal

Crystal Programming

A collection of programs, experiments, and demonstrations written in the Crystal Programming Language.

Features

  • Performance: Crystal is compiled to efficient native code (via LLVM).
  • Type Safety: Static type checking without the verbosity of other languages.
  • Ruby-like Syntax: Productive and expressive syntax inspired by Ruby.

Getting Started

Prerequisites

To run the programs in this repository, you need to have Crystal installed on your system.

Linux (Debian/Ubuntu)

curl -fsSL https://crystal-lang.org/install.sh | sudo bash

macOS

brew install crystal

For other platforms, please refer to the official installation guide.

Installation

Clone the repository:

git clone https://github.com/shishir-simha/crystal-programming.git
cd crystal-programming

Running Programs

You can run Crystal programs directly using the crystal run command:

crystal run cli_demo/beatles_cli.cr

To compile a program into a native executable:

crystal build cli_demo/beatles_cli.cr
./beatles_cli

Repository Structure

  • cli_demo/: Contains command-line interface demonstrations.
    • beatles_cli.cr: A demo CLI application.
  • LICENSE: Apache License 2.0.

Contributing

Feel free to open issues or submit pull requests if you have any Crystal programs you'd like to add!

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Repository

crystal-programming

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • about 12 hours ago
  • January 18, 2026
License

Apache License 2.0

Links
Synced at

Sun, 18 Jan 2026 16:39:48 GMT

Languages