Program structure
System defines the application boundary. Unit organizes related behavior. Command contains executable HSK statements.
HSK REFERENCE
A compact overview of the principal HSK language structures and the application technologies developed around them.
System defines the application boundary. Unit organizes related behavior. Command contains executable HSK statements.
Primitive values, vectors, maps, constants, enums, structures and classes define application data.
If, while, for, switch, try, catch and throw describe native HSK application flow.
Functions, stages, sequences and blocks organize reusable and ordered application behavior.
enum report_level {
ok = 0,
warn = 1,
fail = 2,
info = 3,
}
REPORT
The report statement communicates application state through the report_level enum. The enum must be declared before report is used.
APPLICATION TECHNOLOGIES
Routes, redirects, metadata, page elements, themes, forms and dedicated error views are defined directly through HSK.
Structured application data, theme information and renderer definitions are represented through HSKON.
Compact configuration for HSK applications and related services is organized through HCONF.
Kagami Kensho (Runtime Inspection & Validation) provides interactive inspection and diagnostic output through --interactive and --dump-runtime.