> <https://github.com/apple/swift-package-manager/blob/master/Documentation/Internals/SwiftBasedManifestFormat.md#discussion
>
> <https://github.com/apple/swift-package-manager/blob/master/Documentation/Internals/SwiftBasedManifestFormat.md#discussion>>
>
>> We decided to use a Swift-based format for the manifest because we believe
>> it gives developers the best experience for working with and describing
>> their project. The primary alternative we considered was to use a
>> declarative format encoded in a common data format like JSON. Although that
>> would simplify implementation of the tooling around the manifest, it has the
>> downside that users must then learn this additional language, and the
>> development of high quality tools for that (documentation, syntax coloring,
>> parsing diagnostics) isn't aligned with our goal of building great tools for
>> Swift. In contrast, using the Swift language means that we can leverage all
>> of the work on Swift to make those tools great.
>
>
> Could you generate a similar Swift-based format for the lockfile?
The file is not meant to be user edited and JSON would make the data more
accessible to other tooling.
We’d go with Swift again if there were concrete reasons for it.
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution