Proposal: Standardizing "parse-" Commands in VisiData #2648
frosencrantz
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Proposal: Standardizing "parse-" Commands in VisiData
I'd like to propose establishing a standard protocol for commands that parse column values, similar to how "addcol-" and "setcol-" commands follow consistent behavior. The idea is to create a family of "parse-" commands that handle different types of structured data while maintaining consistent behavior.
Current Example
The existing
addcol-split
command provides a good model for this protocol:Proposed Extensions
These commands could have variants to:
Potential Parse Commands
Here are some parsing targets that could follow this pattern:
addcol-split
)Alternative Approaches
We could also consider:
expand-
commandsI'm interested in community feedback on:
This could be a great opportunity for new contributors to add parsing capabilities for different data types while following a consistent interface.
This post was solely aided by AI, and no mind-altering substances were harmed.
Beta Was this translation helpful? Give feedback.
All reactions