Commit graph

1378 commits

Author SHA1 Message Date
John Kerl
a4d39a1b4b Do not type-infer Inf, Infinity, NaN, true, false, etc. on file-read 2021-09-04 22:46:58 -04:00
John Kerl
cfc986b5f4 Fix non-auto-infer of true/false/Infinity/NaN/etc in non-JSON data files 2021-09-04 14:19:15 -04:00
John Kerl
a916087ca0 remove extraneous os.Stdout arguments from function-manager print methods 2021-09-04 14:02:09 -04:00
John Kerl
54b415d4e2 Rework data-types page and function-table presentation 2021-09-04 13:43:15 -04:00
John Kerl
85f3e5ecf7 misc to-do items 2021-09-04 00:20:48 -04:00
John Kerl
4f1424789e
Doc6 proofreads 3 (#638)
* Docs6 proofreads batch 3

* BUild-everything script for local development

* Start of glossary

* Put quicklinks atop every page, not just the base-index page

* Expanded record-heterogeneity page

* streaming page

* separators page

* vimrc doc

* separators page
2021-09-03 23:19:32 -04:00
John Kerl
2833bc8652 fix go test 2021-09-01 18:11:38 -04:00
John Kerl
7fa29a98e6 ongoing edits 2021-08-25 22:01:32 -04:00
John Kerl
1bd16d237c ongoing edits including new docs-structure page 2021-08-25 22:01:32 -04:00
John Kerl
f5a1f153c1 trim data/small to 6 decimal places 2021-08-25 22:01:32 -04:00
John Kerl
dffaee0328 More docs6 proofreads 2021-08-25 22:01:32 -04:00
John Kerl
db547f9332 miller6 links in README.md 2021-08-25 09:58:42 -04:00
John Kerl
28ba0ba798 Proofreads for Miller 6 docs 2021-08-22 11:41:31 -04:00
John Kerl
fa098e82e9 todo 2021-08-12 14:19:39 -04:00
John Kerl
624066d601 Fix Windows regression-test cases 2021-08-11 23:14:20 -04:00
John Kerl
55209bfc5c Test case for #297 2021-08-11 23:14:20 -04:00
John Kerl
9286f5a3b1 Comment-neatens and deferred TODOs 2021-08-11 23:14:20 -04:00
John Kerl
e8a695c610 Port string-literal unbackslashing from C to Go 2021-08-11 23:14:20 -04:00
John Kerl
b791d515ab test iteration 2021-08-11 23:14:20 -04:00
John Kerl
aba35c0624 Revert to Miller-C handling of bare-booleans w/ regard to setting filter statement 2021-08-11 23:14:20 -04:00
John Kerl
0950ee8287 test iterations 2021-08-11 23:14:20 -04:00
John Kerl
44aa60dd30 API simplify 2021-08-11 23:14:20 -04:00
John Kerl
0bcdc31620 Continue on API 2021-08-11 23:14:20 -04:00
John Kerl
e1b44dd775 Accept some now-passing regex cases 2021-08-11 23:14:20 -04:00
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
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
7ca312cff0
Make 'go build' work, without need for 'go build mlr.go' (#622) 2021-08-06 10:08:21 -04:00
John Kerl
58d9497164
More CSS neatens for miller6 docs (#619) 2021-08-05 15:48:12 -04:00
John Kerl
afd3c9c149
Replace miller-6 sphinx docs with mkdocs docs (#618) 2021-08-04 22:03:01 -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
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
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