Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pitr/aoc
Advent of Code
https://github.com/pitr/aoc
advent-of-code advent-of-code-2015 advent-of-code-2016 advent-of-code-2017 advent-of-code-2018 advent-of-code-2019 advent-of-code-2020 advent-of-code-2021 advent-of-code-2022 advent-of-code-2023 adventofcode aoc apl
Last synced: 14 days ago
JSON representation
Advent of Code
- Host: GitHub
- URL: https://github.com/pitr/aoc
- Owner: pitr
- Created: 2020-12-27T13:53:50.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-08T09:06:06.000Z (17 days ago)
- Last Synced: 2024-12-08T10:17:56.211Z (17 days ago)
- Topics: advent-of-code, advent-of-code-2015, advent-of-code-2016, advent-of-code-2017, advent-of-code-2018, advent-of-code-2019, advent-of-code-2020, advent-of-code-2021, advent-of-code-2022, advent-of-code-2023, adventofcode, aoc, apl
- Language: Ruby
- Homepage:
- Size: 1.06 MB
- Stars: 14
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code
My solutions to Advent of Code.
- 2015 - APL complete (missing 4 as it requires MD5)
- 2016 - APL complete (missing 5, 14, 17 as they require MD5)
- 2017 - APL complete
- 2018 - APL complete
- 2019 - Ruby complete
- 2020 - Mix of J/Ruby/APL, complete
- 2021 - APL complete
- 2022 - APL complete, some K
- 2023 - APL complete## APL setup
`⎕IO` is always assumed to be 0. Solutions developed iteratively in Sublime Text, using the Build system.
Requirements:
- [Dyalog APL](https://www.dyalog.com/)
- [Sublime Text](https://www.sublimetext.com/)
- [APL package for Sublime Text](https://github.com/StoneCypher/sublime-apl)### `~/.dyalog/dyalog.dcfg`
```
{ settings: {
Default_IO: 0,
Default_PP: 15,
Default_PW: 32767,
Dyalog_LineEditor_Mode: 1,
MAXWS: "4G",
Log_Size: "2M",
}}
```### `APL.sublime-build`
Custom build system that relies on dyalogscript.
Note: replace with your own /PATH/HOME, `~/` for home directory doesn't work.
```
{
"cancel": { "kill": true },
"cmd": [
"/usr/local/bin/dyalogscript",
"ConfigFile=/PATH/HOME/.dyalog/dyalog.dcfg",
"$file"
],
"selector": "source.apl"
}
```### `APL.sublime-settings`
```
{
"auto_complete": false,
"caret_style": "solid",
"draw_indent_guides": false,
"ensure_newline_at_eof_on_save": true,
"fold_buttons": false,
"font_face": "APL386 Unicode",
"font_size": 22,
"line_numbers": false,
"translate_tabs_to_spaces": true
}
```