shenwei356 / shenwei356/csvtk

Change expression evaluation package

Open
#172 8 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement low priority
Dominant language
Go
Stars
1.2k
Forks
96
PR merge metrics
No merged PRs in 30d

Description

Since https://github.com/Knetic/govaluate is not active anymore, I plan to replace it with https://github.com/antonmedv/expr.

Related commands: filter2, mutate2.

It looks great! https://github.com/antonmedv/expr/blob/master/docs/Language-Definition.md

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the filter2 and mutate2 command entry points and compare their expression requirements with the linked expr Language Definition. Trace how each command currently evaluates expressions, then verify that replacing govaluate supports both commands and their existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.