basic_programming_concepts

Installation
SKILL.md

仓颉编程语言基本概念和规则

0. 关键字

以下标识符是仓颉语言的关键字,不要用作程序元素命名(如有特殊情况需要,请用反引号 ` 转义为原始标识符):

  • 类型关键字:Bool、Rune、Float16、Float32、Float64、Int8、Int16、Int32、Int64、IntNative、UInt8、UInt16、UInt32、UInt64、UIntNative、Array、VArray、String、Nothing、Unit
  • 控制流关键字:break、case、catch、continue、do、else、finally、for、if、match、return、spawn、try、throw、while
  • 声明关键字:as、abstract、class、const、enum、extend、func、foreign、import、init、interface、let、macro、main、mut、open、operator、override、package、private、prop、protected、public、redef、static、struct、super、synchronized、this、This、type、unsafe、where
  • 布尔关键字:false、true
  • 其他:quote

1. 标识符

Installs
5
First Seen
Mar 11, 2026
basic_programming_concepts — kong-baiming/cangjie-doc-skills