79ce13abef
To nuon escapes ( #6660 )
...
* Add tests for "to nuon" escaping handling
* Fix "to nuon" not escaping double quotations
* Fix "to nuon" double backslash
Fix value_to_string_without_quotes leaving escaped backslash in
non-quoted strings
2022-10-04 06:25:21 -05:00
34e58bc5d6
add tests, deal with pipes, newlines, tabs for to nuon
( #6391 )
...
* remove unnecessary FlatShape
* add proptest
* remove files that belonged in another PR
* more tests, more chars
* add exception for parser error unrelated ot PR
2022-09-01 14:08:19 +02:00
884382bac4
preserve space by letting to nuon
only add quotes when necessary ( #6379 )
...
* preserve space by letting `to nuon` only add quotes when necessary
* fix CI, add quotes with colon
* fmt
* add more chars to blacklist
2022-08-23 06:51:07 -05:00
56ce10347e
let to nuon
convert column names with spaces ( #6376 )
...
* let `to nuon` convert column names with spaces
* change test
2022-08-21 13:12:13 +03:00
28c21121cf
fixes to nuon
for inf, -inf, and NaN ( #5818 )
2022-06-17 21:01:37 +03:00
7ae7394c85
Force floats to output a decimal in nuon ( #5768 )
...
* Force floats to output a decimal in nuon
* Add test
2022-06-14 05:45:07 +12:00
507f24d029
Improve test coverage of command examples ( #5650 )
...
* Ignore `cargo tarpaulin` output files
* Add expected result for `columns` example
Examples without provided expected output will never be tested.
The subset of commands available in `test_examples()` is limited thus
excluding the tests depending on other commands
* Add example test harness to `reject`
* Test and fix `wrap` example
* Test and fix `drop column` example
* Update `from ods` examples
* Update `from xlsx` examples
* Run `to nuon` examples
* Run `hash base64` examples
* Add example output to `path parse`
* Test and fix the `grid` examples
2022-05-26 13:51:31 -05:00
ae9c0fc138
Fix quoting for command line args ( #5384 )
...
* Fix quoting for command line args
* Replace custom quoting with escape_quote_string
* Use raw string for now
2022-04-30 13:23:05 -05:00
91cd1717e9
Add escapes to 'to nuon' ( #4964 )
2022-03-26 08:35:37 +13:00
96a1bf5f8d
Experiment: Allow both $true/true and $false/false ( #4696 )
...
* Change true/false to keywords
* oops, clippy
* Both kinds of bools
* Add in some boolean variables
* disable py virtualenv test for now
2022-03-02 19:55:03 -05:00
a6a96b29cb
Add binary literals ( #4680 )
2022-02-28 18:31:53 -05:00
b09acdb7f9
Fix unsupported type message for some math related commands ( #4672 )
...
* Fix unsupported type message of some math related commands
* changing the error form for UnsupportedInput
* cargo fmt
2022-02-28 10:14:33 -05:00
10364c4f22
don't use table compaction in to nuon if not a table ( #4671 )
...
* don't use table compaction in to nuon if not a table
* Make a proper nuon conversion test
* more nuon tests
2022-02-28 07:10:02 -05:00
4b18fdcc6e
Date literals ( #4619 )
...
* Date literals
* update deps
* Add date+duration
2022-02-23 21:02:48 -05:00
31925c3d40
Compact nuon tables ( #4596 )
2022-02-21 20:48:42 -05:00
fd22211737
Add nuon format for fun ( #4401 )
...
* Add nuon format for fun
* more fun
* More nuon fixes, allow comments, improve errors
2022-02-20 16:26:41 -05:00