Home /Modules/nordshrift/01-sst-to-sleela.md

01-sst-to-sleela.md

lib/nordshrift/tutorials/01-sst-to-sleela.md · 29 line(s) · markdown

Nordshrift Tutorial 01 — SST to SLeeLa

Trace an SST document through Nordshrift into SLeeLa.

.sst
  -> parse
  -> SST symbols
  -> /lib resolution
  -> Nordshrift symbols
  -> .sleela
  -> SLeeLa compiler

Example:

sheet HelloLibrary {
  use sst.SSTSymbol;
  target sleela;
}

Nordshrift resolves sst.SSTSymbol through the shared library index before emitting SLeeLa.

Exercise

Replace sst.SSTSymbol with another known /lib class and trace the resolution path.