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.