Repository navigation
F#: language profile for .fs/.fsi/.fsx, .fs claimed on content proof (Part of #5623) - #5681
Merged
Merged
Conversation
…(WIP, Part of #5623) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…5623) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 19, 2026 20:35
Contributor
squid-protocol
enabled auto-merge (squash)
October 19, 2026 20:43
| + r"']*\.)?)" | ||
| ) | ||
| _DOTTED = r"[" + ID_START + r"][" + ID_CONTINUE + r"'.]*" | ||
| _TRIVIA = r"(?:[ \t]|//[^\n]*)*" |
This was referenced Oct 20, 2026
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5623 (slice 1 of 2: F#. Crystal
.cris the remaining slice, not in this PR.)What
F# language profile (
.fs,.fsi,.fsx;.fsprojas a discriminator/project file).let/let rec/member/andfunctions,type/module/namespace/exception, match arms as branches,<-/:=as state mutation..fsis content-decided against GLSL and Forth (same mechanism as PostgreSQL #5622):internal_discriminatorproof plus.fsinCOLLISION_FREQUENCIES.Wiring edits (file count is over 5; one line each)
language_lens.py: Tier 3 now drops a proof-only language even when it is the sole claimant. Without it, a GLSL/Forth.fswas won by F# by default (caught by the strict test); nowundeterminable. F# is the only language in this position.core/detector.py:fsharpjoins the Mode C (offside-rule) slicer; without it function_count collapsed (Timer 0 vs 4).analysis_lens.py:LANGUAGE_STRICTNESSrow and the backend security profile (the registration audit requires both)._lens_config.py:.fsinCOLLISION_FREQUENCIES.__init__.py: registry entry.test_detection_resolution_order.py: pins the new.fsclaimant.Evidence
language_addition_audit.py --lang fsharp: all 5 invariants hold (warns: class extraction list, rosetta not checked out)..fsmap tofsharp. function_count matches struct_func_start on 13 of 15 files with functions; Shader 8/9, Texture 3/4, Timer 3/4 lose one single-line unit each (Mode C needs a body line; Haskell has the same limit). Three data-only files: 0.test_fsharp_strict.py: 16 pass (plainpytestfrom an unrelated cwd too). Strict tests ran in the selfscan venv; thetranslator-extra tests were not run.golden-lock.sh crucible_check.py --update --yesreports no drift in either fixture (language-crucible v1.7.0 has no F# files, no other language flipped). Nothing re-blessed.pr_gates --fast6/6,--ratchets8/8,audit_check.pyclear.Sibling gaps
(* *)comments are not stripped (no//+ nested-block lexical family).class_countis 0:fsharpis not in_CLASS_START_NAMED_EXTRACTION_LANGS(needs the harden-class-start-extraction pass)..fsprojSBOM/NuGet parsing (manifest_parser.pyhandles.csprojonly).let f x = ...bindings, multi-line parameter lists and operator names are not sliced..cr): slice 2.Cross-repo
No companion PR in this slice. The rosetta F# corpus half is a follow-up in keyword-rosetta; no merge-order constraint, nothing re-runs after.
🤖 Generated with Claude Code