Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/demonstrandum/adventusmmxxii
DIEBUS ADVENTVS MMXXII
https://github.com/demonstrandum/adventusmmxxii
advent-of-code advent-of-code-2022 hoon
Last synced: 14 days ago
JSON representation
DIEBUS ADVENTVS MMXXII
- Host: GitHub
- URL: https://github.com/demonstrandum/adventusmmxxii
- Owner: Demonstrandum
- Created: 2022-12-16T22:15:16.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-21T14:52:17.000Z (about 2 years ago)
- Last Synced: 2024-11-06T06:27:57.465Z (2 months ago)
- Topics: advent-of-code, advent-of-code-2022, hoon
- Language: hoon
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ADVENTVS
Hoc repositio:
- Hoon adventum.an opportunity to learn a bit of hoon.
### Running
Create a fakezod (`./urbit -F zod -c /path/to/fakezod`).
Copy source files over:
```sh
PIER=/path/to/fakezod ./zod.sh
```
Boot ship and commit files:
```console
$ ./urbit /path/to/fakezod
~zod:dojo> |commit %base
~zod:dojo> +nec
[part-1=68.787 part-2=198.041]
```
&c.### Counting in `@p`
```hoon
?> =(~nec 1)
?> =(~bud 2)
?> =(~wes 3)
?> =(~sev 4)
?> =(~per 5)
?> =(~sut 6)
?> =(~let 7)
?> =(~ful 8)
?> =(~pen 9)
?> =(~syt 10)
?> =(~dur 11)
?> =(~wep 12)
?> =(~ser 13)
?> =(~wyl 14)
?> =(~sun 15)
?> =(~ryp 16)
?> =(~syx 17)
?> =(~dyr 18)
?> =(~nup 19)
?> =(~heb 20)
?> =(~peg 21)
?> =(~lup 22)
?> =(~dep 23)
?> =(~dys 24)
?> =(~put 25)
%+ turn (gulf 1 25)
|= n=@ :- `@p`n `@ud`n
```