Files
codeql/unified
Taus 5c5fd5e1cc unified: Switch the Swift front-end to swift-syntax
Flip the runtime Swift front-end from tree-sitter to swift-syntax. The
mapping rules were already ported, so the mapped AST is unchanged; this
makes the switch live.

- `language_spec` now builds a language-free desugarer
  (`ConcreteDesugarer::without_language`) and wires the swift-syntax
  parser (`swift_parse::parse`) as the front-end, dropping the
  tree-sitter language and node types. The desugarer supplies the output
  schema, so `node_types` is left empty.
- The `swift_adapter`/`swift_parse` modules are no longer
  `allow(dead_code)`: they are now reached from the live extraction
  path.
- `corpus_tests` skips (rather than fails) when the external
  `swift-syntax-parse` binary is unavailable, since it cannot run
  without the Swift-backed parser.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-24 16:08:15 +00:00
..