• English
  • Deutsch
  • Log In
    Password Login
    Research Outputs
    Fundings & Projects
    Researchers
    Institutes
    Statistics
Repository logo
Fraunhofer-Gesellschaft
  1. Home
  2. Fraunhofer-Gesellschaft
  3. Konferenzschrift
  4. Picat Through the Lens of Advent of Code
 
  • Details
  • Full
Options
January 8, 2026
Conference Paper
Title

Picat Through the Lens of Advent of Code

Abstract
Picat is a logic-based, multi-paradigm programming language that integrates features from logic, functional, constraint, and imperative programming paradigms. This paper presents solutions to several problems from the 2024 Advent of Code (AoC). While AoC problems are not designed for any specific programming language, certain problem types, such as reverse engineering and path-finding, are particularly well-suited to Picat due to its built-in constraint solving, pattern matching, backtracking, and dynamic programming with tabling. This paper demonstrates that Picat’s features, especially its SAT-based constraint solving and tabling, enable concise, declarative, and highly efficient implementations of problems that would require significantly more effort in imperative languages.
Author(s)
Zhou, Neng-Fa
Grozea, Cristian  
Fraunhofer-Institut für Offene Kommunikationssysteme FOKUS  
Kjellerstrand, Håkan
Mac Fhearaí, Oisín
Mainwork
41st International Conference on Logic Programming, ICLP 2025. Proceedings  
Conference
International Conference on Logic Programming 2025  
Open Access
DOI
10.4204/EPTCS.439.36
Additional link
Full text
Language
English
Fraunhofer-Institut für Offene Kommunikationssysteme FOKUS  
Keyword(s)
  • Constraint handling

  • Constraint programming

  • Dynamic programming

  • Functional programming

  • Pattern matching

  • problem oriented languages

  • Cookie settings
  • Imprint
  • Privacy policy
  • Api
  • Contact
© 2024