rategugl.blogg.se

Run swift online
Run swift online







run swift online

In theory the package should work fine on any platforms that has swift/lldb installed. On Ubuntu I'm using an unmodified version of swift/lldb that I built locally, roughly equivalent to Swift 4.2. Supported PlatformsĪ large part of the motivation for this project is that I'm using Linux a lot at the moment, and so don't have access to Xcode.Īs a result, this package is being actively developed on Linux (currently Ubuntu 18.04).Īt this early stage of development it's only been tested on Ubuntu 18.04, and macOS 10.12. The actual building and debugging process is handled with custom code. However, at the moment the integration is restricted to setting/viewing breakpoints, and viewing build warnings and errors. The long-term goal for this package is to migrate into adopting those capabilities. In the meantime, the Atom IDE project has come along, providing some standardised capabilities and user interfaces for better integration of language features into Atom. This started life as a package which managed its own breakpoints and launched and interacted with lldb on its own, and a separate package which provided Swift auto-completion. That said, please do file suggestions, comments and bug reports. interact with lldb using its command-line interfaceĪt this stage the package has many rough edges.launch your built application within lldb.view a list of build warnings and errors.

#Run swift online code

auto-completion of Swift code (using sourcekitten).This is the rough beginnings of an Atom IDE implementation for Swift.









Run swift online