Huawei's official introductory tutorial for Cangjie programming language is released. Learn how to obtain the universal version SDK in one article

王林
Release: 2024-06-25 08:05:09
Original
1307 people have browsed it

According to news from this site on June 24, at the keynote speech of the HDC 2024 Huawei Developer Conference on June 21, Gong Ti, President of Huawei Terminal BG Software Department, officially announced Huawei’s self-developed Cangjie programming language. This language has been developed for 5 years and is now available for developer preview.

Huawei Developer Official Website has now launched the Official introductory tutorial video of Cangjie Programming Language to facilitate developers to get started and understand.

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

This tutorial will take users to experience Cangjie, learn Cangjie, and apply Cangjie, including using Cangjie language to estimate pi, calculate the stem and branch disciplines of each month in 2024, and see N ways to express binary trees in Cangjie language , as well as using enumerated types to implement algebraic calculations, using interfaces and extensions to implement signal system simulation, and using Cangjie macros to extend new syntax, etc.

This site has tutorial access address:

https://developer.huawei.com/consumer/cn/training/course/slightMooc/C101718903607800132

In addition, Cangjie Programming Language Universal Version SDK has supported application for download. Attached application tutorial:

STEP1:

Follow the official WeChat public account of Cangjie Programming Language to receive automatic push messages, and follow the prompts to reply to the SDK.

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

STEP2:

Fill in the trial questionnaire and wait for the official email of Cangjie Programming Language to reply to the email. The official will reply within 1-2 working days.

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

Note: Cangjie programming language SDK and development tools are stored on the GitCode Cangjie community. The Cangjie community will be reviewed based on the user’s mobile phone number, so the mobile phone number needs to be registered with GitCode when filling out the questionnaire The mobile phone number must be consistent, otherwise the community will not pass the review.

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

STEP3:

Complete the signing of the commitment letter and reply to the email according to the official email prompts of Cangjie Programming Language.

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

STEP4:

Cangjie Programming Language official email address to reply to the email.

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

Note: The Cangjie programming language community is operated on the GitCode Cangjie community. You can apply to join the community by clicking on the link.

How to compile and run the first Cangjie programming language program? (Take Windows platform as an example)

STEP1:

In the GitCode Cangjie community, download the Cangjie VScode plug-in and Cangjie SDK.

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK
  • CangjieVScodePlugin project: Cangjie VScode plug-in provides users with the functions of language services, project management, compilation and construction, debugging services, formatting, static checking, and coverage statistics.

  • CangjieSDK-Win project: Cangjie programming language SDK and documentation for Windows platform

  • CangjieSDK project: Cangjie programming language SDK and documentation for Linux platform

  • CangjieStudio project: not yet online in the GitCode community, so stay tuned

  • UserForm: Cangjie community user forum. If users have any suggestions or ideas about the Cangjie programming language or community, they can initiate an issue

STEP2:

Unzip and install the Cangjie plug-in

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

STEP3:

Configure the Cangjie operating environment

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

Note: The configuration path needs to be ~Cangjie-0.50.3 -windows_x64cangjie path level can take effect.

STEP4: Create Cangjie Project

Press Ctrl+Shift+P to open the VScode function search box, enter Create Cangjie Project to find the option to create a Cangjie project.

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

STEP5: Run the Cangjie program

Select the main.cj file and click the Run Code button in the upper right corner. The first Cangjie programming language program is successfully compiled and run.

华为仓颉编程语言官方入门教程发布,一文看懂如何获取通用版本 SDK

main() {print("Hello World")}

Huawei HDC 2024 Developer Conference Special Topic

The above is the detailed content of Huawei's official introductory tutorial for Cangjie programming language is released. Learn how to obtain the universal version SDK in one article. For more information, please follow other related articles on the PHP Chinese website!

source:ithome.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!