HiLang 2.5.2

dotnet add package HiLang --version 2.5.2
                    
NuGet\Install-Package HiLang -Version 2.5.2
                    
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="HiLang" Version="2.5.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HiLang" Version="2.5.2" />
                    
Directory.Packages.props
<PackageReference Include="HiLang" />
                    
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 HiLang --version 2.5.2
                    
#r "nuget: HiLang, 2.5.2"
                    
#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 HiLang@2.5.2
                    
#: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=HiLang&version=2.5.2
                    
Install as a Cake Addin
#tool nuget:?package=HiLang&version=2.5.2
                    
Install as a Cake Tool

HiLang

HiLang is a minimal high-level language to describe the schema of a domain, taking inspiration from protobuf (.proto models) for hierarchical structures and SQL DML for entities, relations and views.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on HiLang:

Package Downloads
Hiperspace.SQL

# Hiperspace.SQL Hiperspace.SQL is a full SQL query engine for Hiperspace, supporting the full range of joins, aggregations, and subqueries. Hiperspace.SQL provides the same query functionality as a .NET client can use with LINQ queries, but without the need to write code in C#/F# Hiperspace fully supports point-in-time "time travel" queries that are not possible with Python Data-Frames or DuckDB ## Features - Hiperspace.SQL is not limited to queries of columns within a table, but supports the full navigation of properties of Hiperspace elements - Where a column is a complex object it is returned as a JSON object - Executing a batch of SQL statements return columnar data frames (dictionary of column-name and array of values) - Explain SQL returns the execution plan, detailing the SetSPaces accessed and keys used for search (Key, Index, Scan) - The Parquet method returns a Parquet file that can be used with any Apache Parquet library, or added to DuckDB OLAP store

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.5.2 115 11/6/2025
2.5.1 166 10/23/2025
2.5.0 178 10/20/2025
2.4.6 191 9/23/2025
2.4.4 269 8/7/2025
2.4.2 151 7/28/2025
2.4.0 181 7/10/2025
2.3.8 165 7/1/2025
2.3.7 193 6/18/2025
2.3.4 178 6/5/2025
2.2.2 181 5/5/2025
2.2.1 231 4/14/2025
2.2.0 128 3/29/2025
2.1.9 240 3/5/2025
2.1.6 137 2/15/2025
2.1.0 141 1/24/2025
2.0.0 121 1/14/2025
1.3.9 159 11/15/2024
1.3.0 143 10/5/2024
1.2.18 188 9/15/2024
1.2.16 167 9/7/2024
1.2.15 156 9/1/2024
1.2.11 131 8/6/2024
1.2.9 133 7/26/2024
1.2.8 170 7/19/2024
1.2.6 146 7/15/2024
1.2.4 165 7/4/2024
1.2.0 172 5/30/2024
1.1.37 158 5/11/2024
1.1.34 151 4/22/2024
1.1.30 157 3/24/2024
1.1.26 175 3/14/2024
1.1.23 175 2/26/2024
1.1.22 174 2/16/2024
1.1.21 224 1/11/2024
1.1.19 197 1/1/2024
1.1.17 183 12/23/2023
1.1.11 182 12/16/2023
1.1.10 186 12/6/2023
1.1.7 184 11/30/2023
1.1.5 175 11/21/2023
1.0.14-prerelease 237 8/6/2023

https://www.cepheis.com/hiperspace/20251106
## Overview

This release builds on the functionality provided by **message** to execute queries on a remote **Hiperspace.DB** and return the full set of *elements* back to a client without the need to return every intermediate object necessary.  The prime example is the **Hiperspace.DB** opening page, which displays a summary bar-graphs of the number of **nodes** and **edges** in each database, and validates that *changes* to the (compiled) schema for databases does not change the definition of an already stored *element set.*

The *graph-view* functionality of **Hiperspace.DB** uses `HiperEdge` functions to recursively search (*in parallel*) all `Node` types that satisfy the view criteria and display as a navigable [SVG](https://en.wikipedia.org/wiki/SVG) graph of connections.  These capabilities use the [`GraphFunctions`](https://github.com/channell/Hiperspace/blob/master/src/Hiperspace/Graph/GraphFunctions.cs) to search Nodes using message-keys *sent* to teh server and message-value *provided* on completion together with rendering information for `Node` *shapes* and *color*.

To support these use-cases, a couple of enhancements have been added to [Hiperspace](Hiperspace) and [HiLang](HiLang) to better support the functions.

### SubSpace
`IServiceProvider` is  an interface on the .NET Platform to inject *Services* into components ([IoC](https://en.wikipedia.org/wiki/Inversion_of_control)) at runtime.  A ServiceProvider property has been added to `SubSpace` to enable messages to enlist functionality when a message is received, and a parameter added to `SubSpaceParameters` for *domain space* construction.

`FindPaths` and `FindPathsAsync` functions now have *domain-specific* implementations that use a ***message*** to transmit the call through to a server where the parallel recursive search can be efficiently executed close the data, using many of the cores of the server.

### Node
The `Node` element has been extended to include additional functions that provide `HiperEdge`  search for related nodes across transitive edges

|Name| Description |
|-|-|-|-|-|
| HiperEdges|Treat the TypeName parameter as a HiperEdge and find all matching|
| HiperEdgesAsync|as above, but non-blocking (especially for Blazor web clients)|


```
       /// <summary>
       /// Treat the Edges of TypeName as a HiperEdge and find all transitive paths for that type
       /// </summary>
       /// <param name="TypeName">The Edge type name</param>
       /// <param name="length">the maximum length of the path</param>
       /// <param name="targets">only return HiperEdges that end with a Node of the type matching one of these types</param>
       /// <returns>The full set of HiperEdges for this path</returns>
       public HashSet<HiperEdge> HiperEdges(string TypeName, int? length = null, HashSet<string>? targets = null)

       /// <summary>
       /// Create an inline HiperName from TypeNames and find all transitive paths for that type
       /// </summary>
       /// <param name="HiperName">The name of the HiperEdge being infered from the Edge TyopeNames</param>
       /// <param name="TypeNames">the set of Edge TypeNames that make up this HiperEdge</param>
       /// <param name="length">the maximum length of the path</param>
       /// <param name="targets">only return HiperEdges that end with a Node of the type matching one of these types</param>
       /// <returns>The full set of HiperEdges for this path</returns>
       public HashSet<HiperEdge> HiperEdges(string HiperName, IEnumerable<string> TypeNames, int? length = null, HashSet<string>? targets = null)

       /// <summary>
       /// Treat the Edges of TypeName as a HiperEdge and find all transitive paths for that type
       /// </summary>
       /// <param name="TypeName">the name given to this transitative hiperedge</param>
       /// <param name="rules">the set of meta edges (start-node type, end-node type, edge type) rules that define the transitative path</param>
       /// <param name="length">the maximum length of the path</param>
       /// <param name="targets">only return HiperEdges that end with a Node of the type matching one of these types</param>
       /// <returns>The full set of HiperEdges for this path</returns>
       public HashSet<HiperEdge> HiperEdges(string TypeName, HashSet<Rule> rules, int? length = null, HashSet<string>? targets = null)

       /// <summary>
       /// Treat the Edges of TypeName as a HiperEdge and find all transitive paths for that type
       /// </summary>
       /// <param name="TypeName">The Edge type name</param>
       /// <param name="length">the maximum length of the path</param>
       /// <param name="targets">only return HiperEdges that end with a Node of the type matching one of these types</param>
       /// <returns>The full set of HiperEdges for this path</returns>
       public async Task<HashSet<Graph.HiperEdge>> HiperEdgesAsync(string TypeName, int? length = null, HashSet<string>? targets = null, CancellationToken cancellationToken = default)

       /// <summary>
       /// Create an inline HiperName from TypeNames and find all transitive paths for that type
       /// </summary>
       /// <param name="HiperName">The name of the HiperEdge being infered from the Edge TyopeNames</param>
       /// <param name="TypeNames">the set of Edge TypeNames that make up this HiperEdge</param>
       /// <param name="length">the maximum length of the path</param>
       /// <param name="targets">only return HiperEdges that end with a Node of the type matching one of these types</param>
       /// <returns>The full set of HiperEdges for this path</returns>
       public async Task<HashSet<HiperEdge>> HiperEdgesAsync(string HiperName, IEnumerable<string> TypeNames, int? length = null, HashSet<string>? targets = null, CancellationToken cancellationToken = default)

       /// <summary>
       /// Treat the Edges of TypeName as a HiperEdge and find all transitive paths for that type
       /// </summary>
       /// <param name="TypeName">the name given to this transitative hiperedge</param>
       /// <param name="rules">the set of meta edges (start-node type, end-node type, edge type) rules that define the transitative path</param>
       /// <param name="length">the maximum length of the path</param>
       /// <param name="targets">only return HiperEdges that end with a Node of the type matching one of these types</param>
       /// <returns>The full set of HiperEdges for this path</returns>
       public async Task<HashSet<Graph.HiperEdge>> HiperEdgesAsync(string TypeName, HashSet<Rule> rules, int? length = null, HashSet<string>? targets = null, CancellationToken cancellationToken = default)
```
The [Test cases](https://github.com/channell/Hiperspace/blob/master/examples/CousinProblem/Test.cs) demonstrate the use of these functions to provide *server-side* search for relations. The first example treats "Child" as a transitive `HiperEdge`, while the second infers an "Ancestors" `HiperEdge` from either *Mother* or *Father*.

```
               var descendants = node.HiperEdges("Child");
               var ancestors = node.HiperEdges("Ancestors", new[] {"Mother", "Father" });
```