Skip to content

ladl 0.1.1

Choose a tag to compare

@ronaldtse ronaldtse released this 26 Nov 09:52
· 18 commits to main since this release

ladl 0.1.1

ISO/IEC profile completed by engine evidence; the engine ships no profiles

  • The bundled ISO/IEC profile (the MN 112-A worked instance, retained as the engine's conformance fixture) now covers what the reference ISO engine labels: annex subclauses render hierarchically (A.1.1, A.1.1.1 — AnnexSubclauseLabeller), and notes/examples inside annexes and subclauses label in their own section (AnnexNoteLabeller, AnnexExampleLabeller, SubclauseNoteLabeller, SubclauseExampleLabeller). Note/example counters restart per section — a lone note renders "NOTE", notes continue "NOTE 1, NOTE 2" within one subclause and restart in the next — matching the reference engine's per-section counters and singleton semantics.
  • ArabicNumericSequence returns to its MN 112 definition (Arabic-script numerals ١، ٢، ٣); the profile binds clause numbering to DecimalNumericSequence, matching the Western-digit outputs the ISO/IEC Directives specify. ArabicIndicNumericSequence remains as the explicit RTL spelling used by the MN 112 examples.
  • The profile parser accepts both inheritance spellings: MN 112's instance Foo < Bar and the released LutaML grammar's instance "Foo" { isa Bar; } — profiles written in either syntax load and label identically.
  • The engine ships no bundled profiles (per the release plan, one LADL profile extraction per flavor gem and per taste): the bundled profile constants and accessors are removed — Ladl.load_profile is the single entry point, and the MN 112-A worked instance moved to the conformance fixtures. The extracted profiles live in the flavor gems, metanorma-taste, and the metanorma/ladl-profiles staging repository.
  • gemspec metadata gains changelog_uri; the repository follows the fleet CI shape (generic-rake, the plain release workflow with hand-written Release notes, Trusted Publishing).