mirror of
https://github.com/wezm/advent-of-code.git
synced 2024-12-18 18:29:55 +00:00
Update 2022 README
This commit is contained in:
parent
d2f60b0427
commit
a6ed0b6306
1 changed files with 9 additions and 17 deletions
|
@ -1,24 +1,16 @@
|
||||||
# advent_of_code
|
# Advent of Code 2022
|
||||||
|
|
||||||
[![Package Version](https://img.shields.io/hexpm/v/advent_of_code)](https://hex.pm/packages/advent_of_code)
|
This year I decided to forego my usual Rust solutions and try to solve the
|
||||||
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/advent_of_code/)
|
problems in [Gleam]. Gleam is a statically typed functional programming
|
||||||
|
language that runs on the Erlang virtual machine, or JavaScript engine
|
||||||
|
implemented in Rust. My code targets the Erlang VM.
|
||||||
|
|
||||||
A Gleam project
|
The Gleam code was written against version 0.25 of the language.
|
||||||
|
|
||||||
## Quick start
|
## Run
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
gleam run # Run the project
|
gleam run run n # Run AoC day n
|
||||||
gleam test # Run the tests
|
|
||||||
gleam shell # Run an Erlang shell
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installation
|
[Gleam]: https://gleam.run/
|
||||||
|
|
||||||
If available on Hex this package can be added to your Gleam project:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
gleam add advent_of_code
|
|
||||||
```
|
|
||||||
|
|
||||||
and its documentation can be found at <https://hexdocs.pm/advent_of_code>.
|
|
||||||
|
|
Loading…
Reference in a new issue