miller/docs
John Kerl 28e28df46f Add opt-in --infer-booleans and --infer-special-floats type-inference flags (#965)
By default, Miller treats "true"/"false" and IEEE special floats like
"Inf", "Infinity", and "NaN" in data files as strings. This adds two
opt-in flags, following the existing -S/-A/-O inference-flag family:

* --infer-booleans: treat "true" and "false" (exactly those spellings,
  matching the DSL's and JSON's boolean literals) as booleans.
* --infer-special-floats: treat "Inf", "Infinity", and "NaN" --
  case-insensitively, with optional leading +/- on the first two -- as
  floats.

Unlike -S/-A/-O, these don't replace the package-level inferrer; they
augment it, so they compose with -A and -O. They intentionally have no
effect with -S/--infer-none, which disables type inference entirely.
Default behavior is unchanged.

Includes unit tests, regression-test cases under
test/cases/io-infer-flags/, and documentation updates.

Addresses #965.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 09:43:58 -04:00
..
overrides merge 2021-11-22 22:43:15 -05:00
src Add opt-in --infer-booleans and --infer-special-floats type-inference flags (#965) 2026-07-14 09:43:58 -04:00
_config.yml Set theme jekyll-theme-leap-day 2021-11-05 09:41:44 -04:00
build-epub.sh Publish an epub of the docs on Read the Docs (#1835) (#2166) 2026-07-07 14:55:36 -04:00
Makefile Publish an epub of the docs on Read the Docs (#1835) (#2166) 2026-07-07 14:55:36 -04:00
mkdocs.yml More AI skill/MCP docs (#2140) 2026-07-04 14:45:29 -04:00
README.md Page-refactor for CSV/JSON troubleshooting (#2128) 2026-07-03 10:19:09 -04:00
regen.sh Remove Miller-5 source/doc/manpage directories, along with C-build files (#731) 2021-11-04 00:45:44 -04:00
requirements.txt trying https://github.com/squidfunk/mkdocs-material/issues/43 2021-11-04 19:05:15 -04:00
retitle Remove Miller-5 source/doc/manpage directories, along with C-build files (#731) 2021-11-04 00:45:44 -04:00