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

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.