STRling.FSharp
4.0.3
dotnet add package STRling.FSharp --version 4.0.3
NuGet\Install-Package STRling.FSharp -Version 4.0.3
<PackageReference Include="STRling.FSharp" Version="4.0.3" />
<PackageVersion Include="STRling.FSharp" Version="4.0.3" />
<PackageReference Include="STRling.FSharp" />
paket add STRling.FSharp --version 4.0.3
#r "nuget: STRling.FSharp, 4.0.3"
#:package STRling.FSharp@4.0.3
#addin nuget:?package=STRling.FSharp&version=4.0.3
#tool nuget:?package=STRling.FSharp&version=4.0.3
STRling — F# adapter
STRling 4.0.3 public installation requires the separately authorized release. Check the release certificate for public availability and independent acceptance. Candidate tests use staged artifacts; certification alone does not prove publication. See the support matrix for exact supported scopes.
The STRling.FSharp package is an idiomatic F# projection over the shared C#
STRling adapter and the canonical native compiler. It does not own another
native transport, parser, compiler, Semantic IR interpretation, target emitter,
or regex engine.
Migration status: the canonical native adapter is implemented. Historical fixtures are compatibility evidence, not the compiler boundary.
Semantic STRling is the flagship textual language. Regex-compatible text is an import/compatibility surface, not Semantic STRling. STRling 4.0 uses one canonical pipeline for Semantic, Simply, and explicit compatibility requests.
Install and load
The package targets net9.0, depends on STRling at the same product version and pinned
FSharp.Core 9.0.300, and currently certifies only the win-x64 native row.
Loading requires an explicit absolute native path.
open System
open System.IO
open STRling.FSharp
let nativePath = Path.Combine(AppContext.BaseDirectory, "strling_interop.dll")
use client = Api.loadClient nativePath
let compiler = Api.createCompiler client
let options = { Api.defaultOptions () with SourceId = "src:example" }
match Api.parse compiler "semantic strling 1.0; case sensitive; pattern text \"hello\";" (Some options) with
| Succeeded result -> printfn "%s" (result.GetProperty("outcome").GetString())
| Failed result -> failwith (result.ToString())
The CompileOutcome union projects the canonical result outcome. Diagnostics,
artifacts, paths, spans, and other canonical values remain JsonElement data;
the facade does not reinterpret them. Target artifacts require an exact
caller-supplied profile and reference.
Simply and standard helpers
The F# facade exposes the same canonical Simply builder types from the shared
C# package plus generated Essential helper functions. Five registered
helpers produce eight exact lexical_shape variants. Lexical-shape acceptance
is intentionally distinct from semantic validity; these helpers are not
semantic validators.
Errors and lifecycle
The shared NativeClient is reentrant and disposable. Native load, ABI,
transport, protocol, and closed-client failures retain the stable C# adapter
exception identities. The F# layer adds projections only and cannot create a
second native route or host-owned compiler behavior.
See the repository specification and architecture for normative contracts.
Proposed public installation
After separately authorized publication, the exact proposed coordinate is:
dotnet add package STRling.FSharp --version 4.0.3
Use only the runtime, OS, CPU and native/WASM loading scope declared above and in the support matrix.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- FSharp.Core (>= 9.0.300)
- STRling (= 4.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.