Skip to content
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

Add support for Dhall #26

Open
jmgilman opened this issue Jun 18, 2022 · 1 comment
Open

Add support for Dhall #26

jmgilman opened this issue Jun 18, 2022 · 1 comment
Assignees
Labels
Effort: 3 Priority: Medium This issue is prioritized as medium Status: Accepted This issue has been accepted Type: Feature This issue targets a new feature

Comments

@jmgilman
Copy link
Collaborator

Add support for the Dhall language.

@jmgilman jmgilman added Status: Accepted This issue has been accepted Type: Feature This issue targets a new feature Priority: Medium This issue is prioritized as medium Effort: 3 labels Jun 18, 2022
@jmgilman jmgilman self-assigned this Jun 18, 2022
@jmgilman
Copy link
Collaborator Author

It appears that we can follow the same path taken with CUE in exporting the Nix expression JSON. This gets fed to json-to-dhall to produce a Dhall file. We could name this something static, like data.dhall, and then have downstream users ingest it into their own files (i.e. let data = ./data.dhall). Finally, convert to the desired format.

  1. Export Nix expression to JSON
  2. Convert JSON to Dhall
  3. Import Dhall
  4. Perform logic and then export to desired format (i.e. JSON, YAML, etc.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Effort: 3 Priority: Medium This issue is prioritized as medium Status: Accepted This issue has been accepted Type: Feature This issue targets a new feature
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant