From dfc1eb7247b7de48ff9b4d8f1a0c7020a85b616f Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Sat, 10 Oct 2026 10:54:54 +0000 Subject: [PATCH] Plan and report: the module's own doc comment --- diff --git a/PLAN.md b/PLAN.md index 71e2ce3..1040301 100644 --- a/PLAN.md +++ b/PLAN.md @@ -129,8 +129,9 @@ Tools -- [ ] 15. `tools/Doc.jed`, a jed program: prints a module's exported - declarations, each with the comment just before it, and pulls +- [ ] 15. `tools/Doc.jed`, a jed program: prints a module's own + comment, the one before `module`, then its exported + declarations, each with the comment just before it; and pulls out the examples of `doc/jed.md` that are whole modules. `make check` also compiles those examples, running the ones with a `main`, and runs each library module's `main` as its test. diff --git a/doc/jed.md b/doc/jed.md index 43556ac..d2c6fb9 100644 --- a/doc/jed.md +++ b/doc/jed.md @@ -78,7 +78,8 @@ Error messages give the line and the column, counted in characters. **Comments** are `(*` ... `*)` and nest. By convention, the comment -just before an exported declaration is its documentation. +just before an exported declaration is its documentation, and the one +before `module` is the module's. **Operators and delimiters:**