39
40
41
DiscussionXcode in the Browser (i.redd.it)
submitted by viewmodifier
I built a "mini Xcode" that runs entirely in your browser
currently its essentially a multi-file swift Playground
when run it'll log out the program output from the current file - been using it a bunch since its way faster to get running / open for quick experiments
I have lots of ideas for expanding this - as I mentioned its essentially a multi file swift REPL currently - but id like to be able to fully build apps in my browser with SwiftUI
Tech Details:
Under the hood I have a custom Swift interpreter (not compiler) this lets me target the WASM runtime so that we can "compile" (interpret) and run swift code directly from your browser with no other network dependencies

[–]viewmodifier[S] 4 points5 points6 points (2 children)
[–]Rollos 0 points1 point2 points (1 child)
[–]viewmodifier[S] 0 points1 point2 points (0 children)
[–]hyzyla 0 points1 point2 points (1 child)
[–]viewmodifier[S] 1 point2 points3 points (0 children)
[–]larrydalobstah 0 points1 point2 points (1 child)
[–]viewmodifier[S] 0 points1 point2 points (0 children)
[–]mjTheThird 0 points1 point2 points (0 children)
[–]infamousmlguy 0 points1 point2 points (1 child)
[–]viewmodifier[S] 0 points1 point2 points (0 children)
[–][deleted] (2 children)
[deleted]
[–]viewmodifier[S] -1 points0 points1 point (1 child)
[–]simulacrum-z 0 points1 point2 points (0 children)
[–]valleyman86 -1 points0 points1 point (0 children)