Richard Smith c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) пре 10 месеци
..
BUILD d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) пре 1 година
README.md d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) пре 1 година
day10_common.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) пре 10 месеци
day10_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) пре 10 месеци
day10_part2.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) пре 10 месеци
day11_common.carbon c9e4761f0c Modernize some of our examples. (#5655) пре 10 месеци
day11_part1.carbon c9e4761f0c Modernize some of our examples. (#5655) пре 10 месеци
day11_part2.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) пре 10 месеци
day12_common.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) пре 10 месеци
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 c9e4761f0c Modernize some of our examples. (#5655) пре 10 месеци
day13_part1.carbon c9e4761f0c Modernize some of our examples. (#5655) пре 10 месеци
day13_part2.carbon c9e4761f0c Modernize some of our examples. (#5655) пре 10 месеци
day1_common.carbon 24bde46181 Change array syntax from [T; N] to array(T, N) (#4981) пре 1 година
day1_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) пре 10 месеци
day1_part2.carbon 24bde46181 Change array syntax from [T; N] to array(T, N) (#4981) пре 1 година
day2_common.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) пре 1 година
day2_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) пре 1 година
day2_part2.carbon 24bde46181 Change array syntax from [T; N] to array(T, N) (#4981) пре 1 година
day3_common.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) пре 1 година
day3_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) пре 1 година
day3_part2.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) пре 1 година
day4_common.carbon 24bde46181 Change array syntax from [T; N] to array(T, N) (#4981) пре 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 c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) пре 10 месеци
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 24bde46181 Change array syntax from [T; N] to array(T, N) (#4981) пре 1 година
day6_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) пре 1 година
day6_part2.carbon c9e4761f0c Modernize some of our examples. (#5655) пре 10 месеци
day7_common.carbon c9e4761f0c Modernize some of our examples. (#5655) пре 10 месеци
day7_part1.carbon c9e4761f0c Modernize some of our examples. (#5655) пре 10 месеци
day7_part2.carbon c9e4761f0c Modernize some of our examples. (#5655) пре 10 месеци
day8_common.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) пре 10 месеци
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 c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) пре 10 месеци
day9_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) пре 1 година
day9_part2.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) пре 1 година
io_utils.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) пре 10 месеци
sort.carbon 24bde46181 Change array syntax from [T; N] to array(T, N) (#4981) пре 1 година

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.