Skip to content

Lini 1.0.1

Choose a tag to compare

@monfa-red monfa-red released this 07 Sep 00:26
· 44 commits to main since this release

A patch release: three fixes to what the compiler draws, and a spec that says what it always meant.

cargo install lini

Fixed

  • A |band| and a |mark| can be placed on a time axis. SPEC 14.5 said a band's range: is "the same interval shape the axis itself reads", but only the axis read date literals — so a dated chart could carry neither a shaded span nor a reference line. Both take dates now, and the axis's own range: / ticks: read through the same one place, so the three cannot drift apart again. A number on a dated domain, or a date on a numeric one, is the mixed-domain error either way round.
  • A wire off a table cell leaves the card at that cell's row. Giving an |entity| cell an id and linking the path — the field-level relationship SPEC 8 specifies — reported no legal route: every side entry or channel is closed. The orthogonal router now opens the row's own edge.
  • Drawings breathe. A leader's stand-off was measured on its elbow rather than on its ink, so a note leaving upward or downward hung its text back across the exit. The drawing scope's clearance goes 5 → 18 — the old default drafted so tight that every sample overrode it — with note-offset 14 → 20, note-landing 8 → 12, and the text's daylight off the landing named as note-text-gap 5. Figures with dimensions and callouts are laid out more loosely than in 1.0.0.

Also

  • Every fence SPEC.md writes bare is Lini, and says so — the reference chapters on the site are syntax-highlighted throughout.
  • The floor-plan examples in SPEC.md, SKILL.md and samples/ are redrawn: dimensions read clear spans face to face, no wall crosses an opening, and every fixture clears what it sits beside.
  • ## Quickstart is ## At a glance, so the reference chapter is 00-at-a-glance.html.

The language is unchanged. SPEC.md is the contract, and 1.x stays compatible with it.