Kite 是一个编程语言,用于快速的开发低CPU占用和低内存消耗的应用程序。目前该语言还只是开始,静观其变吧。

下面是一个 Kite 语言编写的程序例子:

class Test [
property value,

construct() [
this.value = "";
],

operator lshift(value) [
this.value = this.value + value;
],

method print() [
this.value|print;
]
];

tester = make Test();
tester << "foo";
tester << "bar";
tester|print;

# Output:
# foobar

Kite 0.2.0 使用相同的 Flex/Bison 解析器,显著降低编译时间,可解析 100% Kite 语法;增加 string|format 到标准库;支持 kdoc 等等多项改进。

相关文章:

  • 2021-06-30
  • 2021-05-11
  • 2021-11-01
  • 2022-01-14
  • 2021-06-05
  • 2021-11-22
  • 2021-09-17
猜你喜欢
  • 2021-09-11
  • 2021-12-22
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2021-10-08
  • 2021-09-16
相关资源
相似解决方案