文章目录

cangjie notes

  1. the cangjie programming language was designed as a general-purpose language,which can deal with full-scenario application requirement.it possesses various features , including support for multiple backends,an efficient grammer,mutli-paradigm coding,type and memory safety,efficient concurrency,compatibilty with language ecosystems,ease of expansion in the domain,convenient UI development and abundant buit-in library functions.
  2. The Cangjie compiler is responsible for compiling the Cangjie source code into binary executable files. Furthermore, the compiler provides a set of toolchains including a compiler, debugger, package manager, static check tools, formatter, coverage statistics, and so on.
  3. If you use the Cangjie toolchain on Windows, you should create or modify the CANGJIE_HOME system environment variable to point to the directory where your installer package is unzipped. Additionally, update the Path system environment variable to include the following directories:
%CANGJIE_HOME%\bin

%CANGJIE_HOME%\tools\bin

%CANGJIE_HOME%\tools\lib

%CANGJIE_HOME%\runtime\lib\windows_x86_64_llvm
  1. hello,world.
    the hello,world program can be constructed as follows.
//my first program
main() {
    println("你好,世界")
}

references

  1. https://cangjie-lang.cn/
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐