nushell/TODO.md
2021-10-12 06:35:40 +13:00

1.3 KiB

Todo

  • Env shorthand
  • String interpolation
  • Aliases
  • Env vars
  • Sub commands
  • Floats
  • Tests
  • Decl requires $ but shouldn't
  • alias highlighting at call site
  • refactor into subcrates
  • subcommand alias
  • type inference from successful parse (eg not List<unknown> but List<int>)
  • parsing tables
  • Block params
  • Ranges
  • Column path
  • ...rest without calling it rest
  • Iteration (each) over tables
  • Row conditions
  • Simple completions
  • Detecting $it currently only looks at top scope but should find any free $it in the expression (including subexprs)
  • Signature needs to make parameters visible in scope before block is parsed
  • Externals
  • Modules and imports
  • Exports
  • Source
  • Error shortcircuit (stopping on first error). Revised: errors emit first, but can be seen by commands.
  • Input/output types
  • Support for $in
  • Value serialization
  • Handling rows with missing columns during a cell path
  • ctrl-c support
  • operator overflow
  • finish operator type-checking
  • Overlays (replacement for autoenv)

Maybe:

  • default param values?
  • Unary not?
  • let [first, rest] = [1, 2, 3] (design question: how do you pattern match a table?)