Dhall over Pkl? #682
philocalyst
started this conversation in
Ideas
Replies: 4 comments 8 replies
-
|
The "I am no longer maintaining this project" doesn't inspire a lot of confidence 🙃 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
But it is a complete implementation of an earlier Dhall spec, according to their testsuite. If someone (me) took it over, would you consider it?
▰▰▰▰▰
Miles Wirht 🙃
… From: Josh Cannon ***@***.***>
Sent: 05 February 2026 17:27
To: jdx/hk ***@***.***>
Cc: Miles Wirht ***@***.***>, Author ***@***.***>
Subject: Re: [jdx/hk] Dhall over Pkl? (Discussion #682)
The "I am no longer maintaining this project" doesn't inspire a lot of confidence 🙃
--
Reply to this email directly or view it on GitHub:
#682 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
5 replies
-
|
I think dhall looks like vomit |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I think that's entirely because of the leading commas, see below:
```dhall
let Config = ./pkl/Config.dhall
let Builtins = ./pkl/Builtins.dhall
let Step = Config.Step
let Group = Config.Group
let linters
: List { mapKey : Text, mapValue : Step }
= [
{
mapKey = "actionlint",
mapValue = Builtins.actionlint
},
{
mapKey = "cargo-fmt",
mapValue = Builtins.cargo_fmt
},
{
mapKey = "cargo-clippy",
mapValue =
Builtins.cargo_clippy
// {
profiles = Some [ "slow" ],
check =
Some
"cargo clippy --manifest-path {{workspace_indicator}} --quiet -- -D warnings"
}
},
{
mapKey = "cargo-check",
mapValue = Builtins.cargo_check // { profiles = Some [ "!slow" ] }
},
{
mapKey = "dbg",
mapValue =
{
glob = "**/*.rs",
check = "! rg -e 'dbg!' {{files}}"
}
},
{
mapKey = "eslint",
mapValue =
Builtins.eslint // { dir = Some "docs", prefix = Some "bun run" }
},
{
mapKey = "newlines",
mapValue = Builtins.newlines
},
{
mapKey = "trailing-whitespace",
mapValue = Builtins.trailing_whitespace
},
{
mapKey = "prettier",
mapValue =
Builtins.prettier
// { glob = Some [ "*.js", "*.ts", "*.yml", "*.yaml" ] }
},
{
mapKey = "pkl-format",
mapValue = Builtins.pkl_format
},
{
mapKey = "taplo",
mapValue = Builtins.taplo // { glob = Some "settings.toml" }
},
{
mapKey = "taplo-format",
mapValue = Builtins.taplo_format
},
{
mapKey = "docs",
mapValue =
{
glob = "docs/**",
check = "mise run docs:build",
output_summary = Some "hide"
}
}
]
in Config
// {
hooks =
toMap
{
pre-commit =
{
fix = Some True,
stash = Some "git",
steps =
[
{
mapKey = "prelint",
mapValue =
{
check = "mise run prelint",
exclusive = Some True
}
}
]
# linters
# [
{
mapKey = "postlint",
mapValue =
{
check = "echo postlint",
exclusive = Some True
}
}
]
},
pre-push = { steps = linters },
check = { steps = linters },
fix = { fix = Some True, steps = linters }
},
warnings = Some [ "missing-profiles" ]
}
```
But it's preference. I won't push it.
▰▰▰▰▰
Miles Wirht 🙃
… From: jdx ***@***.***>
Sent: 06 February 2026 05:23
To: jdx/hk ***@***.***>
Cc: Miles Wirht ***@***.***>, Author ***@***.***>
Subject: Re: [jdx/hk] Dhall over Pkl? (Discussion #682)
I think dhall looks like vomit
--
Reply to this email directly or view it on GitHub:
#682 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Shares all of the same programmable qualities, and yet has a in-rust parsing library, so no CLI-dependencies.
Beta Was this translation helpful? Give feedback.
All reactions