Shard Detail

cardiac v0.1.0

A CARDIAC emulator written in Crystal.

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development

  github: ap971/CARDIAC


CARDIAC Emulator

This is a CARDIAC emulator written in crystal. I used the CARDIAC emulator written by Jacob Krall and the CARDIAC emulator written by weibell as reference implementations. I would also like to thank members of the crystal language community who were of help. Big thanks goes to both these groups!


To install this program:

  1. Clone this repository using Git: git clone <project url>
  2. Build the executable: crystal build


./cardiac <program path>

./cardiac examples/printneg.cardiac


If you find any bugs or any other problems, please create a new issue.


  1. Fork it (
  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