| | @@ -129,7 +129,12 @@ |
| 129 | 129 | |
| 130 | 130 | Tools |
| 131 | 131 | |
| 132 | | -- [ ] 15. `tools/Doc.jed`, a jed program: prints a module's own |
| 132 | +- [ ] 15. Versions first: the report says its version, by date |
| 133 | + (`2026-10.0`, then `.1` for the next change that month), and |
| 134 | + ends with what each version changed; `jed --version` prints its |
| 135 | + own and the report's, `jed 0.3.0, report 2026-10.0`. Each |
| 136 | + finished stage is tagged, `v0.3.0` for stage 3. Then |
| 137 | + `tools/Doc.jed`, a jed program: prints a module's own |
| 133 | 138 | comment, the one before `module`, then its exported |
| 134 | 139 | declarations, each with the comment just before it; and pulls |
| 135 | 140 | out the examples of `doc/jed.md` that are whole modules. |
| | @@ -154,3 +159,12 @@ |
| 154 | 159 | |
| 155 | 160 | - [ ] 17. `README.md` and `doc/compiler.md`, a guide to reading the |
| 156 | 161 | compiler file by file. |
| 162 | + |
| 163 | +Later |
| 164 | + |
| 165 | +- [ ] 18. `tools/Pretty.jed`, a formatter that keeps every line break |
| 166 | + and comment where it is: it fixes indentation (4 spaces a level) |
| 167 | + and the spaces around operators and after `,` and `;`, and |
| 168 | + leaves formatted code as it is. It shares with `Doc.jed` a |
| 169 | + scanner that keeps comments. `make fmt` checks that `lib/`, |
| 170 | + `examples/` and `tools/` come through unchanged. |