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.