roop / citron

An LALR Parser Generator for Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Package plugin

dabrahams opened this issue · comments

It appears SPM has a feature that would support running citron as part of a build. Citron could supply one. Please see https://github.com/apple/swift-evolution/blob/main/proposals/0303-swiftpm-extensible-build-tools.md#example-1-swiftgen

And here is an example citron runner that works for me, used as follows in Package.swift.

@roop I'm going to close this as you've adopted it already.