JSONSchema covers a lot of various schema needs and YAML is something a lot of developers are comfortable with. I know both of those technologies are not popular here in HN but YAML type-checked and editor-autocomplete-enabled using JSONSchema is a solid choice for configurations in my opinion.
Pkl, a Programming Language for Configuration
81–90 of 598 posts
Re: Pkl, a Programming Language for Configuration
#82> We offer plugins and extensions for IntelliJ, Visual Studio Code and Neovim, with Language Server Protocol support coming soon. Why? Why would they not have just done the language server first (or only)? All of those have built-in support for it, so separate implementations wouldn't have been necessary; that's the point . I just don't understand why you'd make that decision on a greenfield project today, especially…
> I just don't understand why you'd make that decision on a greenfield project today, especially if LSP support is planned at all? How about if the LSP doesn't cut it for the kind of they IDE support they want to offer?
Re: Pkl, a Programming Language for Configuration
#83I'm sorry, can someone explain why one would want to translate from one data description language to another (Pkl -> JSON, or whatever)? Why not just write JSON (or whatever) to begin with?
Similar to why do we write Python instead of assembly, or why do relational databases typically have things like datatypes and constraints?
Re: Pkl, a Programming Language for Configuration
#84it's very brave to release a new configuration language with no Python support today.
They start with Swift, Java, Kotlin and Go. That's already a big chunk of applications. Perhaps more will come in the future.
Re: Pkl, a Programming Language for Configuration
#85> We offer plugins and extensions for IntelliJ, Visual Studio Code and Neovim, with Language Server Protocol support coming soon. Why? Why would they not have just done the language server first (or only)? All of those have built-in support for it, so separate implementations wouldn't have been necessary; that's the point . I just don't understand why you'd make that decision on a greenfield project today, especially…
I can imagine the answer if I were in their shoes. Say I already have something working as a plugin (or know how to make plugins vs. learning from scratch about implementing LSP), I'd rather have this out there as soon as possible and add more tooling/language support in subsequent releases.
Re: Pkl, a Programming Language for Configuration
#86> We offer plugins and extensions for IntelliJ, Visual Studio Code and Neovim, with Language Server Protocol support coming soon. Why? Why would they not have just done the language server first (or only)? All of those have built-in support for it, so separate implementations wouldn't have been necessary; that's the point . I just don't understand why you'd make that decision on a greenfield project today, especially…
Why assume it's a greenfield project? I would think most open source software that comes out of companies have lived internally for a while before going public?
Re: Pkl, a Programming Language for Configuration
#87Re: Pkl, a Programming Language for Configuration
#88Re: Pkl, a Programming Language for Configuration
#89I'm sorry, can someone explain why one would want to translate from one data description language to another (Pkl -> JSON, or whatever)? Why not just write JSON (or whatever) to begin with?
Re: Pkl, a Programming Language for Configuration
#90> We offer plugins and extensions for IntelliJ, Visual Studio Code and Neovim, with Language Server Protocol support coming soon. Why? Why would they not have just done the language server first (or only)? All of those have built-in support for it, so separate implementations wouldn't have been necessary; that's the point . I just don't understand why you'd make that decision on a greenfield project today, especially…