From Tour to Independent Development
Congratulations on completing the Cangjie language tour! Now that you've mastered core concepts like variables, functions, classes, generics, and concurrency, it's time to start writing programs independently.
After leaving this interactive environment, you can use the cjc compiler or cjpm project management tool to build your own programs. cjc is suitable for quickly compiling single files, while cjpm is better for managing multi-file projects and dependencies.
The code below demonstrates how to compile and run a standalone Cangjie program from the command line. Save it as hello.cj, then execute cjc hello.cj && ./main in your terminal to see the output.
On Windows, the generated executable is named main.exe by default, and the run command is .\main.exe.
Try saving this code and compiling it locally to experience the real development workflow.