mirror of
https://github.com/github/codeql.git
synced 2026-05-15 03:39:32 +02:00
Wire the Go-based TypeScript parser wrapper as an alternative to the Node.js wrapper. Enabled via SEMMLE_TYPESCRIPT_USE_GO_PARSER=true. When enabled: - Skips Node.js installation verification - Launches the Go binary directly (no Node.js required) - Uses the same newline-delimited JSON protocol over stdin/stdout - Go binary path configurable via SEMMLE_TYPESCRIPT_GO_PARSER_WRAPPER - tsgo binary path passed through via SEMMLE_TYPESCRIPT_TSGO_BINARY The Go wrapper implements all protocol commands: get-metadata, parse, prepare-files, reset, and quit. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>