Let the loaded JuliaSyntax answer the operator queries #65282
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.35) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 174 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.309
Real PR Conversation Timeline
1 comments
"Review active on #65282"
general
weight: 0.35
vtjnash
The runtime's operator queries (jl_is_operator, jl_is_unary_operator, jl_is_unary_and_binary_operator, jl_is_syntactic_operator and jl_operator_precedence), which printing uses to decide how to show code, are calls into the flisp parser, although JuliaSyntax is the parser once Base has started.
Make them ask the frontend that is in use: Base's JuliaSyntax once Base has started, and before that, as while bootstrapping, flisp, whose implementations are now jl_frontend_is_operator etc. This also prepares for a frontend in a separate library (#62068), which then only needs to answer them while bootstrapping.
Split out from https://github.com/JuliaLang/julia/pull/62068