fsprojects/FsLexYacc
61.6
Adequate · 13 November 2026
3.5k
lines of production code
F#
primary language
7
measurements over time
What this system is
Features
Add F\# command-line argument parser
Introduces a new command-line argument parsing library in src/Common (Arg.fs/Arg.fsi) that allows users to define typed argument specifications (boolean flags, integers, floats, strings, and rest arguments) and parse command-line inputs with automatic help text generation and error handling.
src/Common · high confidence
FsLex adds case-insensitive lexer generation and internal module support
The FsLex tool now supports generating case-insensitive lexers via the new \-i\ command-line option, allowing users to create lexers that do not distinguish between upper and lower case characters. Additionally, the \--internal\ flag has been added to generate the resulting lexer module as an internal module rather than a public one, and the \--module\ option allows specifying the name of the F\# module that hosts the generated parser.
src/FsLex · high confidence
FsLex.Core extracted as a standalone library with signature file support
The core domain logic and code generation for FsLex have been moved into a new FsLex.Core library. This change introduces support for generating .fsi signature files alongside the generated .fs implementation files, ensuring that module declarations and open statements from the lex file header are correctly propagated to the signature. It also includes fixes for handling invalid signature files when module headers are defined and resolves errors related to unicode and case-insensitive configurations.
FsLex.Core · high confidence
FsLexYacc.Runtime exposes configurable AssocTable cache capacity and Fable support
The runtime library now allows users to control the initial capacity of the AssocTable lookup cache used during parsing, addressing performance issues with many small inputs. This is achieved by adding a new \Interpret\ overload to the \Tables\<'tok\>\ type that accepts an explicit \assocTableCacheInitialCapacity\ parameter, and by exposing a global \ParseSettings.AssocTableCacheInitialCapacity\ setting (defaulting to 2000) that can be configured at startup. Additionally, the runtime now supports Fable compilation, enabling these lexing and parsing capabilities in JavaScript environments, while maintaining backward compatibility with existing .NET targets.
src/FsLexYacc.Runtime · high confidence
FsYacc CLI adds buffer-type and association-cache options
The fsyacc command-line tool now supports two new options: --buffer-type-argument, which allows specifying the generic type argument for the LexBuffer type, and --assoc-cache-capacity, which sets the initial capacity for the generated parser's per-parse AssocTable lookup caches. These options provide users with finer control over the generated parser's type signatures and memory performance characteristics.
src/FsYacc · high confidence
FsYacc.Core extracted into a dedicated library with new CLI options
The core domain logic and generation code for FsYacc has been broken out into a new FsYacc.Core library, introducing the fsyaccdriver, lexer, and parser source files. This refactoring enables new command-line options for users: --buffer-type allows specifying the buffer type for the generated parser, and --assoc-cache-capacity lets users set the initial capacity for the runtime's per-parse AssocTable lookup caches to optimize performance.
src/FsYacc.Core · high confidence
Architecture
Extract core parser domain logic and AST into FsYacc.Core
The core domain logic, Abstract Syntax Tree (AST) definitions, and processing functions for the FsYacc parser generator have been extracted into a new FsYacc.Core library. This change introduces the \ParserSpec\ and \ProcessedParserSpec\ types, along with functions to preprocess grammar specifications and prepare LALR(1) parsing tables, effectively separating the core parsing engine from the rest of the tooling.
FsYacc.Core · high confidence
Behavioural changes
Configurable AssocTable cache capacity and Lexing.Position struct optimization
The FsLexYacc.Runtime now allows users to configure the initial capacity of the AssocTable lookup cache used during parsing, helping to reduce memory allocations when running parsers over many small inputs. Additionally, the Lexing.Position type has been converted to a struct to improve performance by avoiding heap allocations.
FsLexYacc.Runtime · high confidence
Migrate build system to Fun.Build and .NET 10
The project has replaced the FAKE build script with Fun.Build (v1.2.0) and migrated the target framework to .NET 10.0, requiring a .NET 10 runtime. The build process now uses a new \build.fsx\ script, \Directory.Build.props\ for centralized package management, and \Ionide.KeepAChangelog\ to derive versions and release notes from \CHANGELOG.md\. Additionally, the repository license has changed from the Unlicense to MIT, and the solution structure is now defined by \FsLexYacc.slnx\.
(repo-wide) · high confidence
Test coverage
Added Expecto-based unit tests for FsLex.Core; Added FsLex/FsYacc JSON parsing example with capacity-invariance tests; Added LexAndYaccMiniProject test harness; Added legacy fsyacc test suite and baseline comparisons; Added test module for tree parsing structures; Added unit tests for fsyacc core functionality.
Dependencies
Migrate to .NET 10 and adopt central package management
The FsLex and FsYacc tools now target .NET 10 (net10.0), replacing previous framework versions, and the runtime library targets netstandard2.0. The project has switched to NuGet central package management via Directory.Packages.props, explicitly defining versions for FSharp.Core (10.0.100), FsLexYacc (10.2.0), Expecto (9.0.4), and other dependencies, ensuring consistent versioning across all source and test projects.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 62 → 62 (-0.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.
Lenses
- Code Health 82 → 78 (-4.0)
- Architecture 99 → 99 (+0.0)
- Maturity 45 → 44 (-0.7)
- Readiness 64 → 64 (+0.2)
- Security 95 → 93 (-1.7)
- Performance 85 → 100 (+14.9)
Resolved (9)
- Coverage not measured — no coverage collector is wired up
- Documentation: no installation or build instructions (README.md)
- Documentation: no project overview (README.md)
- IL efficiency: 9 authored method(s) exceed the IL budget (src/FsYacc.Core/fsyaccdriver.fs)
- No ADRs found
- Off-boarding risk: anonymized user #1
- Outdated: Expecto
- Outdated: Expecto.FsCheck
- Outdated: Ionide.Analyzers
New (2)
- No ADRs found (src/FsLex/fslex.fsproj)
- Off-boarding risk: anonymized user #1
Changes since last survey
- 4 commits — 4 feature/other, 0 fixes
By area
- (repo) — 2 commits
- (root) — 1 commit
- .github/workflows — 1 commit
Notable commits
- change: Bump github/codeql-action/upload-sarif
- change: Bump the dotnet group with 7 updates
- change: Merge pull request #259 from fsprojects/dependabot/nuget/dot-config/dotnet-c5c7b18b13
- change: Merge pull request #260 from fsprojects/dependabot/github_actions/actions-4179f0a880
Architecture
- Unchanged — 0 containers · 4 contexts · 2 edges
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
fsprojects/FsLexYacc was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 9893229b259e76bc9ab3226b50bebf5252e2550c — the exact code this score is about.
- Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.61+preprod-b8b1a43ae4c3.