HiLang 2.4.2
dotnet add package HiLang --version 2.4.2
NuGet\Install-Package HiLang -Version 2.4.2
<PackageReference Include="HiLang" Version="2.4.2" />
<PackageVersion Include="HiLang" Version="2.4.2" />
<PackageReference Include="HiLang" />
paket add HiLang --version 2.4.2
#r "nuget: HiLang, 2.4.2"
#:package HiLang@2.4.2
#addin nuget:?package=HiLang&version=2.4.2
#tool nuget:?package=HiLang&version=2.4.2
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 | Versions 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. |
-
.NETStandard 2.0
- FSharp.Core (>= 9.0.300)
- FsLexYacc (>= 11.3.0)
- FsLexYacc.Runtime (>= 11.3.0)
- Microsoft.CodeAnalysis.CSharp (>= 4.14.0)
- Nerdbank.GitVersioning (>= 3.7.115)
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.4.2 | 84 | 7/28/2025 |
2.4.0 | 139 | 7/10/2025 |
2.3.8 | 131 | 7/1/2025 |
2.3.7 | 150 | 6/18/2025 |
2.3.4 | 144 | 6/5/2025 |
2.2.2 | 149 | 5/5/2025 |
2.2.1 | 198 | 4/14/2025 |
2.2.0 | 96 | 3/29/2025 |
2.1.9 | 209 | 3/5/2025 |
2.1.6 | 108 | 2/15/2025 |
2.1.0 | 111 | 1/24/2025 |
2.0.0 | 89 | 1/14/2025 |
1.3.9 | 130 | 11/15/2024 |
1.3.0 | 113 | 10/5/2024 |
1.2.18 | 153 | 9/15/2024 |
1.2.16 | 136 | 9/7/2024 |
1.2.15 | 125 | 9/1/2024 |
1.2.11 | 102 | 8/6/2024 |
1.2.9 | 100 | 7/26/2024 |
1.2.8 | 137 | 7/19/2024 |
1.2.6 | 114 | 7/15/2024 |
1.2.4 | 134 | 7/4/2024 |
1.2.0 | 138 | 5/30/2024 |
1.1.37 | 127 | 5/11/2024 |
1.1.34 | 123 | 4/22/2024 |
1.1.30 | 130 | 3/24/2024 |
1.1.26 | 147 | 3/14/2024 |
1.1.23 | 150 | 2/26/2024 |
1.1.22 | 144 | 2/16/2024 |
1.1.21 | 194 | 1/11/2024 |
1.1.19 | 168 | 1/1/2024 |
1.1.17 | 155 | 12/23/2023 |
1.1.11 | 151 | 12/16/2023 |
1.1.10 | 154 | 12/6/2023 |
1.1.7 | 151 | 11/30/2023 |
1.1.5 | 146 | 11/21/2023 |
1.0.14-prerelease | 185 | 8/6/2023 |
https://www.cepheis.com/hiperspace/20250728
## Overview
This release changes the way the horizons are selected for domain subspaces to allow for streamlines application of constrains. Horizons performed two roles within hyperspace. To apply constraints that apply to a model and to filter content that should not be visible to a community of users:
* Constraint horizon include mandatory fields and referential integrity. They are configurable (*optional*) so that a separate definitions are not needed for logging error. traditional best-practice is to catch any validation or reference constraint errors and log the source message (*normally JSON or XML text*) to a seperate store for investingation by 3rd line support. With Hiperspace there are two options: use the same schema, but a separate hiperspace that does not apply constraints, or hide the stored until the referenced element is available.
* Visibility horizons *hide* data from retrieval - the best example is the **Deleted** pattern that *appears* to remove data from the subspace, but still available to historical versions before the *delete*
Typically, the choice of which constraints to apply is driven by the `ContextLabel` for seperate domains (e.g. independent price verification, or approval) or using `UserLabel` to apply permission using role-based access control. The internal `Horizon[]?` array has been changed to an overridable property that can be customized for the domain.
### SubSpaceParameters
This structure enabled all SubSpace properties to be set in the construction of a domain `SubSpace`, and available to the construction of each `SetSpace` for domain elements.
```
/// <summary>
/// Represents the traits of a subspace, including filters, versioning, and security labels.
/// </summary>
/// <remarks>
/// Provides a generic initialisation of the subspace when dynamically Instantiated.
/// </remarks>
public struct SubSpaceParameters
{
/// <summary>
/// The HiperSpace that provides storage services to this SubSpace
/// </summary>
public HiperSpace Space;
/// <summary>
/// Horizon filters for the subspace <see cref="Horizon" />
/// </summary>
public Horizon[]? Horizon;
/// <summary>
/// The version of the subspace, used to determine if the subspace is up to date
/// </summary>
public DateTime? AsAt;
/// <summary>
/// The delta from which the subspace was created, used to determine if the subspace is up to date
/// </summary>
public DateTime? DeltaFrom;
/// <summary>
/// Label applied to the subspace for security verification in Horizon filters
/// </summary>
public string? ContextLabel;
/// <summary>
/// Label applied to the subspace for fine grained access control
/// </summary>
public IPrincipal? UserLabel;
/// <summary>
/// Was the subspace opened by a remote client, and need to have Horizon security re-applied
/// </summary>
public bool RemoteLabel;
}
```
The primary motive for this change is to support `Hiperspace.DB` streaming aggregation, which takes the `ContextLabel` from configuration and used `AsAt` parameters for *time-travel/temporal* views to calculate a Cube *delta* for the *facts* that have changed in the last few seconds.
### MetaModelException
Hiperspace uses the rule that #id aliases can never change once they have been opened with a durable Hiperspace. This release add an explanatory exception to guide the resolution of any incompatible changes. Consider the examples of `Quantity : Int32 #5` that need to change to a Decimal but triggers a `MetaModelException` of changed to `Quantity : Decimal #5`. This can be accomplished with `{ Quantity_V1 : Int32 #5, Quantity_V2 : Decimal #6 } [Quantity = Quantity_V2 = null ? Quantity_V1 : Quantity_V2]` for compatible access with both versions, or `Quantity : Decimal #6` after a data migration update.
## HiLang
The Private Space Language parser has been updated to generate the additional `SubSpaceParameters` constructor.
The code generator has also been updated to order view extensions to avoid the need order specific coding, and add a validation rule that elements that provide `HiperEdge` view must also provide `Edge` view.
The [TOGAF Sample](https://github.com/channell/Hiperspace/blob/master/examples/TOGAF/TOGAF.hilang) now includes *bi-directional Edges* in the patterm
```
/* another Edge that inherits from Edge and can be viewed as an Edge */
view Edge_ : Edge = Edge();
"Pair of edges between nodes"
view Edges
= Edge (From = From, To = To, Name = Name, TypeName = FromTypeName),
Edge_ (From = To, To = From, Name = Name, TypeName = ToTypeName)
(
From : Node #2,
To : Node #3,
FromTypeName : String #4,
ToTypeName : String #5
)
{
Name : String #6,
};
entity Togaf.Business.Driver : Togaf.General.Base
= Node ( SKey = SKey, Name = Name, TypeName = "AF-Driver"),
Edges ( From = this, To = MotivatedBy, FromTypeName = "AF-Driver-Organization", ToTypeName = "AF-Organization-Driver") #76
{
MotivatedBy : Togaf.Organization #5
}
```
The *Togaf Business Driver* provides an directed *Edge* to *Togaf Organization* that it is *Motivated By* **and** directed *Edge* from *Togaf Organization* to *Togaf Business Driver*.
## RockSpace
The [Hiperspace.Rocks](Hiperspace.Rocks) driver has been updated to raise ` MetaModelException` if an incompatible change has been made to the schema model.
[Hiperspace.Rocks](Hiperspace.Rocks) has also been updated to [RocksDB](https://rocksdb.org/) version 10.