Skip to content

loopspace/Advent-of-Code-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Advent of code 2022

This year's competition is at this url.

Using LaTeX3

I've learnt from last year and am using a simple LaTeX3 file for the core code with a document wrapper for the nice typesetting.

I'm using the same function paradigm whereby a "function" defines a scope and so to return a value then there are certain output registers (one of each type) that get set globally, and which can then be read for the solution.

Part way through last time I implemented a caching system to save the answers to a file and then read them back in at the start. I've copied that across to this year. The format of the cache is a LaTeX3 prop, so reading it back in populates the prop from which the cached answers can be read (or deleted if I need to regenerate one).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages