The language

A file IS a class: its typed members are state, its functions are methods, its run body is the constructor — for a routed component, run per request. on/emit is the one communication primitive across every realm: a handler is 'on name(args)', a send is 'emit name(payload)', and whether that crosses a thread, a socket or the server/browser boundary is the compiler's problem. Values are hybrids (one literal form for objects, lists and config), strings are multi-line with REAL newlines — there is no escape language.

// note.hl → class Note — the file is the class
String title = 'untitled'      // typed member: state
Number saves = 0

save() {                       // a method
	saves = saves + 1
	emit saved({ title = title })   // anyone may listen
}

on saved(ev) {                 // ...including this class itself
	console.log('saved: ' + ev.title)
}