Commit graph

149 commits

Author SHA1 Message Date
John Kerl
268a96d002
Export library code in pkg/ (#1391)
* Export library code in `pkg/`

* new doc page
2023-09-10 17:15:13 -04:00
John Kerl
dff2206b62 todo 2023-06-25 15:40:06 -04:00
John Kerl
ba9813a1c9 todo 2022-09-05 23:53:08 -04:00
John Kerl
e1fc3e19c0 todo 2022-07-12 08:45:07 -04:00
John Kerl
e7ccb57853 todo 2022-07-12 01:03:10 -04:00
John Kerl
64b3cbfcfe
mlr summary verb (#1056)
* mlr summary verb

* doc content

* iterating on more summarizers; needs work as noted in the PR

* mlr summary with selectable accumulators

* code-review feedback

* iterating on transposed output

* extend unit-test cases

* doc extensions
2022-07-12 00:57:34 -04:00
John Kerl
e6c24ca8a8 todo 2022-03-20 22:08:48 -04:00
John Kerl
d03ef16cfc
Add line/column info for DSL runtime non-parse failures (#998)
* Add line/column info for DSL runtime non-parse failures

* Other related callsites

* test cases

* Update already-existing test cases
2022-03-20 21:57:11 -04:00
John Kerl
4191c35b7c
Re-use whitespace regexp in clean_whitespace (#994)
* DSL strict mode

* Re-use whitespace regexp in clean_whitespace
2022-03-20 12:17:51 -04:00
John Kerl
8681007ddb todo 2022-03-18 23:48:50 -04:00
John Kerl
8f04d7671d
Restore --tsvlite (#984)
* Restore --tsvlite flag

* todo

* doc-build artifacts

* doc note on --tsv vs --tsvlite and backslashed data
2022-03-15 09:01:20 -04:00
John Kerl
a84b41ca04 6.1.0 release 2022-03-07 11:09:44 -05:00
John Kerl
df77204d21 todo 2022-03-07 07:49:23 -05:00
John Kerl
7b89bab8dd
Support more Go regex patterns, like "\d" (#974)
* Support more Go regex patterns

* Simplify doc example

* todo
2022-03-07 00:06:33 -05:00
John Kerl
1eae19421b
New doc page: Parsing and formatting fields (#973) 2022-03-06 23:28:16 -05:00
John Kerl
9350fed34d todo 2022-03-04 23:55:51 -05:00
John Kerl
a8a1600d25 todo 2022-02-24 09:37:03 -05:00
John Kerl
9b806f9561
Add --left-keep-fields option for mlr join (#967)
* Add --left-keep-fields option for mlr join

* on-line help for mlr join --lk

* doc-build artifacts

* test cases
2022-02-23 23:32:19 -05:00
John Kerl
0f86744552 todo 2022-02-22 00:34:54 -05:00
John Kerl
529f559422 Doc updates for #960 2022-02-22 00:10:49 -05:00
John Kerl
8fcc1a6419
FAQ entry for #351 (#958) 2022-02-21 17:34:48 -05:00
John Kerl
472b42d094
Support Latin-1 supplement a0-ff as DSL string literals (#957)
* Support Latin-1 supplement a0-ff as DSL string literals

* build artifacts for previous commit
2022-02-21 17:02:34 -05:00
John Kerl
78c2d63daa Merge branch 'more-unicode-in-bnf' 2022-02-21 13:36:07 -05:00
John Kerl
7e9704131a typofix 2022-02-21 12:26:43 -05:00
John Kerl
a4aee9082b strptime debug mode 2022-02-21 12:22:23 -05:00
John Kerl
47a427b00c
Fix "%%" in strptime; more test cases for strptime (#951)
* strptime debug mode

* Fix strptime %% format code

* internal/pkg/pbnjay-strptime/strptime_test.go; reg-test files

* Web-doc improvements for strftime and strptime

* doc-build artifacts
2022-02-21 12:21:04 -05:00
John Kerl
43ff9108ee
Neaten strptime.go (#950) 2022-02-20 00:29:35 -05:00
John Kerl
dc52a15114 todo 2022-02-19 23:26:07 -05:00
John Kerl
bb95f37066
New fmtifnum DSL function; make fmtnum/fmtifnum recursive over maps and arrays (#946)
* New fmtifnum DSL function

* doc-build artifacts for previous commit

* Make fmtnum/fmtifnum recursive over maps and arrays

* Online-help examples for fmtnum/fmtifnum

* doc-build artifacts for previous commit

* unit-test cases

* code-dedupe
2022-02-14 23:57:14 -05:00
John Kerl
6f19380e85 todo 2022-02-09 08:07:44 -05:00
John Kerl
8eeb82809e
Webdoc information on Unicode string literals (#935) 2022-02-09 00:28:04 -05:00
John Kerl
d67868bd33
Add Inf and NaN literals to the DSL (#933)
* Add Inf and NaN literals to the DSL

* Parser-build artifacts

* is_nan DSL function

* doc-build artifacts

* webdoc material
2022-02-08 09:58:50 -05:00
John Kerl
ce4d137f03 todo 2022-02-08 07:59:05 -05:00
John Kerl
7289422f36 todo 2022-02-08 00:36:09 -05:00
John Kerl
12e457bc96
strptime %j format for 3-digit day in year (#930)
* strptime %j format for 3-digit day in year

* doc mods
2022-02-07 09:10:27 -05:00
John Kerl
9f5a11f707
New --lazy-quotes flag for helping with malformed CSV (#925)
* Lazy-quotes option for CSV parser

* doc-build artifacts

* test cases

* doc-proofreads
2022-02-06 01:05:35 -05:00
John Kerl
66c4a077fd
Make TSV finally true TSV (#923)
* Spec-TSV

* doc mods; more test cases
2022-02-06 00:13:55 -05:00
John Kerl
fd3593bdee More on issue 908 2022-02-05 00:24:11 -05:00
John Kerl
b7f76cd622
Multiple on-line-help issues from #908 (#921)
* More on issue 908

* doc-build artifacts
2022-02-05 00:18:55 -05:00
John Kerl
c327055db7
Fix multiple on-line-help issues from #907 (#910)
* Fix multiple on-line-help issues from #907

* build-artifacts for previous commit
2022-01-31 23:41:32 -05:00
John Kerl
4b9227b5a8 Add more clarity on color-name choices 2022-01-31 23:21:44 -05:00
John Kerl
bef2fa74de
Update default colorization (#904)
* colorization experiment

* todo

* Add dependency on github.com/johnkerl/lumin

* lumin dependency

* more badges in README.md

* on-line help for bold/underine/reverse

* update webdocs
2022-01-30 14:12:47 -05:00
John Kerl
6b1d97ca2f todo 2022-01-26 23:33:13 -05:00
John Kerl
f7ff63124b
mlr split verb (#898)
* mlr split

* regression-test cases

* doc-build artifacts
2022-01-26 23:16:25 -05:00
John Kerl
d08dcebae4 todo 2022-01-24 07:53:47 -05:00
John Kerl
77811a4788
Sliding window averages (#894)
* todo

* Neaten existing DSL sketch

* rebase on #893, and sketch

* code-complete

* build artifacts for previous commit

* replace - with _ in shift and slwin
2022-01-23 23:03:46 -05:00
John Kerl
a2a9118ad8
Implement shift-lead option for mlr step (#893)
* iterating

* stepper-input refactor in prep for sliding-window PR

* window-keeper util class

* integrate window-keeper into step-transformer
2022-01-23 00:54:39 -05:00
John Kerl
f8fbfeeb0b
More of 884 (#887)
* More of #884

* More of #884
2022-01-18 21:53:40 -05:00
John Kerl
2012adc03c todo 2022-01-17 14:19:26 -05:00
John Kerl
4c6d43c030 todo 2022-01-17 13:16:37 -05:00