Request to Include Cangjie Programming Language in Future Model Training
Dear Anthropic Team,
I hope this message finds you well. I am writing to formally request the inclusion of the Cangjie programming
language in future Claude model training datasets. As a user who has been working extensively with Claude Code, I
believe this addition would significantly enhance Claude's capabilities in supporting emerging programming
ecosystems.
About Cangjie Programming Language
Overview
Cangjie (仓颉) is a modern, general-purpose programming language developed by Huawei Technologies and officially
released as version 1.0.0 LTS in 2024. It represents a significant advancement in programming language design,
specifically tailored for full-scenario application development.
Key Language Characteristics
- Multi-paradigm support: Functional, imperative, and object-oriented programming
- Static strong typing: Compile-time type checking with powerful type inference
- Memory safety: Automatic memory management with runtime safety checks
- Multi-backend architecture: CJNative (native compilation) and CJVM (VM execution)
- Concurrency: User-space lightweight threads (native coroutines)
- Interoperability: FFI support for C language integration
- Metaprogramming: Lexical macro-based metaprogramming capabilities
Complete Ecosystem
Cangjie comes with a comprehensive development ecosystem:
Compiler Toolchain:
- cjc - Cangjie compiler (LLVM-based backend)
- cjpm - Project build tool
- cjdb - Command-line debugger
- cjfmt - Code formatter
- cjlint - Static analysis tool
- cjcov - Code coverage analysis
- cjprof - Performance profiling tool
Standard Library:
- 30 core packages covering essential functionality
- Comprehensive APIs for I/O, networking, concurrency, mathematics, and more
- Thread-safe collections and concurrent programming primitives
Strategic Importance
HarmonyOS Ecosystem Integration
Cangjie plays a critical role in Huawei's HarmonyOS ecosystem:
- Designed as a primary development language for HarmonyOS applications
- Native integration with ArkTS and the HarmonyOS runtime
- Strategic importance for mobile, IoT, and embedded system development
- Growing adoption in Chinese technology sector and beyond
Market Adoption Potential
- Enterprise backing: Strong support from Huawei, a global technology leader
- Documentation quality: Comprehensive 6,000+ line technical specification
- Production readiness: LTS version indicates enterprise-grade stability
- Growing community: Increasing developer interest and adoption
Technical Innovation
Cangjie introduces several innovative features:
- Advanced LLVM optimization passes (16 custom passes)
- Sophisticated garbage collection with low-latency algorithms
- Flow expressions (Pipeline |> and Composition ~> operators)
- Advanced pattern matching and type system
- Zero-cost abstractions with performance optimization
Current Limitations in Claude Support
Present Challenges
Currently, when users request assistance with Cangjie programming:
- No native language knowledge: Claude lacks built-in understanding of Cangjie syntax and semantics
- Manual documentation dependency: Users must provide extensive documentation for basic tasks
- Inconsistent responses: Each new conversation requires rebuilding language knowledge
- Reduced efficiency: Significant overhead in documentation parsing for every query
User Experience Impact
- Developers cannot get immediate help with Cangjie programming
- Learning curve is steeper due to lack of AI-assisted development
- Reduced productivity compared to other programming languages
- Potential barrier to Cangjie adoption
Benefits of Including Cangjie in Training Data
Enhanced User Experience
- Immediate code assistance: Native support for Cangjie syntax, libraries, and best practices
- Consistent responses: Reliable programming guidance across all conversations
- Reduced friction: Developers can focus on problem-solving rather than documentation lookup
- Educational value: Claude can effectively teach Cangjie programming concepts
Strategic Positioning
- Ecosystem support: Anthropic would be among the first AI companies to support this emerging language
- Market differentiation: Competitive advantage in supporting cutting-edge technologies
- Future readiness: Early preparation for growing HarmonyOS development ecosystem
- Enterprise value: Enhanced value proposition for enterprise customers
Technical Benefits
- Complete language coverage: Full support for modern programming language features
- Cross-language insights: Better understanding of language design patterns and paradigms
- Toolchain integration: Support for the complete development workflow
Available Resources
Official Documentation
- Complete Language Specification: Cangjie v1.0.0 official documentation (6,285 lines)
- Standard Library Reference: Comprehensive API documentation for all 30 packages
- Toolchain Documentation: Complete guides for compiler, debugger, and development tools
- Code Examples: Extensive collection of practical programming examples
Quality Assurance
- Official sources: All documentation comes from Huawei's official releases
- Version stability: LTS version ensures long-term consistency
- Community validation: Growing developer community provides real-world usage patterns
Availability
I can provide direct access to:
- Complete Cangjie v1.0.0 language specification
- Structured documentation with comprehensive indexing
- Code examples and best practices
- Toolchain usage guides
Implementation Suggestions
Training Data Sources
- Official Cangjie documentation (primary source)
- Open-source Cangjie projects (if available)
- Community tutorials and examples
- Academic papers and research on Cangjie language design
Priority Areas
- Core language syntax and semantics
- Standard library APIs and usage patterns
- Build system and toolchain integration
- Best practices and coding conventions
- HarmonyOS ecosystem integration patterns
Conclusion
The inclusion of Cangjie programming language in Claude's training data would:
- Enhance Claude's capabilities in supporting modern programming ecosystems
- Improve user experience for developers working with HarmonyOS and Cangjie
- Demonstrate Anthropic's commitment to supporting emerging technologies
- Provide competitive advantage in the rapidly evolving AI-assisted development market
Given Cangjie's strategic importance in the HarmonyOS ecosystem and its growing adoption, I believe this addition
would be valuable for both Anthropic and the developer community.
I would be happy to provide additional information, documentation, or resources to support this initiative. Thank
you for considering this request, and I look forward to your response.
Contact Information
- Feedback Channel: GitHub Issues - https://github.com/anthropics/claude-code/issues
- Documentation Access: Available upon request
- Additional Resources: Comprehensive Cangjie documentation and examples ready for sharing
---
Best regards
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗