Richard Smith 20ac6b9270 Remove logging prints from advent example. (#6057) hai 7 meses
..
BUILD d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) hai 1 ano
README.md d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) hai 1 ano
day10_common.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day10_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day10_part2.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day11_common.carbon c9e4761f0c Modernize some of our examples. (#5655) hai 10 meses
day11_part1.carbon c9e4761f0c Modernize some of our examples. (#5655) hai 10 meses
day11_part2.carbon 20ac6b9270 Remove logging prints from advent example. (#6057) hai 7 meses
day12_common.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day12_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day12_part2.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day13_common.carbon c9e4761f0c Modernize some of our examples. (#5655) hai 10 meses
day13_part1.carbon c9e4761f0c Modernize some of our examples. (#5655) hai 10 meses
day13_part2.carbon c9e4761f0c Modernize some of our examples. (#5655) hai 10 meses
day1_common.carbon 24bde46181 Change array syntax from [T; N] to array(T, N) (#4981) hai 1 ano
day1_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day1_part2.carbon 24bde46181 Change array syntax from [T; N] to array(T, N) (#4981) hai 1 ano
day2_common.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) hai 1 ano
day2_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) hai 1 ano
day2_part2.carbon 24bde46181 Change array syntax from [T; N] to array(T, N) (#4981) hai 1 ano
day3_common.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) hai 1 ano
day3_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) hai 1 ano
day3_part2.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) hai 1 ano
day4_common.carbon 24bde46181 Change array syntax from [T; N] to array(T, N) (#4981) hai 1 ano
day4_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day4_part2.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day5_common.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day5_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) hai 1 ano
day5_part2.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) hai 1 ano
day6_common.carbon 24bde46181 Change array syntax from [T; N] to array(T, N) (#4981) hai 1 ano
day6_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) hai 1 ano
day6_part2.carbon c9e4761f0c Modernize some of our examples. (#5655) hai 10 meses
day7_common.carbon c9e4761f0c Modernize some of our examples. (#5655) hai 10 meses
day7_part1.carbon c9e4761f0c Modernize some of our examples. (#5655) hai 10 meses
day7_part2.carbon c9e4761f0c Modernize some of our examples. (#5655) hai 10 meses
day8_common.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day8_part1.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day8_part2.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day9_common.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
day9_part1.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) hai 1 ano
day9_part2.carbon d2d5c5520b Solutions for advent of code, day 4 - 13. (#4750) hai 1 ano
io_utils.carbon c34d0c7adf Add `Core.Range(N)` facility to construct an integer range. (#5699) hai 10 meses
sort.carbon 24bde46181 Change array syntax from [T; N] to array(T, N) (#4981) hai 1 ano

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.