Closed keshav-space closed 6 days ago
One more question, I assume we cannot parse Package.swift
files like this one here: https://github.com/swift-cloud/VercelUI/blob/main/Package.swift right, becuase this is in swift and not parseable in python easily?
One more question, I assume we cannot parse
Package.swift
files like this one here: https://github.com/swift-cloud/VercelUI/blob/main/Package.swift right, becuase this is in swift and not parseable in python easily?
@AyanSinhaMahapatra We are not directly parsing the Package.swift
file, but we parse the Package.swift.deplock
, which is a JSON dump of Package.swift
. In the future, we may add support for natively parsing the Package.swift
file, and we can use Tree-Sitter (an optional dependency) for creating and parsing the Swift AST.
Reference: https://github.com/nexB/scancode.io/issues/1278
Tasks