Files
littlefs/scripts
Christopher Haster 298441ae74 scripts: csv.py: Added help text over available field exprs
So now the available field exprs can be queried with --help-exprs:

  $ ./scripts/csv.py --help-exprs
  uops:
    +a                    Non-negation
    -a                    Negation
    !a                    1 if a is zero, otherwise 0
  bops:
    a * b                 Multiplication
    a / b                 Division
  ... snip ...

I was a bit torn on if this should be named --help-exprs or --list-exprs
to match test.py/bench.py, but decided on --help-exprs since it's
querying something "inside" the script, whereas test.py/bench.py's
--list-cases is querying something "outside" the script.

Internally this uses Python's docstrings, which is a nice language
feature to lean on.
2024-11-16 15:59:01 -06:00
..
2024-11-09 12:31:16 -06:00
2024-11-09 12:31:16 -06:00
2024-11-09 12:31:16 -06:00
2024-11-09 12:31:16 -06:00
2024-11-09 12:31:16 -06:00
2024-11-09 12:31:16 -06:00