diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..45ff791 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# MSVC Windows builds of cjc generate these, which store debugging information +*.cjo +*.exe +*.bchir2 +target/ +cjpm.lock +.vscode/ +.cache/ \ No newline at end of file diff --git a/samples/hello_world/main.cj b/samples/hello_world/main.cj new file mode 100644 index 0000000..95affde --- /dev/null +++ b/samples/hello_world/main.cj @@ -0,0 +1,5 @@ +// main函数最先执行 +main() { + // 打印Hello World! + println("Hello World!"); +} \ No newline at end of file