4 ms·
The language docs[1] are CN. Chromium's (and Chrome's?) Translate menu option works well. Alternately, most pages in the table of contents have code for skimmin
by mncharity 2y ago
The language docs[1] are CN. Chromium's (and Chrome's?) Translate menu option works well. Alternately, most pages in the table of contents have code for skimming untranslated. One can also cut and paste to translation sites, but giving urls to translate.google (and baidu, yandex) yield blank pages.
There is a language spec pdf, as a link and inline, on page [2]. It's readable, being code dense, but also CN. I don't know how to easily translate it - chromium browser translation, and translate.google, don't seem to.
[1] https://developer.huawei.com/consumer/cn/doc/openharmony-cangjie/cj-wp-abstract https://developer.huawei.com/consumer/cn/doc/openharmony-can...
[2] https://developer.huawei.com/consumer/cn/doc/openharmony-cangjie/cj-lan-spec https://developer.huawei.com/consumer/cn/doc/openharmony-can...
- throwaway4good 2y agoIt looks like a modern statically typed multi-paradigm language with OO, exceptions, higher order functions, pattern matching, annotations, concurrency primitives etc. sitting on top of LLVM and something called CVJM. I guess it is in family with modern C# and perhaps Swift - has kinda a similar syntax to Swift. There are also some instructions for running it on Ubuntu in the pdf.
- link89 2y agoThis programming language reminds me of a lot of meta-language (ML) styles: function overloading based on pattern matching, immutable variables, and using `spawn` keyword for lightweight threads – a practice also employed by Erlang. Perhaps owing to Huawei's origins as a telecommunications equipment company, where many within the organization are familiar with Erlang, this new language exhibits numerous resemblances to Erlang.