Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.35 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.35 KB

crystal-lang_tensors-app

This is the first app I've made with the Crystal programming language (https://crystal-lang.org/) using the Crystal compiler (https://crystal-lang.org/reference/1.3/using_the_compiler/index.html) This specific app also uses the num.cr core shard to make arrays.

Also explained in my Dev.to tutorial

Installation

git clone https://github.com/andrewrgarcia/crystal-lang_tensors-app.git

cd crystal-lang_tensors-app

shards install

Usage

Designed as a template to develop tensor (higher-order arrays) calculations.

Development

cd crystal-firstapp

`crystal build src/crystal-firstapp.cr -o myapp` 		#Fast compilation
'''OR'''
`crystal build src/crystal-firstapp.cr -o myapp --release` 	#Compile in release mode (optimized app)

Deployment

./myapp

Contributing

  1. Fork it (https://github.com/your-github-user/crystal-lang_tensors-app/fork)
  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

Contributors