Hilang Overview


HiLang is a high level declarative domain specific language for Data Structure, that translates model definitions into executable code.

Hilang generates

  • Code in the target language for encoding and decoding as binary key/value pairs for storage drivers
  • Code to retrieve referenced elements transparently on demand efficiently
  • Domain Space (specialization of SubSpace) with collections for each { Entity, Segment, Aspect, Value, View }
  • SetSpace<> for each {Entity, Segment, Aspect, View} to bind to Hiperspace and find elements, either with a template reference or using LINQ queries. Searches use a rule-based-optimizer to access Hiperspace by primary or alternate key (index)
  • Meta-Data for schema validation and key encoding

HiLang uses more than 50 pipeline stages to validate and transform .hilang files to executable code in the target language. For the Togaf example 514 lines of hilang generate 104982 lines of executable C# code (see Metrics for details)

Examples

  • Account: Customer Account Hierarchy, demonstrating entity and segment usage.
  • Cousins: Genealogy Graph, demonstrating derivation of edges from relationships.
  • RBAC: Role Based Access Control, demonstrating complex Horizon rules.
  • Invoice: Order processing, demonstrating calculation formula
  • Location: Geolocation search, demonstrating Nearest neighbor search in a VectorSpace
  • Plan: Project Plan, demonstrating complex aggregation
  • QL: QLNet (QuantLib) , demonstrating integration with a large complex library of external functions
  • SQLServerGraph: SQL/Server graph comparison, demonstrating Graph query
  • TOGAF: The Open Group Architecture Framework meta-model, demonstrating complex relationship.
  • TPC-C: Transaction Performance Council TPC-C schema, demonstrating operational schema.
Copyright © Cepheis 2024