https://github.com/christopheredsall/aoc-2019-chapel
Advent of Code for 2019 using Chapel
https://github.com/christopheredsall/aoc-2019-chapel
advent-of-code-2019 chapel chapel-language
Last synced: about 2 months ago
JSON representation
Advent of Code for 2019 using Chapel
- Host: GitHub
- URL: https://github.com/christopheredsall/aoc-2019-chapel
- Owner: christopheredsall
- License: lgpl-3.0
- Created: 2019-11-29T14:06:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-06T06:39:07.000Z (over 5 years ago)
- Last Synced: 2025-02-06T05:17:51.852Z (3 months ago)
- Topics: advent-of-code-2019, chapel, chapel-language
- Language: Chapel
- Size: 771 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aoc-2019-chapel
[](https://dev.azure.com/ce16990/AoC%202019%20Chapel/_build/latest?definitionId=5&branchName=master)
Advent of Code for 2019 using [Chapel](https://chapel-lang.org/)
## Get Chapel container from dockerhub
```ShellSession
[user@host]$ docker pull chapel/chapel
Using default tag: latest
latest: Pulling from chapel/chapel
Digest: sha256:e2cc6821af95681d8d5f3217644705ca66376a51378e5576a8e2e7b37f43260d
Status: Image is up to date for chapel/chapel:latest
docker.io/chapel/chapel:latest
```## Clone repo
```ShellSession
[user@host]$ git clone [email protected]:christopheredsall/aoc-2019-chapel.git
Cloning into 'aoc-2019-chapel'...
remote: Enumerating objects: 24, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 24 (delta 5), reused 15 (delta 2), pack-reused 0
Receiving objects: 100% (24/24), 6.07 KiB | 3.03 MiB/s, done.
Resolving deltas: 100% (5/5), done.
```## Build
```ShellSession
[user@host]$ cd aoc-2019-chapel
[user@host]$ make
cd day-0 && /Applications/Xcode.app/Contents/Developer/usr/bin/make
docker run --rm -v /Users/ce16990/chapel/aoc-2019-chapel/day-0:/usr/src/myapp -w /usr/src/myapp chapel/chapel chpl -o hello hello.chpl
Please update your PATH
chpl is now stored at /opt/chapel/1.20.0/bin/linux64-x86_64/chpl
the old path was /opt/chapel/1.20.0/bin/linux64/chpl```