HiLang 2.4.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package HiLang --version 2.4.4
                    
NuGet\Install-Package HiLang -Version 2.4.4
                    
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.4.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HiLang" Version="2.4.4" />
                    
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.4.4
                    
#r "nuget: HiLang, 2.4.4"
                    
#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.4.4
                    
#: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.4.4
                    
Install as a Cake Addin
#tool nuget:?package=HiLang&version=2.4.4
                    
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

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.5.32 84 1/30/2026
2.5.29 94 1/17/2026
2.5.28 576 12/31/2025
2.5.26 1,608 12/21/2025
2.5.21 3,790 12/10/2025
2.5.18 5,860 12/3/2025
2.5.8 5,346 11/15/2025
2.5.2 5,360 11/6/2025
2.5.1 5,334 10/23/2025
2.5.0 5,345 10/20/2025
2.4.6 5,358 9/23/2025
2.4.4 5,441 8/7/2025
2.4.2 5,323 7/28/2025
2.4.0 5,343 7/10/2025
2.3.8 5,328 7/1/2025
2.3.7 5,360 6/18/2025
2.3.4 5,348 6/5/2025
2.2.2 5,345 5/5/2025
2.2.1 5,396 4/14/2025
2.2.0 5,298 3/29/2025
2.1.9 5,406 3/5/2025
2.1.6 5,305 2/15/2025
2.1.0 5,307 1/24/2025
2.0.0 5,284 1/14/2025
1.3.9 5,322 11/15/2024
1.3.0 5,304 10/5/2024
1.2.18 5,352 9/15/2024
1.2.16 5,338 9/7/2024
1.2.15 5,318 9/1/2024
1.2.11 5,300 8/6/2024
1.2.9 5,298 7/26/2024
1.2.8 5,339 7/19/2024
1.2.6 5,312 7/15/2024
1.2.4 5,330 7/4/2024
1.2.0 5,342 5/30/2024
1.1.37 5,327 5/11/2024
1.1.34 5,316 4/22/2024
1.1.30 5,323 3/24/2024
1.1.26 5,337 3/14/2024
1.1.23 5,336 2/26/2024
1.1.22 5,335 2/16/2024
1.1.21 5,387 1/11/2024
1.1.19 5,364 1/1/2024
1.1.17 5,344 12/23/2023
1.1.11 5,348 12/16/2023
1.1.10 5,352 12/6/2023
1.1.7 5,351 11/30/2023
1.1.5 5,340 11/21/2023
1.0.14-prerelease 260 8/6/2023

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

Partition elimination is an advanced feature in SQL relational databases, that skip access to a partition view when the optimizer can determine that it will not return any values.  This release adds the feature to Hiperspace views to skip `SetSpace` access that is not needed, *most commonly for Graph queries*

### SQL Views
```
/* for the view */
CREATE VIEW costs AS
SELECT cost, 'Sales' as area FROM sales_costs UNION
SELECT cost, 'Operations' as area FROM ops_costs UNION
SELECT cost, 'Assets' as area FROM asset_costs ;

/* queried as */
SELECT cost FROM costs WHERE area = 'Sales';

/* will skip the query ops_costs and asset_costs since it will return no rows */
```

### Hiperspace Views
Hiperspace views provide the same function, but rather than define a view separately, the view definition is part `element` definition, with the view  being created as a union of all the `elements` { `entity`, `segment`, `aspect`, `view` } that provide the `view`.

```
segment Togaf.Has.Requirement : Togaf.Base
   = Node        ( SKey = SKey, Name = Name, TypeName = "AF-Requirement"),
     Edges       (From = owner, To = this, Name = Name, FromTypeName = "AF-Has-Requirement", ToTypeName = "AF-Requirement-For") ;
```
defines a `segment` named `Togaf.Has.Requirement` *that can be viewed* as a `Node` with the `TypeName` "AF-Requirement".  Within the [TOGAF](https://github.com/channell/Hiperspace/blob/master/examples/TOGAF/TOGAF.hilang) sample there are
**201**  elements that *can be viewed* as a `Node`, all of which are included in the `SubSpace` view `Nodes`.  

Prior to this release a LINQ query `from node in Nodes where node.TypeName  == "AF-Requirement";` would scan all **201** `SetSpace` before filtering to include only *requirements*, but will now skip the scan of the other **200** types.  This is especially useful for graph data-explorer browsers that will typically search for a single source node type

This is implemented with the `SetSpace<>` function `public virtual bool IsSkippable(object template) => false;` that is overridden in **HiLang** generated code, and used by all `View` Sets

## RefSet<>
The `RefSet<>` collection of references to segments or other entities (via index) has been updated to include `AddAsync`  to simplify the addition of a segment reference when used from a web-assembly client.