Icod.TermInfo.Source 1.7.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Icod.TermInfo.Source --version 1.7.0
                    
NuGet\Install-Package Icod.TermInfo.Source -Version 1.7.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Icod.TermInfo.Source" Version="1.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Icod.TermInfo.Source" Version="1.7.0" />
                    
Directory.Packages.props
<PackageReference Include="Icod.TermInfo.Source" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Icod.TermInfo.Source --version 1.7.0
                    
#r "nuget: Icod.TermInfo.Source, 1.7.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Icod.TermInfo.Source@1.7.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Icod.TermInfo.Source&version=1.7.0
                    
Install as a Cake Addin
#tool nuget:?package=Icod.TermInfo.Source&version=1.7.0
                    
Install as a Cake Tool

Icod.TermInfo.Source

Icod.TermInfo.Source is the optional managed terminfo source-language layer for Icod.TermInfo.

The package is intentionally separate from the stable runtime package. Ordinary applications that only load compiled terminfo or use TerminalDescription values continue to reference Icod.TermInfo alone.

1.7 release status

Version 1.7.0 carries Source unchanged into the stable 1.7 release. The frozen 1.1 API, parser/resolver semantics, right-to-left use= processing, and one-way Runtime dependency remain unchanged. Source is used by Inspection to verify synthesized relative source, but it does not depend on Inspection.

Install

For the 1.7.0 release:

dotnet add package Icod.TermInfo.Source --version 1.7.0

The package depends on the matching Icod.TermInfo version and targets net8.0, net9.0, and net10.0.

Version 1.7.0 preserves the frozen 1.1 source-language public API and semantics. Inspection uses Source to validate the new relative-source synthesis contract; Source does not acquire an Inspection dependency. The infotocap command continues to consume Source only at the executable-composition layer, and Source does not acquire a Termcap dependency.

What the 1.1 line provides

The completed 1.1 source-language path includes:

  • deterministic .ti lexical analysis with source spans and diagnostics;
  • terminfo string and numeric source-value semantics;
  • unresolved documents, entries, fields, aliases, and descriptions;
  • standard and extended capability classification against the runtime catalog;
  • cancellation and use= inheritance;
  • bounded inheritance-depth and source-size handling;
  • materialization into the same immutable TerminalDescription model used by compiled acquisition;
  • duplicate source-name and alias warnings with deterministic first-source-order lookup;
  • a checked-in System V/ncurses-oriented source corpus, deterministic mutation fuzzing, and offline T29 source/compiled compatibility fixtures.

No host tic, infocmp, ncurses library, or native payload is required at runtime or by normal CI.

Typical flow

Parse source, resolve a named entry, and materialize it into the runtime model:

using Icod.TermInfo;
using Icod.TermInfo.Source;

TermInfoSourceParseResult parsed = TermInfoSourceParser.Parse(
    source,
    "example.ti"
);

if ( parsed.HasErrors ) {
    throw new InvalidOperationException(
        "The terminfo source contains errors."
    );
}

TermInfoSourceResolveResult resolved = TermInfoSourceResolver.Resolve(
    parsed.Document,
    "example"
);

if ( resolved.Entry is null ) {
    throw new InvalidOperationException(
        "The terminfo entry could not be resolved."
    );
}

TerminalDescription terminal = resolved.Entry.ToTerminalDescription();

For source sets that are not already held in one parsed document, use the ITermInfoSourceEntryProvider resolver overload. Provider misses become source diagnostics; provider failures propagate rather than being collapsed into clean misses.

The runtime dependency direction is one-way:

Icod.TermInfo.Source
        |
        v
  Icod.TermInfo

Icod.TermInfo does not depend on this package.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Icod.TermInfo.Source:

Package Downloads
Icod.TermInfo.Compiler

Managed deterministic terminfo compiler for Icod.TermInfo. The 1.2 line compiles .ti source or immutable TerminalDescription values and can publish explicit conventional terminfo directory layouts without native ncurses dependencies.

Icod.TermInfo.Inspection

Managed inspection and semantic-comparison foundation for Icod.TermInfo. The 1.3 line provides canonical terminfo rendering and reusable infocmp-style comparison engines without enlarging the frozen Runtime, Source, or Compiler public contracts.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.8.0 0 9/2/2026
1.7.0 53 9/1/2026
1.6.1 62 9/1/2026
1.6.0 81 8/31/2026
1.5.0 75 8/30/2026
1.4.1 79 8/29/2026
1.4.0 78 8/29/2026
1.3.0 84 8/28/2026
1.2.0 76 8/27/2026
1.2.0-Alpha-7 72 8/27/2026
1.2.0-Alpha-6 70 8/27/2026
1.1.1 67 8/26/2026
1.1.0 63 8/26/2026
1.1.0-Alpha-9 55 8/26/2026
1.1.0-Alpha-7 54 8/26/2026
1.1.0-Alpha-6 55 8/26/2026

1.7.0 preserves the frozen 1.1 Source public API, bounded parser/resolver and use= precedence semantics, one-way Runtime dependency, net8/net9/net10 support, and 1.0.0.0 assembly identity.