Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paweljakubas/my-advent-of-code
Solutions to advent of code in Haskell, Rust, Julia and J
https://github.com/paweljakubas/my-advent-of-code
Last synced: 4 days ago
JSON representation
Solutions to advent of code in Haskell, Rust, Julia and J
- Host: GitHub
- URL: https://github.com/paweljakubas/my-advent-of-code
- Owner: paweljakubas
- License: gpl-3.0
- Created: 2021-10-28T18:36:15.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T16:08:00.000Z (26 days ago)
- Last Synced: 2024-10-22T04:03:52.594Z (25 days ago)
- Language: Haskell
- Homepage:
- Size: 177 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Running Haskell code
```
stack solution.hs "tests"
cat input.txt | stack solution.hs "part1"
cat input.txt | stack solution.hs "part2"
```### Running J code (after entering jconsole)
```
0!:1 < 'solution.ijs'
```### Running Rust code
```
// before you run first time: cargo install rust-script
rust-script --test solution.rs
rust-script solution.rs input.txt part1
rust-script solution.rs input.txt part2
```