hofstadter-io / cuetils

CLI and library for diff, patch, and ETL operations on CUE, JSON, and Yaml
BSD 3-Clause "New" or "Revised" License
78 stars 6 forks source link

Go implementations for improved performance and capabilities #15

Closed verdverm closed 2 years ago

verdverm commented 2 years ago

Today, the implementations are in CUE and entry is at the top level. Go implementations would likely have better performance. Additionally, they may open up features like Pattern Constraints l: [string]: string and Closedness close(), #def, and ...

The idea would be to walk values and the AST as needed.

verdverm commented 2 years ago

v0.3.1 CLI is now using the Go implementations. They pass the existing tests. We need more tests to verify more capabilities and edge cases. More improvements are planned.