apple / swift-distributed-actors

Peer-to-peer cluster implementation for Swift Distributed Actors
https://apple.github.io/swift-distributed-actors/
Apache License 2.0
592 stars 56 forks source link

Can we use SwiftFormat as a library in the codegen? #709

Closed ktoso closed 3 years ago

ktoso commented 4 years ago

A bit worried about the dependency to be honest.

It would solve though accidental formatting changes in the source gen.

To be explored.

// via @tomerd

ktoso commented 4 years ago

Instead considering to do the right thing here and use: https://github.com/apple/swift-syntax/tree/master/Sources/SwiftSyntaxBuilder however it's implementation is missing a lot of things.

Reached out to see if we could make it happen for real. Would be a great gain for our codegen (but also others IMO)

ktoso commented 3 years ago

We're dropping source-gen