News for hackers. Stuff that matters.
Re:We built an interpreter for Swift (a compiled language) by ushakov on Thursday September 04, 2025 @03:16PM (#45131138)
Do you think you can make it run in Jupyter as a Kernel?
Re:We built an interpreter for Swift (a compiled language) by jacobx on Thursday September 04, 2025 @03:25PM (#45131236)
That's not really been something we'd been considering, but yeah I think we probably could. We're primarily using the interpreter to render SwiftUI views, but it supports running arbitrary Swift expressions or statements.
Re:We built an interpreter for Swift (a compiled language) by liuliu on Thursday September 04, 2025 @05:49PM (#45132612)
There are Jupyter kernels for Swift that uses REPL mode of Swift lldb. I used to do it but obvious right now it is not a priority: https://github.com/liuliu/swift-jupyter