Skip to content

z1h.v1.2.0_20240616

Latest
Compare
Choose a tag to compare
@z1h z1h released this 16 Jun 02:58
5c75f0b

亲爱的 Z1h 用户,

我们很高兴向大家宣布 Z1h 编程语言迎来了重要升级, 这一版本为开发者们带来了许多新功能和改进,让我们一起来看看具体内容:

  1. HTTP 增加对 EventSource 的支持
    Z1h 现在支持 EventSource,可以更方便地处理服务器发送事件 (SSE)。

  2. 文档和 $myip 的实现修改
    我们对文档及 $myip 的实现进行了修改,进一步提升了其使用便捷性和稳定性。

  3. << 和 ** 的实现升级
    这两个操作符的实现得到了显著升级,现在支持多种数据类型,尤其是 bigFloat 和 bigInt。

  4. 新增 text.stringToUnicode 和 text.unicodeToString 方法
    我们添加了 text.stringToUnicode 和 text.unicodeToString 方法,方便用户在字符串和 Unicode 之间进行转换。

  5. 关键字解放
    in、nil、undefined、chan、global、package 等关键字现在可以被当做普通变量名来使用了(强烈建议所有编程语言都尽可能把关键字还给开发者,^_^)。

  6. 允许 for(var k, v in xxx)
    现在用户可以在 for 循环中使用 var 关键字,例如 for(var k, v in xxx),尽管功能上没有显著区别,但提供了更多的书写灵活性。

亲爱的用户们,谢谢您对 Z1h 编程语言的支持和热爱。希望这一版本的升级能为您的开发带来更多便利和乐趣。
最后,这个版本是为了庆祝父亲节而推出的,祝天下所有父亲节日快乐!

Z1h Programming Language Update Announcement

Dear Z1h Users,

We are excited to announce a major upgrade for the Z1h programming language. This release brings many new features and improvements for our developers. Let's take a look at the specific content:

  1. HTTP support for EventSource
    Z1h now supports EventSource, making it easier to handle Server-Sent Events (SSE).

  2. Documentation and $myip implementation modifications
    We have modified the implementation of the documentation and $myip, further enhancing their ease of use and stability.

  3. Upgraded implementation of << and **
    The implementation of these two operators has been significantly upgraded, now supporting multiple data types, especially bigFloat and bigInt.

  4. Added text.stringToUnicode and text.unicodeToString methods
    We have added the text.stringToUnicode and text.unicodeToString methods, making it convenient for users to convert between strings and Unicode.

  5. Keywork liberation
    Keywords such as in, nil, undefined, chan, global, and package can now be used as ordinary variable names (we strongly suggest that all programming languages return as many keywords as possible to developers, ^_^).

  6. Support for for(var k, v in xxx)
    Users can now use the var keyword in for loops, such as for(var k, v in xxx), offering more flexibility in writing although it does not significantly differ in functionality.

Lastly, this version is released to celebrate Father's Day. Happy Father's Day to all fathers around the world!

Sincerely, Z1h