Welcome

Swift-Lite has 3 main components.

  1. A super lean version of Swift built for small arm SOC's like the Raspberry Pi, BeagleBone and the CHIP running Debian based Linux OS. This includes Raspbian, Ubuntu, Debian and others.

  2. A built in pre-processor to create custom swift build commands.

  3. Swift Project and Swift Module files with custom meta-tags.

A Swift Module is simply a .swift file that can be re-used in many projects.

  • Swift Modules can be used in much the same way you would use a Framework or a Library.
  • Swift-Lite uses meta-tags combined with the pre-build processor to make constructing a multi-file Swift project with Module dependancies easy and simple.
  • Swift-Lite will work with any Swift version that uses the swiftc compiler.

Swift-Lite is developed and maintained by the team at SwiftPi who are dedicated to bringing Swift to small arm devices such as Raspberry Pi, BeagleBone and CHIP.

print("For further info please read the docs.")  

Documentation

Code Example

Please note: Although Swift-Lite is primarily aimed at small linux ARM SOC's the Pre-processor works equally as well on all Swift installs. In the near future there will be pre-processor versions available for download for Mac Swift and Linux x86 Swift.