https://github.com/ziwot/adventofcode2024
https://github.com/ziwot/adventofcode2024
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ziwot/adventofcode2024
- Owner: ziwot
- Created: 2024-12-01T18:49:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-01T06:31:34.000Z (about 1 year ago)
- Last Synced: 2025-06-24T07:08:12.446Z (12 months ago)
- Language: Lua
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
adventofcode2024
Install
```sh
luarocks install --lua-version=5.4 --tree=lua_modules inspect
```
Dev (using [fd](https://github.com/sharkdp/fd) & [entr](https://github.com/eradman/entr))
```sh
fd -e lua | entr lua -l setup day01.lua data/day01.txt
```
- https://stackoverflow.com/questions/11201262/how-to-read-data-from-a-file-in-lua#answer-46297236
- https://martin-fieber.de/series/lua/
- https://www.youtube.com/watch?v=CuWfgiwI73Q
- https://pdfhost.io/v/YkVYUK8Om_Lua_patterns_cheatsheet