NixLabConnectionconnecting
ProjectsProject
web /

dreamstop.openfp.net

publicguest

dreamstop.openfp.net, the website and user manual of dreamstop, a language for continuous disambiguation

git clone git@nixlab.openfp.net:web/dreamstop.openfp.net.git
ba33e8ac062053485c642a1813c996cc1e9efcf4/ dreamstop-openfp-net-web /
README.md

dreamstop-openfp-net-web

The dreamstop.openfp.net website: the front page of dreamstop, a language for disambiguating text. The page says what dreamstop is and shows, for each codepoint position, a clear, an ambiguous and a nonsense example where a real example exists, with a plain note on what the position records. It then shows a clear ChangeLog entry and teaches minimal pairs with one pair from a real ChangeLog. Every code on the page is shown in its position's colour. It links the dreamstop user manual, a PDF served at /manual/dreamstop.pdf.

What it gives you

The dreamstop.openfp.net page as one design-kit Site in Miso.

  • Site.Page is the document head: the title, the description, the icon, the stylesheets and the preview card.
  • Site.Content is what the page says that is data: the links, the ChangeLog entry, the examples and note for each position, and the minimal pair. Prose that names a code holds it as a code, so the page always colours it.
  • Site.View is the body. Its one state is the position the menu shows, which a click or the arrow, Home and End keys on a tab change.
  • dreamstop-openfp-net-web-render writes the page to stdout as index.html under node at build time, so the page reads in full without JavaScript. It fails, naming the node, on anything the kit's renderer refuses.
  • dreamstop-openfp-net-web-client hydrates the same tree in the browser and runs the kit's scroll-progress effect.

The render executable is a JavaScript program. Run it under node and keep what it prints:

node dreamstop-openfp-net-web-render > index.html

Documentation

The Haddock reference documents Site.Page, Site.Content and Site.View. The page is published at https://dreamstop.openfp.net/, and its history is in the ChangeLog.