https://github.com/luismayo/advent-of-code-2022
Answers for advent of code 2022. Writen in Rust/Typescript
https://github.com/luismayo/advent-of-code-2022
advent-of-code advent-of-code-2022 deno rust typescript
Last synced: 2 months ago
JSON representation
Answers for advent of code 2022. Writen in Rust/Typescript
- Host: GitHub
- URL: https://github.com/luismayo/advent-of-code-2022
- Owner: LuisMayo
- Created: 2022-11-30T21:17:32.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-15T20:14:43.000Z (over 3 years ago)
- Last Synced: 2025-06-26T19:47:26.957Z (about 1 year ago)
- Topics: advent-of-code, advent-of-code-2022, deno, rust, typescript
- Language: Rust
- Homepage:
- Size: 76.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# advent-of-code-2022
Solutions to 2022's advent of code written in Rust until the 9th day. Written in Deno's Typescript from 10th onwards https://adventofcode.com/2022
Previous advents of code (in Typescript)
- [2020](https://github.com/LuisMayo/advent-of-code-2020)
- [2021](https://github.com/LuisMayo/advent-of-code-2021)
## Getting Started
### Prerequisites
- [Rust](https://rustup.rs/)
- [Deno](https://deno.land/#installation): Typescript runtime
### Use
All examples should be run from within the project's root
Up to the 9th (included) day you have to run it using Rust and this command
`cargo run --bin d${day}${{part}}`
For instance
`cargo run --bin d1p2`
From the 10th day onwards you have to run it with Deno using this command
`deno run --allow-read .\src\day${day}\src\part${part}.ts`
For instance
`deno run --allow-read .\src\day10\src\part2.ts`
## Contributing
This project is a little game to play during christmas, not a project with any real implications. Pull Requests will not be accepted as a result, unless they correct typos.