


Tianjin University and Beihang University are deeply involved in Huawei's 'Cangjie” project and launched the first AI agent programming framework 'Cangqiong” based on domestic programming languages.
According to news from this site on June 22, Huawei yesterday introduced Huawei’s self-developed programming language-Cangjie to developers around the world. This is the first public appearance of Cangjie programming language.
Inquiries on this site revealed that Tianjin University and Beijing University of Aeronautics and Astronautics were deeply involved in the research and development of Huawei’s “Cangjie”.
Tianjin University: Cangjie Programming Language Compiler
The software engineering team of the Department of Intelligence and Computing of Tianjin University joined hands with the Huawei Cangjie team to deeply participate in the quality assurance research of the Cangjie programming language compiler.
According to reports, Cangjie compiler is the basic software that coexists with Cangjie programming language. In the preparatory stage of the Cangjie programming language, a high-quality compiler that matches it became one of the core goals. As the Cangjie programming language evolves, the Cangjie compiler is constantly being upgraded and improved.

In the past five years, Professor Chen Junjie, Professor Wang Zan, researcher Jiang Jiajun of the software engineering team of the Department of Intelligence and Computing of Tianjin University, as well as more than ten graduate students including Zhao Yingquan, Fu Ruifeng, Guo Yile, Zheng Kai, and Fan Xingyu , conducted in-depth research around Cangjie compiler testing work, and proposed a data-driven Cangjie compiler systematic testing framework, covering test program generation technology based on program synthesis, test oracle construction technology based on program mutation, and testing process based on code representation Acceleration technology and many other advanced technologies. The results have been published in many academic papers at the top conferences in the field of software engineering, such as ICSE and ISSTA, and have been deployed in actual tests of the Cangjie compiler, significantly improving the test results of the Cangjie compiler.
Test program generation technology based on program synthesis: This technology decomposes the program code into fine-grained code fragments, involving different language features, and then implements testing under the guidance of syntax and semantic constraints Efficient synthesis of programs. It is worth noting that this technology can use historical defects as basic data, extract code fragments related to defects, and integrate them into various code contexts to stimulate its ability to trigger more defects and execute more code branches. .
Test prediction construction technology based on program mutation: This technology designs a series of equivalent mutation operators and unequal mutation operators through in-depth analysis and mining of the syntax and semantics of Cangjie programming language. The former provides supplements in test predictions, integrates the idea of metamorphosis testing, and improves technical error detection capabilities, while the latter further enhances the diversity of test programs, introduces more Cangjie language features, underlying library calls and other information to achieve a more complete understanding of the Cangjie compiler. test.
Code representation-based testing process acceleration technology: This technology is designed to improve compiler testing efficiency to detect more compiler defects in a shorter time. This technology fragments the test program code and introduces a code representation learning strategy to represent it in the language definition space. Furthermore, this technology utilizes code snippets and generates test programs from a diversity perspective, and uses the test results as feedback to further guide the subsequent testing process, thereby improving the overall testing efficiency.
Beihang University: Cangqiong AI agent programming framework
Beijing University of Aeronautics and Astronautics Software SchoolTeacher Li Li’s teamIn-depth participation in the development of CangChain, an AI agent programming framework based on Cangjie programming language. This is the first time An AI agent programming framework based on domestic programming languages.

According to reports, CangChain was born in the Cangjie community and received technical support from the Cangjie programming language official team. As a community open source project, Cangqiong adopts modular design and functionality, aiming to provide software engineers with reliable functions for software integration models, secure access to private data, and data interaction.
Based on the modular design concept, Cangqiong allows developers to select and combine different modules according to their own specific needs. In the process of realizing the task, Cangqiong can decompose the task into multiple subtasks, select and build an appropriate agent (Agent) for each subtask, allow the language model to interact with external APIs, call the tool (Tool) that meets the goal of the subtask, and use The task chain (Chain) connects each sub-task in series, and finally obtains the task solution.
Teacher Li Li’s team is mainly involved in the design, development and implementation of the ReAct framework and multi-agent Planner scheduling in the sky.
In the specific application, the team designed and implemented a multi-agent system, including the following four key roles: Docwriter, CodeWriter, CodeTester and CodeReviewer. These agents work closely together on the Cangqiong platform to complete the development tasks of classic games such as 2048.
Docwriter: Responsible for writing detailed requirements documents and design specifications. In the early stages of game development, Docwriter communicates with users and other agents to deeply understand and record the functional requirements and design ideas of the game, providing a detailed blueprint for subsequent steps.
CodeWriter: Responsible for writing source code according to the design document. CodeWriter uses advanced programming techniques and algorithms to transform the requirements provided by Docwriter into specific code implementations. The "reasoning-action" mode of ReAct in the Sky Framework effectively improves the programming efficiency and accuracy of CodeWriter.
CodeTester: After the source code is initially written, CodeTester will automatically generate and run a series of test cases to ensure the correctness and stability of the code function. CodeTester uses various defined tools to construct test cases and execute corresponding test cases to locate and provide feedback on potential problems in the code to improve code quality.
CodeReviewer: Responsible for conducting a comprehensive review of the code written by CodeWriter to ensure that the code meets best practices and quality standards. CodeReviewer will not only check the function implementation of the code, but also pay attention to the readability and maintainability of the code and make optimization suggestions.

Through Cangqiong’s modular design and multi-agent intelligent scheduling, these role agents can efficiently divide work, collaborate with each other, and continuously iterate Optimize and finally complete the game development tasks. Specifically, the task chain (Chain) mechanism effectively connects various subtasks, and the information interaction between agents is seamlessly connected through Planner scheduling, improving development efficiency and code quality.
In the future, the Beihang University School of Software team plans to continue to expand the application fields of Qiongqiong and conduct in-depth research on the application potential of multi-agent systems in other complex tasks.
The above is the detailed content of Tianjin University and Beihang University are deeply involved in Huawei's 'Cangjie” project and launched the first AI agent programming framework 'Cangqiong” based on domestic programming languages.. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



According to news from this site on June 24, at the keynote speech of the HDC2024 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's official developer website has now launched the official introductory tutorial video of Cangjie programming language to facilitate developers to get started and understand it. 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 rules for each month of 2024, see N ways of expressing binary trees in Cangjie language, and use enumeration types to implement Algebraic calculations, signal system simulation using interfaces and extensions, and new syntax using Cangjie macros, etc. This site has tutorial access address: ht

This site reported on June 21 that at the HDC2024 Huawei Developer Conference this afternoon, Gong Ti, President of Huawei Terminal BG Software Department, officially announced Huawei’s self-developed Cangjie programming language and released a developer preview version of HarmonyOSNEXT Cangjie language. This is the first time Huawei has publicly released the Cangjie programming language. Gong Ti said: "In 2019, the Cangjie programming language project was born at Huawei. After 5 years of R&D accumulation and heavy R&D investment, it finally meets global developers today. Cangjie programming language integrates modern language features, comprehensive compilation optimization and Runtime implementation and out-of-the-box IDE tool chain support create a friendly development experience and excellent program performance for developers. "According to reports, Cangjie programming language is an all-scenario intelligence tool.

According to news from this site on June 21, Huawei’s self-developed Cangjie programming language was officially unveiled today, and the official announced the launch of HarmonyOSNEXT Cangjie language developer preview version Beta recruitment. This upgrade is an early adopter upgrade to the developer preview version, which provides Cangjie language SDK, developer guides and related DevEcoStudio plug-ins for developers to use Cangjie language to develop, debug and run HarmonyOSNext applications. Registration period: June 21, 2024 - October 21, 2024 Application requirements: This HarmonyOSNEXT Cangjie Language Developer Preview Beta recruitment event is only open to the following developers: 1) Real names have been completed in the Huawei Developer Alliance Certification; 2) Complete H

According to news from this site on June 22, Huawei yesterday introduced Huawei’s self-developed programming language-Cangjie to developers around the world. This is the first public appearance of Cangjie programming language. According to inquiries on this site, Tianjin University and Beijing University of Aeronautics and Astronautics were deeply involved in the research and development of Huawei’s “Cangjie”. Tianjin University: Cangjie Programming Language Compiler The software engineering team of the Department of Intelligence and Computing of Tianjin University joined hands with the Huawei Cangjie team to deeply participate in the quality assurance research of the Cangjie programming language compiler. According to reports, the Cangjie compiler is the basic software that is symbiotic with the Cangjie programming language. In the preparatory stage of the Cangjie programming language, a high-quality compiler that matches it became one of the core goals. As the Cangjie programming language evolves, the Cangjie compiler is constantly being upgraded and improved. In the past five years, Tianjin University

There are many languages to choose from in Microsoft Teams, so how to switch languages? Users need to click the menu, then find Settings, select General there, then click Language, select the language and save it. This introduction to switching language methods can tell you the specific content. The following is a detailed introduction. Take a look. Bar! How to switch language in Microsoft Teams Answer: Select the specific process in Settings-General-Language: 1. First, click the three dots next to the avatar to enter the settings. 2. Then click on the general options inside. 3. Then click on the language and scroll down to see more languages. 4. Finally, click Save and Restart.

According to news from this site on June 21, at the Huawei HDC2024 Developer Conference held today, Huawei Managing Director and Huawei Cloud CEO Zhang Pingan announced that Pangu Large Model 5.0 was officially released, achieving full series, multi-modal, and strong thinking. upgrade. Full series: Pangu Large Model 5.0 includes models with different parameter specifications to adapt to different business scenarios. Multi-modality: Pangu Large Model 5.0 can better and more accurately understand the physical world, including text, pictures, videos, radar, infrared, remote sensing and other modalities. In terms of generation, Pangu 5.0 can generate multi-modal content that conforms to the laws of the physical world, allowing innovation to be arbitrary. Strong thinking: Complex logical reasoning is the key for large models to become industry assistants. Pangu Large Model 5.0 combines thinking chain technology and strategy

Recently, many friends have asked the editor what to do if the Microsoft Edge browser does not display images. Next, let us learn how to solve the problem of Microsoft Edge browser not displaying images. I hope it can help everyone. 1. First click on the lower left corner to start, and right-click on "Microsoft Edge Browser", as shown in the figure below. 2. Then select "More" and click "App Settings", as shown in the figure below. 3. Then scroll down to find "Pictures", as shown in the picture below. 4. Finally, turn on the switch below the picture, as shown in the picture below. The above is all the content that the editor brings to you on what to do if the Microsoft Edge browser does not display pictures. I hope it can be helpful to you.

Golang (also known as Go language) is an open source programming language developed by Google and first released in 2007 to improve the productivity and development efficiency of engineers. Golang aims to simplify the complexity of programming languages and provide efficient execution speed while taking into account ease of use. This article will deeply explore the characteristics of Golang, analyze its bytecode mechanism, and reveal its working principle through specific code examples. 1. The characteristics and advantages of Golang are simple and efficient: Golang has a concise grammatical structure and rich
