Richard Smith 20ac6b9270 Remove logging prints from advent example. (#6057) 7 сар өмнө
..
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 20ac6b9270 Remove logging prints from advent example. (#6057) 7 сар өмнө
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.