/GodotSwift

Swift code generation for Godot API (WIP)

Primary LanguageC

GodotSwift

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.

Usage

  1. Build Generator
  2. ./Generator <path to godot api.json> <path to output directory>

Example output from Generator: https://gist.github.com/nzatsepilov/4824e9ea989a39314837af5ba1bef40d

TODO

  • Generate properties for classes
  • Bridge GDNative types
  • Generate method implementations (calling c-methods from godot)
  • Signals
  • Support for scripting