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