Richard Smith ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
..
BUILD 7f0f402f95 Add advent of code 2024 day 14 and day 15 part 1 solutions (#6597) vor 3 Monaten
README.md d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) vor 1 Jahr
day10_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day10_part1.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day10_part2.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day11_common.carbon c9e4761f0c Modernize some of our examples. (#5655) vor 10 Monaten
day11_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day11_part2.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day12_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day12_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) vor 10 Monaten
day12_part2.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) vor 10 Monaten
day13_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day13_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day13_part2.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day14_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day14_part1.carbon 7f0f402f95 Add advent of code 2024 day 14 and day 15 part 1 solutions (#6597) vor 3 Monaten
day14_part2.carbon 7f0f402f95 Add advent of code 2024 day 14 and day 15 part 1 solutions (#6597) vor 3 Monaten
day15_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day15_part1.carbon 7f0f402f95 Add advent of code 2024 day 14 and day 15 part 1 solutions (#6597) vor 3 Monaten
day1_common.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day1_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day1_part2.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day2_common.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) vor 1 Jahr
day2_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day2_part2.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day3_common.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day3_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day3_part2.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day4_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day4_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) vor 10 Monaten
day4_part2.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) vor 10 Monaten
day5_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day5_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) vor 1 Jahr
day5_part2.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) vor 1 Jahr
day6_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day6_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) vor 1 Jahr
day6_part2.carbon 57a2715f10 Remove support for `addr` (#6375) vor 5 Monaten
day7_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day7_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day7_part2.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day8_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day8_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) vor 10 Monaten
day8_part2.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) vor 10 Monaten
day9_common.carbon ce50f181f1 Add an interface for initialization of `var`s without an explicit initializer (#6934) vor 1 Monat
day9_part1.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
day9_part2.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten
io_utils.carbon 7f0f402f95 Add advent of code 2024 day 14 and day 15 part 1 solutions (#6597) vor 3 Monaten
sort.carbon 4ddba4ab1e Modernize advent of code examples (#6496) vor 4 Monaten

README.md

Advent of Code 2024

This directory contains sample solutions written in Carbon for Advent of Code 2024.

The Carbon toolchain is in a very early state, so these samples frequently need to work around missing functionality and are not reflective of expected Carbon style and idioms. Instead, the purpose of these examples are to test the current state of the toolchain against larger code examples than those that are present in the toolchain's own tests, to find bugs in the toolchain, and to drive feature development in the toolchain by presenting somewhat realistic testcases.

If one of these examples stops building after a change to the toolchain, please:

  • Make sure that the build break is an expected consequence of the change.
  • Update the BUILD file to exclude that example.
  • File an issue and assign it to @zygoloid.