~/lightning

wordlexpr -- compile-time Wordle

Lightningat ACCU 2022 · 2022-04-06..04-09· [c-and-cpp, creative-coding]
slides:none on file

Implements a playable Wordle that runs entirely at C++ compile time by encoding game state in types, taking a seed and each guess as preprocessor defines, and advancing by recompiling. Uses non-type template parameters and a mutable compile-time string type to force the compiler to print game output via an instantiation error. Keeps state as a POD struct encoded/decoded to strings and needs a compile-time RNG; works on Clang but GCC currently prints unusable hex.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.