Skip to content

Commit 6df6b2c

Browse files
committed
add kcl
1 parent c88fb81 commit 6df6b2c

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

docs/kcl.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# KCL
2+
3+
> **KCL** is an open-source constraint-based record & functional language mainly used in configuration and policy scenarios
4+
5+
Resources
6+
7+
* [Documentation](https://www.kcl-lang.io)
8+
* [KCL extension](https://marketplace.visualstudio.com/items?itemName=kcl.kcl-vscode-extension) for Visual Studio Code
9+
10+
```sh
11+
# installation
12+
brew install kcl-lang/tap/kcl
13+
```
14+
15+
## Examples
16+
17+
```sh
18+
# execute program
19+
kcl kcl/hello.k
20+
```

kcl/hello.k

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hello = "KCL"

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ nav:
1414
- Hadoop: hadoop.md
1515
- Cloud: cloud.md
1616
- Kubernetes: kubernetes.md
17+
- KCL: kcl.md
1718
- System Design: system-design.md
1819
- Operating System: operating-system.md
1920
- Programming: programming.md

0 commit comments

Comments
 (0)