]> git.g-eek.se Git - ranknauto.git/log
ranknauto.git
19 months agoSys. Bump version and restructure install instruction
Gustav Eek [Mon, 27 Mar 2023 22:16:03 +0000 (00:16 +0200)]
Sys. Bump version and restructure install instruction

20 months agoSys. Refactor number parsing for length and readability v.0.5
Gustav Eek [Mon, 6 Mar 2023 09:28:35 +0000 (10:28 +0100)]
Sys. Refactor number parsing for length and readability

"The rule of index of the longest match" is introduced also for bullet
parsing. In finding longest index, the length vector middle step is
removed for the benefit of iterator chaining. The *conf* templates are
produced symmetrically between bullet and number patterns. Debug
printing is reduced, concentrated and made symmetric. Finally, a
bullet test is updated as a consequence of introducing the longest
index rule for bullets.

20 months agoDoc. Update instructions for number list item management
Gustav Eek [Mon, 6 Mar 2023 05:29:46 +0000 (06:29 +0100)]
Doc. Update instructions for number list item management

20 months agoSrc. Add parsing and printing of numbered item lists.
Gustav Eek [Sun, 5 Mar 2023 18:17:45 +0000 (19:17 +0100)]
Src. Add parsing and printing of numbered item lists.

Add a member *number* to *Conf* struct, which is a printing template
for the case of numbered list. In *winnow*, identify number patterns,
store it them as template in *conf* and remove it. In *output* print
according to pattern. Also provide some basic tests.

A special treatment is in printing is that number width is adopted to
the length for right alignment. A special treatment in parsing is that
the widest numbered list item should be used for pattern definition.
Only for that you can tell about leading and trailing spaces.

TODO Clean up (refactor) number pattern parsing in *winnow*.

TODO Write some useful instructions in *README* from above commit
     message.

20 months agoSrc. Bug. Fix regular expression error.
Gustav Eek [Sun, 5 Mar 2023 18:11:23 +0000 (19:11 +0100)]
Src. Bug. Fix regular expression error.

20 months agoSrc. Refactor. Add debug printing of conf
Gustav Eek [Sun, 5 Mar 2023 18:08:13 +0000 (19:08 +0100)]
Src. Refactor. Add debug printing of conf

Also make vertical whitespace around functions consistent. Also remove
duplicate comments.

20 months agoSys. Bump version.
Gustav Eek [Sun, 5 Mar 2023 18:42:22 +0000 (19:42 +0100)]
Sys. Bump version.

20 months agoDoc. Write instructions on bullets and more v.0.4
Gustav Eek [Sun, 26 Feb 2023 09:53:36 +0000 (10:53 +0100)]
Doc. Write instructions on bullets and more

20 months agoSrc. Ignore input with outdated priority
Gustav Eek [Sun, 26 Feb 2023 20:18:54 +0000 (21:18 +0100)]
Src. Ignore input with outdated priority

Old outdated priority numbers is ignored in input. Function *winnow*
is updated. Testing is  completed as well.

20 months agoSrc. Handle bullet lists
Gustav Eek [Sun, 26 Feb 2023 07:46:28 +0000 (08:46 +0100)]
Src. Handle bullet lists

Support for bullet list input is implemented with regular expressions
in *winnow*. The configuration struct stores bullet format if
found. Function *output* implements the printing. Testing is completed
for all above.

20 months agoSrc. Refactor. Prepare for storing output modes.
Gustav Eek [Sun, 26 Feb 2023 07:41:18 +0000 (08:41 +0100)]
Src. Refactor. Prepare for storing output modes.

A configuration struct is added for storing various output
modes. Function *winnow* returns this *config*. The *winnow* function
is changed to be called by value.

20 months agoSys. Add dependency on regular expression library
Gustav Eek [Sun, 26 Feb 2023 07:02:24 +0000 (08:02 +0100)]
Sys. Add dependency on regular expression library

Also, in *Makefile* restructure test command.

Also, bump version, prepare for next release.

21 months agoSrc. Split input function and provide tests
Gustav Eek [Sun, 19 Feb 2023 16:26:29 +0000 (17:26 +0100)]
Src. Split input function and provide tests

 * Refactor a split of the *input* function into *winnow*
 * Trim and remove empty items
 * Provice two tests for input cleaning
 * Clean up among *use* headers

21 months agoDoc. Update usage documentation and add a CLI document. v.0.3
Gustav Eek [Thu, 2 Feb 2023 08:11:44 +0000 (09:11 +0100)]
Doc. Update usage documentation and add a CLI document.

21 months agoSrc. Implement option for distribution
Gustav Eek [Thu, 2 Feb 2023 08:10:00 +0000 (09:10 +0100)]
Src. Implement option for distribution

21 months agoSrc. Implement std parameter in lognormal distribution
Gustav Eek [Thu, 2 Feb 2023 07:18:41 +0000 (08:18 +0100)]
Src. Implement std parameter in lognormal distribution

21 months agoSrc. Read skewness option from command line
Gustav Eek [Thu, 2 Feb 2023 07:17:28 +0000 (08:17 +0100)]
Src. Read skewness option from command line

21 months agoSys. Add dependency on command line utilities
Gustav Eek [Thu, 2 Feb 2023 07:15:53 +0000 (08:15 +0100)]
Sys. Add dependency on command line utilities

21 months agoSys. Add description parameters to cargo conf v.0.2
Gustav Eek [Thu, 2 Feb 2023 07:14:51 +0000 (08:14 +0100)]
Sys. Add description parameters to cargo conf

21 months agoSrc. Provide the lognormal distribution option
Gustav Eek [Wed, 25 Jan 2023 19:58:23 +0000 (20:58 +0100)]
Src. Provide the lognormal distribution option

21 months agoSrc. Refac. Make method name abstract
Gustav Eek [Wed, 25 Jan 2023 19:57:22 +0000 (20:57 +0100)]
Src. Refac. Make method name abstract

21 months agoSrc. Refac. White space clean up
Gustav Eek [Wed, 25 Jan 2023 19:55:47 +0000 (20:55 +0100)]
Src. Refac. White space clean up

21 months agoSrc. Provide debug output
Gustav Eek [Wed, 25 Jan 2023 06:59:36 +0000 (07:59 +0100)]
Src. Provide debug output

21 months agoSrc. Change to exponential distribution
Gustav Eek [Wed, 25 Jan 2023 06:59:14 +0000 (07:59 +0100)]
Src. Change to exponential distribution

* Use crate *statrs*
* Provide *exp* function for exponential distribution
* Refactor function *normalize*
* Call by reference in *output* function

21 months agoSys. Add dependency on statrs
Gustav Eek [Wed, 25 Jan 2023 06:52:25 +0000 (07:52 +0100)]
Sys. Add dependency on statrs

21 months agoDoc. Add a note on dependencies
Gustav Eek [Wed, 25 Jan 2023 06:50:42 +0000 (07:50 +0100)]
Doc. Add a note on dependencies

Provide "Notes on dependencies".

21 months agoDoc. Add an article on statistics in Rust
Gustav Eek [Wed, 25 Jan 2023 06:49:00 +0000 (07:49 +0100)]
Doc. Add an article on statistics in Rust

Provide "Notes on statistics in Rust" with corresponding references in
README.

21 months agoAdd initial version v.0.1
Gustav Eek [Sun, 22 Jan 2023 16:59:32 +0000 (17:59 +0100)]
Add initial version

The software provides the delta distribution function implementation.

21 months agoBuild. Provide fundamental building scripts
Gustav Eek [Sun, 22 Jan 2023 16:57:16 +0000 (17:57 +0100)]
Build. Provide fundamental building scripts

That is Git ignore file, Cargo configuration file, and a general
Makefile.

21 months agoLicence. Provide licences as well as Reuse project info
Gustav Eek [Sun, 22 Jan 2023 16:56:27 +0000 (17:56 +0100)]
Licence. Provide licences as well as Reuse project info

21 months agoInitial commit. Provide a project title page
Gustav Eek [Sun, 22 Jan 2023 16:55:23 +0000 (17:55 +0100)]
Initial commit. Provide a project title page