-
Notifications
You must be signed in to change notification settings - Fork 0
AoC 2021 in Prolog
License
AdamGlass/aoc2021
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Advent of Code 2021 in Prolog Done for fun. My Prolog was quite rusty and it took a while to get into the specific mindset required. On some days i was more succesful than others. The most interesting solution is likely the day 24 where i was able to use CLFPD (Constriant Logic Programming over Finite Domains) to convert the ALU instruction sequence into a set of constraints and then just asked the Prolog implementation to produce results that met the constraints. This used Prolog mechanisms that were not available when I last touched Prolog. Other solutions were more painful. Overall a lot of fun.
About
AoC 2021 in Prolog
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published