Commit graph

7369 commits

Author SHA1 Message Date
John Kerl
2aa464cf21 Rough impl for sub/gsub with captures 2021-08-11 23:14:20 -04:00
John Kerl
2cf26ee248 API iterate 2021-08-11 23:14:20 -04:00
John Kerl
2c2f7f2291 Flesh out matches-with-captures 2021-08-11 23:14:20 -04:00
John Kerl
9ea4402933 API extend 2021-08-11 23:14:20 -04:00
John Kerl
ade4268f74 API neaten 2021-08-11 23:14:20 -04:00
John Kerl
6a91756728 Make regex test cases tabular 2021-08-11 23:14:20 -04:00
John Kerl
774f9e471f Split out helper routines for sub/gsub/=~ 2021-08-11 23:14:20 -04:00
John Kerl
7d96022598 Port regex captures from C to Go 2021-08-11 23:14:20 -04:00
John Kerl
1836a5c5fd Port regex captures from C to Go 2021-08-11 23:14:20 -04:00
John Kerl
59ac5e4ab5 todo 2021-08-08 14:41:20 -04:00
John Kerl
1002067baf Include testimonials in README.md 2021-08-08 13:31:21 -04:00
John Kerl
c4063aea79 Fix up inline-code-sample CSS 2021-08-06 17:53:17 -04:00
John Kerl
9b212d19ac Fix up inline-code-sample CSS 2021-08-06 16:51:19 -04:00
John Kerl
99366af579 Split up miller6 reference section into three smaller sections 2021-08-06 16:32:13 -04:00
John Kerl
78e8e833a4
Mkdocs material theme (#624)
* Switch mkdocs theme from readthedocs to material

* CSS tweaks for mkdocs-readthedocs -> mkdocs-material
2021-08-06 16:21:14 -04:00
John Kerl
f152fd5182
WLine-wap content in code samples (#623) 2021-08-06 10:14:56 -04:00
John Kerl
7ca312cff0
Make 'go build' work, without need for 'go build mlr.go' (#622) 2021-08-06 10:08:21 -04:00
John Kerl
ea86e92d16 Rounded-corners CSS styling for Miller 6 docs 2021-08-05 18:26:09 -04:00
John Kerl
58d9497164
More CSS neatens for miller6 docs (#619) 2021-08-05 15:48:12 -04:00
John Kerl
b5cd41add7 CSS-neaten for left-navbar section headings in miller6 docs 2021-08-04 22:22:45 -04:00
John Kerl
8b30e65765 Improve docs6 README.md 2021-08-04 22:16:48 -04:00
John Kerl
afd3c9c149
Replace miller-6 sphinx docs with mkdocs docs (#618) 2021-08-04 22:03:01 -04:00
John Kerl
fa3ee05822
More miller-6 mkdocs porting from sphinx (#617)
* More mkdocs porting

* mkdocs-ify http/external links

* move README.md up one level

* Further sharpen code-sample CSS

* fix last internal-ref links
2021-08-04 21:50:41 -04:00
John Kerl
11eac853d2
First pass at converting Miller 6 docs from Sphinx to Mkdocs (#616)
* Accept more passing emit cases

* Port docs from sphinx to mkdocs

* iterating

* rephrase internal-link syntax using mkdocs

* iterating
2021-08-04 01:54:01 -04:00
John Kerl
86f31f2f9b fix memory leak in mlr count 2021-08-01 11:49:33 -04:00
John Kerl
b226706ac2
Accept more emit cases (#606)
* Accept more emit cases
2021-07-24 09:38:34 -04:00
John Kerl
7e9309b182
Fix C/Go incompatibilities in emit (#530)
* Fix C/Go emit/emitp incompatibilities
* Revisit dsl-emit regtests
* Accept venial C/Go differences in the previous
* add dsl-emit-basic-indexing test-suite
* Print testcase/mlr files if mlr regtest -vvv
* Neaten dsl-emit-basic-indexing test suite
* OFLATSEP -> FLATSEP since there is no longer IFLATSEP
* clean-slating the emitter
* gradually putting back emitter pieces
* iterating on indexed case
* rename test cases
* add lashed tests to regtest/cases/dsl-emit-basic-indexing
* Fix non-indexed emit of @* vs lashed
* test-renumbering
* iterating
* refactoring
* renumber test cases
* work off cases one at a time
* fix non-indexed non-lashed emit
* fix non-indexed lashed emit
* fix indexed non-lashed emitp
* fix indexed non-lashed emit
* fix indexed lashed emit
* remove test cases which are non-syntactical in miller6
* accept remaining test cases as improvements
2021-07-24 02:04:36 -04:00
John Kerl
9b4988e5d2
mlr regtest -j option to just run the case without status/etc (#605)
* todo

* mlr regtest -j option to just run the case without status/etc
2021-07-21 20:35:44 -04:00
John Kerl
40bf1d1204 doc-neatens 2021-07-12 08:10:09 -07:00
John Kerl
a8202d17e2 Go version 1.16 -> 1.15 since the former isn't ready on CentOS 2021-07-11 09:44:03 -04:00
John Kerl
5938a95ace
Allow text names for terminal colors, in addition to 0..255 (#599) 2021-07-08 16:24:27 -04:00
John Kerl
0d7cb93e53 todo 2021-07-07 21:44:13 -04:00
John Kerl
8a38176b42
Allow map.attribute as alternative to map["attribute"] (#584)
* Allow map.attribute as alternative to map["attribute"]

* regtest

* Split out NodeTypeDotOperator from NodeTypeOperator

* LHS dot accesses

* regtest
2021-07-07 21:14:59 -04:00
John Kerl
4030eb0a26
Support https://, http://, and file:// URI schemes for input (#598)
* Allow http/https as input sources

* Regtest data
2021-07-07 18:16:09 -04:00
John Kerl
98fa57f1f8 todo 2021-07-07 17:53:40 -04:00
John Kerl
c498d32af2 todo 2021-07-07 09:46:52 -04:00
John Kerl
3bba76b160
accept some passing int64-io regtest cases (#596) 2021-07-06 22:22:59 -04:00
John Kerl
10c89c5cba
Doc material on Windows and triple-double-quoting (#595)
* Windows doc re DSL quoting

* windows screenshot

* Windows doc re DSL quoting
2021-07-05 23:29:38 -04:00
John Kerl
6e3b9ac5d1 todo 2021-07-05 22:47:48 -04:00
John Kerl
4a00c49ff6
New template verb (#594)
* New template verb
* Regression tests, and template-from-file
2021-07-04 17:49:22 -04:00
John Kerl
e98e93778a
Default %f format for floats as in the C impl (#593) 2021-07-01 19:12:38 -04:00
John Kerl
524b784c50 Merge branch 'doc-faq-recipes-reorg' 2021-07-01 00:31:14 -04:00
John Kerl
1cd4601c29 todo 2021-07-01 00:30:21 -04:00
John Kerl
dd38445e89
Ongoing rework of FAQ/recipe "middle" doc sections (#592) 2021-07-01 00:28:42 -04:00
John Kerl
3677ba354a Ongoing rework of FAQ/recipe "middle" doc sections 2021-07-01 00:27:37 -04:00
John Kerl
6e36f70d56 todo 2021-06-30 23:12:12 -04:00
John Kerl
ed99dccb28 neaten 2021-06-30 22:44:34 -04:00
John Kerl
e51bd42a41 todo 2021-06-30 22:39:36 -04:00
John Kerl
8f0281e2bf
Regularize articultion of Sphinx code blocks (#591) 2021-06-30 22:37:49 -04:00
John Kerl
a5cc45c174
Port type-arithmetic-info doc material from C to Go (#590) 2021-06-30 21:42:34 -04:00