Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appgurueu/aoc
Advent of Code solutions
https://github.com/appgurueu/aoc
Last synced: 8 days ago
JSON representation
Advent of Code solutions
- Host: GitHub
- URL: https://github.com/appgurueu/aoc
- Owner: appgurueu
- Created: 2022-12-03T16:45:04.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-25T17:51:55.000Z (12 months ago)
- Last Synced: 2024-10-28T20:57:52.205Z (about 2 months ago)
- Language: Lua
- Size: 155 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Advent of Code solutions
## Folder structure
* ``
* `src`: Implementations
* `/1.lua`: Part 1 solution
* `/2.lua`: Part 2 solution
* MIT-licensed
* `input`
* `.txt`: Input file
* Copyright 2015-2022 Advent of Code. All rights reserved.
* `test.lua`: Regression tests
* `run.lua`: Utility to run files
* Usage: `./run.lua `
* Requires ~~Lua 5.4~~ LuaJIT (for speed);
most should also run with PUC Lua 5.1 or newer
* Files are chunks getting a line iterator in `...`
and `return`ing the solution