|
|
|
|
|
by mrcjkb
242 days ago
|
|
> presumably because that's what Cargo does. Nope. We chose TOML as the default for various reasons: - Simplicity.
There are use cases for a turing complete configuration language.
Lux is not one of them. - Ergonomics.
The ability to edit it using the CLI (technically, that could be possible with Lua too, but it would be a lot more complex and not a very pleasant UX). > which, I don't know if that's the right call? The reason we currently support importing a Lua extra.rockspec is ease of migration for complex projects, e.g. with platform-specific overrides (not yet supported by the TOML spec). |
|
This perplexes me. Lua was conceived as a configuration language and the whole point of a configuration language is you edit a config file. Trying to abstract this away behind a CLI seems like it misses the ethos of Lua.
It’s also a tad strange that a package manager designed for Lua isn’t written in Lua. Presumably Lua developers already have Lua installed, know Lua, and would more likely contribute to a project written in Lua.