v1.1.3 Documentation
108 pages
Appendix8
Cangjie Package Compatibility Check
Appendix/cangjie_package_compatibility
`cjc` Compilation Options
Appendix/compile_options
Keywords
Appendix/keyword
Linux Distribution Support and Installation for the Toolchain
Appendix/linux_toolchain_install
Operators
Appendix/operator
Operator Functions
Appendix/operator_function
Runtime Environment Variables Manual
Appendix/runtime_env
TokenKind Type
Appendix/tokenkind_type
basic data type11
Array Types
basic_data_type/array
Basic Operators
basic_data_type/basic_operators
Boolean Type
basic_data_type/bool
Character Type
basic_data_type/characters
Floating-Point Types
basic_data_type/float
Integer Types
basic_data_type/integer
The Nothing Type
basic_data_type/nothing
Range Type
basic_data_type/range
String Type
basic_data_type/strings
Tuple Type
basic_data_type/tuple
The Unit Type
basic_data_type/unit
Basic IO3
Overview of I/O Streams
Basic_IO/basic_IO_overview
I/O Processing Streams
Basic_IO/basic_IO_process_stream
I/O Node Streams
Basic_IO/basic_IO_source_stream
basic programming concepts4
Expressions
basic_programming_concepts/expression
Functions
basic_programming_concepts/function
Identifiers
basic_programming_concepts/identifier
Program Structure
basic_programming_concepts/program_structure
class and interface5
Classes
class_and_interface/class
Interface
class_and_interface/interface
Properties
class_and_interface/prop
Subtype Relationships
class_and_interface/subtype
Type Conversion
class_and_interface/typecast
collections5
ArrayList
collections/collection_arraylist
HashMap
collections/collection_hashmap
HashSet
collections/collection_hashset
Iterable and Collections
collections/collection_iterable_collections
Overview of Basic Collection Types
collections/collection_overview
compile and build4
`cjc` Usage
compile_and_build/cjc_usage
Introduction to `cjpm`
compile_and_build/cjpm_usage
Conditional Compilation
compile_and_build/conditional_compilation
Cross-Compilation
compile_and_build/cross_compilation
concurrency6
Concurrency Overview
concurrency/concurrency_overview
Creating Threads
concurrency/create_thread
Thread Sleep for Specified Duration
concurrency/sleep
Synchronization Mechanisms
concurrency/sync
Terminating Threads
concurrency/terminal_thread
Accessing Threads
concurrency/use_thread
deploy and run2
Running the Cangjie Executable
deploy_and_run/run
Deploying the Cangjie Runtime
deploy_and_run/runtime_deploy
enum and pattern match6
Enum Types
enum_and_pattern_match/enum
Match Expressions
enum_and_pattern_match/match
The Option Type
enum_and_pattern_match/option_type
Other Usage Scenarios of Patterns
enum_and_pattern_match/other
Pattern Overview
enum_and_pattern_match/pattern_overview
Pattern Refutability
enum_and_pattern_match/pattern_refutability
error handle4
Common Runtime Exceptions
error_handle/common_runtime_exceptions
Defining Exceptions
error_handle/exception_overview
throw and Exception Handling
error_handle/handle
Using Option
error_handle/use_option
extension4
Access Rules
extension/access_rules
Direct Extension
extension/direct_extension
Extension Overview
extension/extend_overview
Interface Extension
extension/interface_extension
first understanding3
Introduction to Cangjie Language
first_understanding/basic
Running Your First Cangjie Program
first_understanding/hello_world
Installing the Cangjie Toolchain
first_understanding/install
function10
Function Invocation
function/call_functions
Closures
function/closure
const Functions and Constant Evaluation
function/const_func_and_eval
Defining Functions
function/define_functions
Function Types
function/first_class_citizen
Function Call Syntactic Sugar
function/function_call_desugar
Function Overloading
function/function_overloading
Lambda Expressions
function/lambda
Nested Functions
function/nested_functions
Operator Overloading
function/operator_overloading
generic9
Generic Classes
generic/generic_class
Generic Constraints
generic/generic_constraint
Generic Enums
generic/generic_enum
Generic Functions
generic/generic_function
Generic Interfaces
generic/generic_interface
Generics Overview
generic/generic_overview
Generic Structs
generic/generic_struct
Subtyping Relationships of Generic Types
generic/generic_subtype
Type Aliases
generic/typealias
Macro8
Token-Related Types and Quote Expressions
Macro/Tokens_types_and_quote_expressions
Built-in Compilation Tags
Macro/builtin_compilation_flags
Compilation, Errors, and Debugging
Macro/compiling_error_reporting_and_debugging
Macro Package Definition and Import
Macro/defining_and_importing_macro_package
Macro Implementation
Macro/implementation_of_macros
Introduction to Macros
Macro/macro_introduction
Practical Examples
Macro/practical_case
Syntax Nodes
Macro/syntax_node
multiplatform1
Cross-Platform
multiplatform/common_platform
Net4
HTTP Programming
Net/net_http
Overview of Network Programming
Net/net_overview
Socket Programming
Net/net_socket
WebSocket Programming
Net/net_websocket
package5
Program Entry Point
package/entry
Package Import
package/import
Package Declaration
package/package_name
Overview of Packages
package/package_overview
Visibility of Top-Level Declarations
package/toplevel_access
reflect and annotation2
Annotations
reflect_and_annotation/anno
Dynamic Features
reflect_and_annotation/dynamic_feature