-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support toml #271
Comments
Hi @cathaysia, I plan to add support for this format (like YAML #10 and XML), but it is currently not very high on my list of priorities, so by default, it will probably still take a few months before I will work on it. I will still need to figure out how to adapt the CLI and the internal data types how to make these things happen. So working on a PR from your side is a bit of a risky game, but ... if you are able to make a function like |
Thanks for your reply. It's great to see that you have plans to do this. But considering that adding these too early may bring burden to the following refactoring, I might prefer to wait until your interface is stable before looking at these. |
I haven't studied jaq's code in depth. But based on my past experience, if the existing interface is difficult to adjust, then you may consider adding another layer of abstraction (such as HIR). For example, expression -> compile -> hir -> json (yaml/toml) |
I think that this is a good idea. :)
I think that the internal interface will not be that hard to adjust. It's more about figuring about how users can use the functionality. For example, when you use |
Could you add support toml? Or will you accept such PR?
The text was updated successfully, but these errors were encountered: