https://git.dkl9.net/memoire/tree/57ecddbfc6eac1491ebc6cf493176ce7cc1f0f7dRecent commits to memoire (57ecddbfc6eac1491ebc6cf493176ce7cc1f0f7d)2021-12-09T21:48:59-05:00tag:gitlist.org,2012:commit/57ecddbfc6eac1491ebc6cf493176ce7cc1f0f7dRefactor `main.lua`2021-12-09T21:48:59-05:00John Smith
<pre>`savedeck` is now a separate function,
rather than code embedded at the top level.
</pre>
tag:gitlist.org,2012:commit/67395fe04bab9d88f751bde3a4a65d52fdd88a96Implement review feature in main interface2021-12-07T22:14:25-05:00John Smith
<pre>The Review option of `main.lua` loads a deck,
checks which prompts the user must review,
presents these prompts for the user to review,
and records updated records to the deck file.
</pre>
tag:gitlist.org,2012:commit/b08a881a5526260a39d10e612c0bd813e34bacf9Add success- and failure-counters to memoire records2021-11-26T15:52:17-05:00John Smith
<pre>Each prompt-set record has a set of `Successes` and `Failures` fields,
which count the number of successful and failed reviews, respectively.
`Prompt` objects (`prompt.lua`) correspondingly have `.succ` and `.fail` fields.
`review.update` has been updated to update these fields as appropriate.
</pre>
tag:gitlist.org,2012:commit/7e9857ee19209152c9bf177660653be4a73b1c3dSet up skeleton of main interface2021-11-23T23:26:52-05:00John Smith
<pre>`main.lua` shall provide a CLI/TUI for memoire;
the beginnings of that have been implemented (help text, for now).
The change in verb inflection in commit summaries is deliberate;
the new form is correct.
</pre>
tag:gitlist.org,2012:commit/eb7971ef836a9a1964e6b8ac940e9150e66e1cddAdds functions for review mechanics2021-11-22T22:03:58-05:00John Smith
<pre>* `review.update` to update a `Prompt` upon review
* `review.should` to check if a `Prompt` should be reviewed
</pre>
tag:gitlist.org,2012:commit/ed5ea7d0f8c0b922d1e346c1973a877d50e3b9cbamend! Improves Prompt and recrw modules2021-11-09T21:51:20-05:00John Smith
<pre>Improves Prompt and recrw modules
* changed output of `Prompt:fromrecs`
* added methods `Prompt:spt` and `Prompt:torec` for data conversion
* fixed bug in `recrw.write`
* clarified comments
</pre>
tag:gitlist.org,2012:commit/64b10939ad525ac875c14fda913c439c7a1aba1fImproves Prompt and recrw modules2021-11-09T21:47:52-05:00John Smith
<pre>* added methods `Prompt:spt` and `Prompt:torec` for data conversion
* fixed bug in `recrw.write`
* clarified comments
</pre>
tag:gitlist.org,2012:commit/f34deee583dcf65b6e0c9d4070eba3fe851b4b6eAdds Prompt library2021-11-07T00:40:44-04:00John Smith
<pre>The `prompt.lua` module for manipulating prompts is added,
implementing the extraction of prompts from Rec-data (`Prompt:fromrecs`).
</pre>
tag:gitlist.org,2012:commit/50049a141bed88b6f79035f2c0df465202d99d18Expands on Recfile read/write library2021-11-06T23:32:01-04:00John Smith
<pre>`recparse.lua` has been moved to `recrw.lua` to better reflect its function:
it implements conversion from an internal representation to Rec,
not just the other way around.
The internal representation has changed from lists of label-value pairs
to lists pairing labels with lists of values,
to accommodate the duplication allowed in Rec.
</pre>
tag:gitlist.org,2012:commit/35a7f9bba7a29d5e5dcefc0a70888f3cb9b7a017Initial commit2021-11-06T22:15:30-04:00John Smith
<pre>All that exists so far is
* `example.rec`: an example of the Rec-based format to be used in Memoire
* `recparse.lua`: a Lua module to parse Recfiles
</pre>