HSK REFERENCE

Language and Application Reference

A compact overview of the principal HSK language structures and the application technologies developed around them.

01

Program structure

System defines the application boundary. Unit organizes related behavior. Command contains executable HSK statements.

02

Values and types

Primitive values, vectors, maps, constants, enums, structures and classes define application data.

03

Control and errors

If, while, for, switch, try, catch and throw describe native HSK application flow.

04

Reusable behavior

Functions, stages, sequences and blocks organize reusable and ordered application behavior.

● ● ● report_level
enum report_level { ok = 0, warn = 1, fail = 2, info = 3, }

REPORT

Structured application output

The report statement communicates application state through the report_level enum. The enum must be declared before report is used.

APPLICATION TECHNOLOGIES

HSK ecosystem

KUMO

APPLICATION

Routes, redirects, metadata, page elements, themes, forms and dedicated error views are defined directly through HSK.

HSKON

DATA

Structured application data, theme information and renderer definitions are represented through HSKON.

HCONF

CONFIGURATION

Compact configuration for HSK applications and related services is organized through HCONF.

Kagami Kensho

INSPECTION

Kagami Kensho (Runtime Inspection & Validation) provides interactive inspection and diagnostic output through --interactive and --dump-runtime.