GodotSwift is experimental project to generate Swift API for Godot Engine.
Under the hood, Generator
uses swift-syntax to generate Swift code from Godot API.
Requires swift-DEVELOPMENT-SNAPSHOT-2021-05-28-a toolchain.
- Build
Generator
./Generator <path to godot api.json> <path to output directory>
Example output from Generator: https://gist.github.com/nzatsepilov/4824e9ea989a39314837af5ba1bef40d
- Generate properties for classes
- Bridge GDNative types
- Generate method implementations (calling c-methods from godot)
- Signals
- Support for scripting