bazelbuild / starlark

Starlark Language
Apache License 2.0
2.37k stars 158 forks source link

Caddy is not using Starlark actually #278

Open Maibunni opened 1 month ago

Maibunni commented 1 month ago

As per this issue: https://github.com/caddyserver/caddy/issues/6325

laurentlb commented 1 month ago

Thanks! I've sent a PR.

For the record, here's what their readme looked like in their Caddy 2 development branch: https://github.com/caddyserver/caddy/blob/3d9f8eac08e172d99eafb396f161263fd444c073/README.md#json-is-declarative-what-if-i-need-more-programmability-ie-imperative-syntax

The list of improvements at the top of the file mentioned:

An embedded scripting language! Caddy2 has native Starlark integration. Do things you never thought possible with higher performance than Lua, JavaScript, and other VMs. Starlark is expressive, familiar (dialect of Python), almost Turing-complete, and highly efficient. (We're still improving performance here.)

I didn't notice it was later dropped from the development branch.