Hacker News new | ask | show | jobs
by ushakov 289 days ago
Do you think you can make it run in Jupyter as a Kernel?
2 comments

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
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.