Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings
kcl-lang

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
@kcl-lang

The KCL Programming Language

KCL is an open-source constraint-based record & functional language mainly used in configuration and policy scenarios.

💻Website | 👩‍💻Quick Start | 👀Blog | 📦Modules | 🔧SDKs | 🔌Plugins | 💻IDE Extensions | 🎮Playground |☸️KRM KCL Spec

KCL is a constraint-based record & functional language mainly used in cloud-native configuration and policy scenarios. It is hosted by theCloud Native Computing Foundation (CNCF) as a Sandbox Project.

What is it for?

KCL aims to provide the following capabilities:

  • Hide infrastructure and platform details by defining more appropriateAPI abstractions to reduce the burden of developers.
  • Mutate andvalidate existing config files or manifests through numerous community modules.
  • Manage large-scale configuration data across teams without side effects through configuration and policy language for GitOps.

Specifically, KCL can

  • Improve the ability tosemantically validate configurations at the code level, such as schema definitions, required/optional attribute requirements, types, range constraints, and etc.
  • Provide capabilities forwriting, combining, and abstracting configuration chunks, such as structure definitions, structure inheritance, constraint definitions, and configuration policy merging.
  • Enhance configuration flexibility by adoptingmodern programming language features, such as conditional statements, loops, functions, and package management, to improve configuration reusability.
  • Providecomprehensive toolchain support, including rich IDE extensions and toolchains support to reduce the learning curve and enhance the user experience.
  • Enable easier sharing, propagation, and delivery of configurations between different teams/roles throughpackage management tools andOCI registries.
  • Offer ahigh-performance compiler to meet the demands of scalable configuration scenarios, such as rendering performance for generating configurations for different environments and topologies based on a baseline configuration and configuration automation modification performance requirements.
  • Improveautomation integration capabilities throughmulti-language SDKs,KCL language plugins, and other means, significantly reducing the learning curve while leveraging the value of configuration and policy writing with KCL.
  • Used as aplatform engineering language to deliver modern apps withKusionStack.

Documents

See theKCL website for more information.

Community

See thecommunity for ways to join us.

PinnedLoading

  1. kclkclPublic

    KCL Programming Language (CNCF Sandbox Project). https://kcl-lang.io

    Rust 2.1k 144

  2. modulesmodulesPublic

    KCL Community Modules. View on Artifact Hub: https://artifacthub.io/packages/search?org=kcl&sort=relevance&page=1

    Roff 29 36

  3. clicliPublic

    The KCL Command Line Interface (CLI).

    Go 28 18

  4. krm-kclkrm-kclPublic

    Kubernetes Resource Model KCL Specification and Integrations including Kubectl, Kustomize, Helm, Helmfile, Crossplane, KPT, etc.

    Go 26 15

  5. kcl-lang.iokcl-lang.ioPublic

    KCL Website and Documentation Repo

    TypeScript 18 49

  6. liblibPublic

    KCL Multiple Language Bindings including Rust, Go, Python, Java, Kotlin, .NET, Swift, Lua, Node.js, Zig, C, C++, WASM, etc.

    C# 11 11

Repositories

Loading
Type
Select type
Language
Select language
Sort
Select order
Showing 10 of 45 repositories

[8]ページ先頭

©2009-2025 Movatter.jp