Re:Pragtical: Practical and pragmatic code editor
by Iwan-Zotow on Friday August 23, 2024 @10:38AM
(#41329410)
Sure, we could do some craft to work around single pass limitations, but that was Don Syme decision from long time ago, and F# folks are faithful to it.
Actually liked language a lot, thought it could replace Python as top level AI/ML tool
EDIT: The wonderful book Crafting Interpreters has an implementation of backpatching jumps to implement loops. Before anyone says "this is an interpreter, not a compiler", be aware that most modern interpreters contain a compiler. https://craftinginterpreters.com/jumping-back-and-forth.html