The author of this web content discusses their proof-of-concept LLVM to Excel spreadsheet compiler. They draw a comparison between Excel formulas and static single-assignment form (SSA) used in LLVM. The author explains their insight that LLVM functions could be rewritten as Excel sheets for the same computation. They then explore the challenges of representing loops in spreadsheets and propose a solution using a variation of a program counter. The author describes their compiler as a command-line tool that takes LLVM bitcode as input and produces an xlsx file as output. They consider the project a successful proof of concept. The author also mentions future directions for the compiler, such as implementing local variables and function calls.
https://belkadan.com/blog/2023/12/CellLVM/