Examples

Two sets come with the distribution. A tour of 42 small programs, each a written explanation of a single thing, in order. And a set of screens that run in a browser.

Every screen has a designer's HTML file beside it. There is no markup on the LPScript side. A screen clones the samples, fills them in, and names the message to send when something is pressed.

One page each:

Components

What belongs to no screen lives on its own and is imported by path. A confirmation box carries its own markup, because a dialog belongs to no page. A store splits sessionStorage into what is kept for the session and what is read once. A socket holds a WebSocket and takes on noticing that it dropped and connecting again.