├── .cargo └── config.toml ├── .config └── nextest.toml ├── .devcontainer ├── devcontainer.json └── first-run-notice.txt ├── .gitattributes ├── .github ├── FUNDING.yml ├── dependabot.yml └── workflows │ ├── book.yml │ ├── brew_release.yml │ ├── docker_dev.yml │ ├── npmpkg.yml │ ├── release.yml │ ├── test.yml │ └── wasm.yml ├── .gitignore ├── .gitmodules ├── .vscode ├── extensions.json ├── launch.json ├── settings.json └── tasks.json ├── CONTRIBUTING.md ├── Cargo.lock ├── Cargo.toml ├── Dockerfile ├── Dockerfile.dev ├── LICENSE ├── Makefile ├── README.md ├── book ├── .gitignore ├── book.toml ├── mdbook-admonish.css ├── mermaid-init.js ├── mermaid.min.js └── src │ ├── About.md │ ├── CONTRIBUTING-CN.md │ ├── SUMMARY.md │ ├── blogs │ ├── README.md │ ├── aboutpl.md │ ├── gc_for_beginner.md │ ├── lsp_and_salsa.md │ └── performance_optimization.md │ ├── compiler │ ├── README.md │ ├── ast.md │ ├── flow.md │ ├── generic.md │ └── parser.md │ ├── compiler_theory │ ├── README.md │ └── top-down_parsing.md │ ├── dev-prepare.md │ ├── lsp │ ├── 2022-12-08-13-20-37.png │ ├── 2022-12-08-13-22-04.png │ ├── README.md │ ├── design.md │ └── diagnostic.md │ ├── performance.md │ ├── references │ ├── README.md │ ├── array.md │ ├── basic.md │ ├── closure.md │ ├── closure_lsp.png │ ├── deconstruct.md │ ├── generic.md │ ├── interface.md │ ├── macro.md │ ├── method.md │ ├── module.md │ ├── operator │ │ ├── README.md │ │ └── tyops.md │ ├── tuple.md │ └── union.md │ ├── systemlib │ ├── 2023-01-24-23-23-55.png │ ├── 2023-01-24-23-25-06.png │ ├── README.md │ ├── bdw.png │ ├── eva.md │ ├── gc.md │ ├── immix.md │ ├── immix.png │ ├── planglib.md │ ├── stackmap.md │ └── vm.md │ └── tutorial │ ├── 2022-10-23-00-17-08.png │ ├── README.md │ ├── basicproject.md │ ├── example │ ├── Kagari.toml │ └── main.pi │ ├── installation.md │ └── vscsupport.md ├── codecov.yml ├── deb ├── DEBIAN │ └── postinst └── apt.yaml ├── imgs ├── 2024-02-21-11-46-55.png ├── 2024-02-21-11-50-11.png └── 2024-02-21-11-50-25.png ├── internal_macro ├── Cargo.toml ├── README.md └── src │ ├── add_symbol_macro │ ├── Cargo.toml │ └── src │ │ └── lib.rs │ ├── comment_macro │ ├── Cargo.toml │ └── src │ │ └── lib.rs │ ├── fmt_macro │ ├── Cargo.toml │ └── src │ │ └── lib.rs │ ├── lib.rs │ ├── node_macro │ ├── Cargo.toml │ └── src │ │ └── lib.rs │ ├── range_macro │ ├── Cargo.toml │ └── src │ │ └── lib.rs │ └── test_parser_macro │ ├── Cargo.toml │ └── src │ └── lib.rs ├── kagari ├── Cargo.toml └── src │ ├── lib.rs │ └── main.rs ├── naive_coro.md ├── pl_linker ├── Cargo.toml ├── build.rs └── src │ ├── apple.rs │ ├── lib.rs │ └── linker.rs ├── planglib ├── core │ ├── Kagari.lock │ ├── Kagari.toml │ ├── __private.pi │ ├── builtin.pi │ ├── coro.pi │ ├── dtoa.pi │ ├── eq.pi │ ├── gc.pi │ ├── hash.pi │ ├── hash │ │ ├── hasher.pi │ │ └── pl_hash.pi │ ├── ord.pi │ ├── panic.pi │ ├── process.pi │ └── string.pi └── std │ ├── Kagari.lock │ ├── Kagari.toml │ ├── __private.pi │ ├── buf.pi │ ├── chan.pi │ ├── cols │ ├── arr.pi │ └── hashtable.pi │ ├── err.pi │ ├── future.pi │ ├── future │ ├── delay.pi │ ├── executor.pi │ └── primitives.pi │ ├── io.pi │ ├── iter.pi │ ├── json │ └── encode.pi │ ├── libc.pi │ ├── libuv.pi │ ├── math.pi │ ├── mutex.pi │ ├── rand.pi │ ├── slice.pi │ ├── stdbuiltin.pi │ ├── string.pi │ ├── task.pi │ ├── task │ ├── delay.pi │ ├── dns.pi │ ├── executor.pi │ ├── helper.pi │ ├── http.pi │ ├── reactor.pi │ ├── tcp.pi │ └── udp.pi │ ├── thread.pi │ ├── time.pi │ └── userrand.pi ├── plc.scoop ├── rust-toolchain.toml ├── setup-llvm.sh ├── src ├── ast │ ├── accumulators.rs │ ├── builder │ │ ├── llvmbuilder.rs │ │ ├── mod.rs │ │ └── no_op_builder.rs │ ├── compiler.rs │ ├── compiler │ │ ├── jit.rs │ │ ├── options.rs │ │ └── progress.rs │ ├── ctx.rs │ ├── ctx │ │ ├── builtins.rs │ │ ├── cast.rs │ │ ├── completion.rs │ │ ├── generic.rs │ │ ├── lsp.rs │ │ └── references.rs │ ├── diag.rs │ ├── expects │ │ ├── arr.pi.expect │ │ ├── buf.pi.expect │ │ ├── builtin.pi.expect │ │ ├── chan.pi.expect │ │ ├── dtoa.pi.expect │ │ ├── eq.pi.expect │ │ ├── err.pi.expect │ │ ├── executor.pi.expect │ │ ├── gc.pi.expect │ │ ├── hash.pi.expect │ │ ├── hasher.pi.expect │ │ ├── helper.pi.expect │ │ ├── hinttest.expect │ │ ├── io.pi.expect │ │ ├── iter.pi.expect │ │ ├── libc.pi.expect │ │ ├── libuv.pi.expect │ │ ├── m1.pi.expect │ │ ├── m2.pi.expect │ │ ├── match_diag.pi.expect │ │ ├── mutex.pi.expect │ │ ├── ord.pi.expect │ │ ├── panic.pi.expect │ │ ├── pl_hash.pi.expect │ │ ├── reactor.pi.expect │ │ ├── slice.pi.expect │ │ ├── stdbuiltin.pi.expect │ │ ├── string.pi.expect │ │ ├── task.pi.expect │ │ ├── test_diag.pi.expect │ │ ├── thread.pi.expect │ │ └── trait_diag.pi.expect │ ├── fmt.rs │ ├── jit_config.rs │ ├── macros.rs │ ├── mod.rs │ ├── node │ │ ├── README.md │ │ ├── cast.rs │ │ ├── comment.rs │ │ ├── control.rs │ │ ├── error.rs │ │ ├── function.rs │ │ ├── function │ │ │ └── generator.rs │ │ ├── global.rs │ │ ├── implement.rs │ │ ├── interface.rs │ │ ├── intermediate_node.rs │ │ ├── macro_nodes.rs │ │ ├── mod.rs │ │ ├── node_result.rs │ │ ├── operator.rs │ │ ├── pkg.rs │ │ ├── pointer.rs │ │ ├── primary.rs │ │ ├── program.rs │ │ ├── program │ │ │ └── salsa_structs.rs │ │ ├── ret.rs │ │ ├── statement.rs │ │ ├── string_literal.rs │ │ ├── tuple.rs │ │ ├── types.rs │ │ └── union.rs │ ├── plmod.rs │ ├── pltype.rs │ ├── pltype │ │ ├── method.rs │ │ └── tpdocs.rs │ ├── range.rs │ ├── test.rs │ ├── tokens.rs │ └── traits.rs ├── db.rs ├── flow │ ├── display.rs │ ├── mod.rs │ └── test.rs ├── inference │ └── mod.rs ├── jar.rs ├── lib.rs ├── lsp │ ├── config.rs │ ├── dispatcher.rs │ ├── fake_thread_pool.rs │ ├── helpers.rs │ ├── lspserver.rs │ ├── mem_docs.rs │ ├── mod.rs │ ├── semantic_tokens.rs │ ├── text.rs │ └── wasm.rs ├── main.rs ├── nomparser │ ├── README.md │ ├── array.rs │ ├── cast.rs │ ├── comment.rs │ ├── constval.rs │ ├── control.rs │ ├── control │ │ └── _match.rs │ ├── error.rs │ ├── expression.rs │ ├── function.rs │ ├── grammar.ebnf │ ├── helper.rs │ ├── identifier.rs │ ├── implement.rs │ ├── macro_parse.rs │ ├── macros.rs │ ├── mod.rs │ ├── pkg.rs │ ├── program.rs │ ├── statement.rs │ ├── string_literal.rs │ ├── structure.rs │ ├── types.rs │ └── union.rs ├── repl │ ├── completer.rs │ ├── editor.rs │ ├── mod.rs │ ├── repl_cmd.rs │ └── test.rs ├── utils │ ├── README.md │ ├── mod.rs │ ├── plc_new.rs │ └── read_config.rs └── version.rs ├── test ├── Kagari.lock ├── Kagari.toml ├── arr_bounds │ ├── Kagari.toml │ └── main.pi ├── fmt │ ├── Kagari.toml │ └── test_fmt.pi ├── gcbench │ ├── Kagari.toml │ ├── README.md │ └── main.pi ├── lsp │ ├── Kagari.toml │ ├── mod.pi │ ├── mod2.pi │ ├── test_completion.pi │ └── trait1.pi ├── lsp_diag │ ├── Kagari.toml │ ├── m1.pi │ ├── m2.pi │ ├── match_diag.pi │ ├── test_diag.pi │ └── trait_diag.pi ├── lsp_incremental │ ├── Kagari.toml │ ├── main.pi │ ├── module1.pi │ └── module2.pi ├── main.pi ├── mod1.pi ├── mod2.pi ├── project2 │ ├── Kagari.toml │ ├── main.pi │ └── main │ │ └── test.pi ├── sub │ └── mod.pi ├── tail │ ├── Kagari.toml │ └── main.pi ├── test │ ├── _hashtable.pi │ ├── _io.pi │ ├── _match.pi │ ├── arr.pi │ ├── closure.pi │ ├── compiletime_reflection.pi │ ├── deconstruct.pi │ ├── fixed_point.pi │ ├── flow.pi │ ├── fntype.pi │ ├── future_test.pi │ ├── generic.pi │ ├── global.pi │ ├── ifel.pi │ ├── inference.pi │ ├── iter.pi │ ├── list.pi │ ├── macros.pi │ ├── map.pi │ ├── method.pi │ ├── module.pi │ ├── multi_trait.pi │ ├── multi_trait_A.pi │ ├── multi_trait_st.pi │ ├── print.pi │ ├── rand.pi │ ├── simple.pi │ ├── sort_test.pi │ ├── st.pi │ ├── std_test.pi │ ├── str.pi │ ├── sub_module.pi │ ├── time.pi │ ├── traits.pi │ ├── tree.pi │ ├── tuple.pi │ └── union.pi ├── tmod.pi ├── tmod1.pi └── tmod2.pi └── vm ├── Cargo.toml ├── build.rs └── src ├── compiler_rt.rs ├── gc └── mod.rs ├── lib.rs ├── libcwrap └── mod.rs ├── logger └── mod.rs ├── mutex └── mod.rs └── time └── mod.rs /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.config/nextest.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.config/nextest.toml -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.devcontainer/first-run-notice.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.devcontainer/first-run-notice.txt -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/book.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.github/workflows/book.yml -------------------------------------------------------------------------------- /.github/workflows/brew_release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.github/workflows/brew_release.yml -------------------------------------------------------------------------------- /.github/workflows/docker_dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.github/workflows/docker_dev.yml -------------------------------------------------------------------------------- /.github/workflows/npmpkg.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.github/workflows/npmpkg.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.github/workflows/wasm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.github/workflows/wasm.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.gitmodules -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/Dockerfile.dev -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/README.md -------------------------------------------------------------------------------- /book/.gitignore: -------------------------------------------------------------------------------- 1 | book 2 | -------------------------------------------------------------------------------- /book/book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/book.toml -------------------------------------------------------------------------------- /book/mdbook-admonish.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/mdbook-admonish.css -------------------------------------------------------------------------------- /book/mermaid-init.js: -------------------------------------------------------------------------------- 1 | mermaid.initialize({startOnLoad:true}); 2 | -------------------------------------------------------------------------------- /book/mermaid.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/mermaid.min.js -------------------------------------------------------------------------------- /book/src/About.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/About.md -------------------------------------------------------------------------------- /book/src/CONTRIBUTING-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/CONTRIBUTING-CN.md -------------------------------------------------------------------------------- /book/src/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/SUMMARY.md -------------------------------------------------------------------------------- /book/src/blogs/README.md: -------------------------------------------------------------------------------- 1 | # Blogs 2 | 3 | Some development blogs. 4 | -------------------------------------------------------------------------------- /book/src/blogs/aboutpl.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/blogs/aboutpl.md -------------------------------------------------------------------------------- /book/src/blogs/gc_for_beginner.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/blogs/gc_for_beginner.md -------------------------------------------------------------------------------- /book/src/blogs/lsp_and_salsa.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/blogs/lsp_and_salsa.md -------------------------------------------------------------------------------- /book/src/blogs/performance_optimization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/blogs/performance_optimization.md -------------------------------------------------------------------------------- /book/src/compiler/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/compiler/README.md -------------------------------------------------------------------------------- /book/src/compiler/ast.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/compiler/ast.md -------------------------------------------------------------------------------- /book/src/compiler/flow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/compiler/flow.md -------------------------------------------------------------------------------- /book/src/compiler/generic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/compiler/generic.md -------------------------------------------------------------------------------- /book/src/compiler/parser.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/compiler/parser.md -------------------------------------------------------------------------------- /book/src/compiler_theory/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/compiler_theory/README.md -------------------------------------------------------------------------------- /book/src/compiler_theory/top-down_parsing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/compiler_theory/top-down_parsing.md -------------------------------------------------------------------------------- /book/src/dev-prepare.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/dev-prepare.md -------------------------------------------------------------------------------- /book/src/lsp/2022-12-08-13-20-37.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/lsp/2022-12-08-13-20-37.png -------------------------------------------------------------------------------- /book/src/lsp/2022-12-08-13-22-04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/lsp/2022-12-08-13-22-04.png -------------------------------------------------------------------------------- /book/src/lsp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/lsp/README.md -------------------------------------------------------------------------------- /book/src/lsp/design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/lsp/design.md -------------------------------------------------------------------------------- /book/src/lsp/diagnostic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/lsp/diagnostic.md -------------------------------------------------------------------------------- /book/src/performance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/performance.md -------------------------------------------------------------------------------- /book/src/references/README.md: -------------------------------------------------------------------------------- 1 | # References 2 | 3 | 语言功能的参考文档。 4 | -------------------------------------------------------------------------------- /book/src/references/array.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/array.md -------------------------------------------------------------------------------- /book/src/references/basic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/basic.md -------------------------------------------------------------------------------- /book/src/references/closure.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/closure.md -------------------------------------------------------------------------------- /book/src/references/closure_lsp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/closure_lsp.png -------------------------------------------------------------------------------- /book/src/references/deconstruct.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/deconstruct.md -------------------------------------------------------------------------------- /book/src/references/generic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/generic.md -------------------------------------------------------------------------------- /book/src/references/interface.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/interface.md -------------------------------------------------------------------------------- /book/src/references/macro.md: -------------------------------------------------------------------------------- 1 | # Macro 2 | 3 | ```admonish warning 4 | pl的宏系统目前不稳定,可能存在很多bug,使用时请注意。 5 | ``` 6 | 7 | TODO 8 | -------------------------------------------------------------------------------- /book/src/references/method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/method.md -------------------------------------------------------------------------------- /book/src/references/module.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/module.md -------------------------------------------------------------------------------- /book/src/references/operator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/operator/README.md -------------------------------------------------------------------------------- /book/src/references/operator/tyops.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/operator/tyops.md -------------------------------------------------------------------------------- /book/src/references/tuple.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/tuple.md -------------------------------------------------------------------------------- /book/src/references/union.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/references/union.md -------------------------------------------------------------------------------- /book/src/systemlib/2023-01-24-23-23-55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/systemlib/2023-01-24-23-23-55.png -------------------------------------------------------------------------------- /book/src/systemlib/2023-01-24-23-25-06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/systemlib/2023-01-24-23-25-06.png -------------------------------------------------------------------------------- /book/src/systemlib/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/systemlib/README.md -------------------------------------------------------------------------------- /book/src/systemlib/bdw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/systemlib/bdw.png -------------------------------------------------------------------------------- /book/src/systemlib/eva.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/systemlib/eva.md -------------------------------------------------------------------------------- /book/src/systemlib/gc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/systemlib/gc.md -------------------------------------------------------------------------------- /book/src/systemlib/immix.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/systemlib/immix.md -------------------------------------------------------------------------------- /book/src/systemlib/immix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/systemlib/immix.png -------------------------------------------------------------------------------- /book/src/systemlib/planglib.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/systemlib/planglib.md -------------------------------------------------------------------------------- /book/src/systemlib/stackmap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/systemlib/stackmap.md -------------------------------------------------------------------------------- /book/src/systemlib/vm.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/systemlib/vm.md -------------------------------------------------------------------------------- /book/src/tutorial/2022-10-23-00-17-08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/tutorial/2022-10-23-00-17-08.png -------------------------------------------------------------------------------- /book/src/tutorial/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/tutorial/README.md -------------------------------------------------------------------------------- /book/src/tutorial/basicproject.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/tutorial/basicproject.md -------------------------------------------------------------------------------- /book/src/tutorial/example/Kagari.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/tutorial/example/Kagari.toml -------------------------------------------------------------------------------- /book/src/tutorial/example/main.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/tutorial/example/main.pi -------------------------------------------------------------------------------- /book/src/tutorial/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/tutorial/installation.md -------------------------------------------------------------------------------- /book/src/tutorial/vscsupport.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/book/src/tutorial/vscsupport.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/codecov.yml -------------------------------------------------------------------------------- /deb/DEBIAN/postinst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/deb/DEBIAN/postinst -------------------------------------------------------------------------------- /deb/apt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/deb/apt.yaml -------------------------------------------------------------------------------- /imgs/2024-02-21-11-46-55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/imgs/2024-02-21-11-46-55.png -------------------------------------------------------------------------------- /imgs/2024-02-21-11-50-11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/imgs/2024-02-21-11-50-11.png -------------------------------------------------------------------------------- /imgs/2024-02-21-11-50-25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/imgs/2024-02-21-11-50-25.png -------------------------------------------------------------------------------- /internal_macro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/Cargo.toml -------------------------------------------------------------------------------- /internal_macro/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/README.md -------------------------------------------------------------------------------- /internal_macro/src/add_symbol_macro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/add_symbol_macro/Cargo.toml -------------------------------------------------------------------------------- /internal_macro/src/add_symbol_macro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/add_symbol_macro/src/lib.rs -------------------------------------------------------------------------------- /internal_macro/src/comment_macro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/comment_macro/Cargo.toml -------------------------------------------------------------------------------- /internal_macro/src/comment_macro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/comment_macro/src/lib.rs -------------------------------------------------------------------------------- /internal_macro/src/fmt_macro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/fmt_macro/Cargo.toml -------------------------------------------------------------------------------- /internal_macro/src/fmt_macro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/fmt_macro/src/lib.rs -------------------------------------------------------------------------------- /internal_macro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/lib.rs -------------------------------------------------------------------------------- /internal_macro/src/node_macro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/node_macro/Cargo.toml -------------------------------------------------------------------------------- /internal_macro/src/node_macro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/node_macro/src/lib.rs -------------------------------------------------------------------------------- /internal_macro/src/range_macro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/range_macro/Cargo.toml -------------------------------------------------------------------------------- /internal_macro/src/range_macro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/range_macro/src/lib.rs -------------------------------------------------------------------------------- /internal_macro/src/test_parser_macro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/test_parser_macro/Cargo.toml -------------------------------------------------------------------------------- /internal_macro/src/test_parser_macro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/internal_macro/src/test_parser_macro/src/lib.rs -------------------------------------------------------------------------------- /kagari/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/kagari/Cargo.toml -------------------------------------------------------------------------------- /kagari/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/kagari/src/lib.rs -------------------------------------------------------------------------------- /kagari/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /naive_coro.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/naive_coro.md -------------------------------------------------------------------------------- /pl_linker/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/pl_linker/Cargo.toml -------------------------------------------------------------------------------- /pl_linker/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/pl_linker/build.rs -------------------------------------------------------------------------------- /pl_linker/src/apple.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/pl_linker/src/apple.rs -------------------------------------------------------------------------------- /pl_linker/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/pl_linker/src/lib.rs -------------------------------------------------------------------------------- /pl_linker/src/linker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/pl_linker/src/linker.rs -------------------------------------------------------------------------------- /planglib/core/Kagari.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /planglib/core/Kagari.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/Kagari.toml -------------------------------------------------------------------------------- /planglib/core/__private.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/__private.pi -------------------------------------------------------------------------------- /planglib/core/builtin.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/builtin.pi -------------------------------------------------------------------------------- /planglib/core/coro.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/coro.pi -------------------------------------------------------------------------------- /planglib/core/dtoa.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/dtoa.pi -------------------------------------------------------------------------------- /planglib/core/eq.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/eq.pi -------------------------------------------------------------------------------- /planglib/core/gc.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/gc.pi -------------------------------------------------------------------------------- /planglib/core/hash.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/hash.pi -------------------------------------------------------------------------------- /planglib/core/hash/hasher.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/hash/hasher.pi -------------------------------------------------------------------------------- /planglib/core/hash/pl_hash.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/hash/pl_hash.pi -------------------------------------------------------------------------------- /planglib/core/ord.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/ord.pi -------------------------------------------------------------------------------- /planglib/core/panic.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/panic.pi -------------------------------------------------------------------------------- /planglib/core/process.pi: -------------------------------------------------------------------------------- 1 | pub fn exit_now(code:i64) void; -------------------------------------------------------------------------------- /planglib/core/string.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/core/string.pi -------------------------------------------------------------------------------- /planglib/std/Kagari.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /planglib/std/Kagari.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/Kagari.toml -------------------------------------------------------------------------------- /planglib/std/__private.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/__private.pi -------------------------------------------------------------------------------- /planglib/std/buf.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/buf.pi -------------------------------------------------------------------------------- /planglib/std/chan.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/chan.pi -------------------------------------------------------------------------------- /planglib/std/cols/arr.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/cols/arr.pi -------------------------------------------------------------------------------- /planglib/std/cols/hashtable.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/cols/hashtable.pi -------------------------------------------------------------------------------- /planglib/std/err.pi: -------------------------------------------------------------------------------- 1 | pub trait Error { 2 | fn msg() string; 3 | } 4 | -------------------------------------------------------------------------------- /planglib/std/future.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/future.pi -------------------------------------------------------------------------------- /planglib/std/future/delay.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/future/delay.pi -------------------------------------------------------------------------------- /planglib/std/future/executor.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/future/executor.pi -------------------------------------------------------------------------------- /planglib/std/future/primitives.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/future/primitives.pi -------------------------------------------------------------------------------- /planglib/std/io.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/io.pi -------------------------------------------------------------------------------- /planglib/std/iter.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/iter.pi -------------------------------------------------------------------------------- /planglib/std/json/encode.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/json/encode.pi -------------------------------------------------------------------------------- /planglib/std/libc.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/libc.pi -------------------------------------------------------------------------------- /planglib/std/libuv.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/libuv.pi -------------------------------------------------------------------------------- /planglib/std/math.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/math.pi -------------------------------------------------------------------------------- /planglib/std/mutex.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/mutex.pi -------------------------------------------------------------------------------- /planglib/std/rand.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/rand.pi -------------------------------------------------------------------------------- /planglib/std/slice.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/slice.pi -------------------------------------------------------------------------------- /planglib/std/stdbuiltin.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/stdbuiltin.pi -------------------------------------------------------------------------------- /planglib/std/string.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/string.pi -------------------------------------------------------------------------------- /planglib/std/task.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/task.pi -------------------------------------------------------------------------------- /planglib/std/task/delay.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/task/delay.pi -------------------------------------------------------------------------------- /planglib/std/task/dns.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/task/dns.pi -------------------------------------------------------------------------------- /planglib/std/task/executor.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/task/executor.pi -------------------------------------------------------------------------------- /planglib/std/task/helper.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/task/helper.pi -------------------------------------------------------------------------------- /planglib/std/task/http.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/task/http.pi -------------------------------------------------------------------------------- /planglib/std/task/reactor.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/task/reactor.pi -------------------------------------------------------------------------------- /planglib/std/task/tcp.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/task/tcp.pi -------------------------------------------------------------------------------- /planglib/std/task/udp.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/task/udp.pi -------------------------------------------------------------------------------- /planglib/std/thread.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/thread.pi -------------------------------------------------------------------------------- /planglib/std/time.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/time.pi -------------------------------------------------------------------------------- /planglib/std/userrand.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/planglib/std/userrand.pi -------------------------------------------------------------------------------- /plc.scoop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/plc.scoop -------------------------------------------------------------------------------- /rust-toolchain.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/rust-toolchain.toml -------------------------------------------------------------------------------- /setup-llvm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/setup-llvm.sh -------------------------------------------------------------------------------- /src/ast/accumulators.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/accumulators.rs -------------------------------------------------------------------------------- /src/ast/builder/llvmbuilder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/builder/llvmbuilder.rs -------------------------------------------------------------------------------- /src/ast/builder/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/builder/mod.rs -------------------------------------------------------------------------------- /src/ast/builder/no_op_builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/builder/no_op_builder.rs -------------------------------------------------------------------------------- /src/ast/compiler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/compiler.rs -------------------------------------------------------------------------------- /src/ast/compiler/jit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/compiler/jit.rs -------------------------------------------------------------------------------- /src/ast/compiler/options.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/compiler/options.rs -------------------------------------------------------------------------------- /src/ast/compiler/progress.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/compiler/progress.rs -------------------------------------------------------------------------------- /src/ast/ctx.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/ctx.rs -------------------------------------------------------------------------------- /src/ast/ctx/builtins.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/ctx/builtins.rs -------------------------------------------------------------------------------- /src/ast/ctx/cast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/ctx/cast.rs -------------------------------------------------------------------------------- /src/ast/ctx/completion.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/ctx/completion.rs -------------------------------------------------------------------------------- /src/ast/ctx/generic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/ctx/generic.rs -------------------------------------------------------------------------------- /src/ast/ctx/lsp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/ctx/lsp.rs -------------------------------------------------------------------------------- /src/ast/ctx/references.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/ctx/references.rs -------------------------------------------------------------------------------- /src/ast/diag.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/diag.rs -------------------------------------------------------------------------------- /src/ast/expects/arr.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/buf.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/builtin.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/chan.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/dtoa.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/eq.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/err.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/executor.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/gc.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/hash.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/hasher.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/helper.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/hinttest.expect: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/expects/hinttest.expect -------------------------------------------------------------------------------- /src/ast/expects/io.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/iter.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/libc.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/libuv.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/m1.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/m2.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/match_diag.pi.expect: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/expects/match_diag.pi.expect -------------------------------------------------------------------------------- /src/ast/expects/mutex.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/ord.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/panic.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/pl_hash.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/reactor.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/slice.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/stdbuiltin.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/string.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/task.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/test_diag.pi.expect: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/expects/test_diag.pi.expect -------------------------------------------------------------------------------- /src/ast/expects/thread.pi.expect: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /src/ast/expects/trait_diag.pi.expect: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/expects/trait_diag.pi.expect -------------------------------------------------------------------------------- /src/ast/fmt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/fmt.rs -------------------------------------------------------------------------------- /src/ast/jit_config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/jit_config.rs -------------------------------------------------------------------------------- /src/ast/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/macros.rs -------------------------------------------------------------------------------- /src/ast/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/mod.rs -------------------------------------------------------------------------------- /src/ast/node/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/README.md -------------------------------------------------------------------------------- /src/ast/node/cast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/cast.rs -------------------------------------------------------------------------------- /src/ast/node/comment.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/comment.rs -------------------------------------------------------------------------------- /src/ast/node/control.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/control.rs -------------------------------------------------------------------------------- /src/ast/node/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/error.rs -------------------------------------------------------------------------------- /src/ast/node/function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/function.rs -------------------------------------------------------------------------------- /src/ast/node/function/generator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/function/generator.rs -------------------------------------------------------------------------------- /src/ast/node/global.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/global.rs -------------------------------------------------------------------------------- /src/ast/node/implement.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/implement.rs -------------------------------------------------------------------------------- /src/ast/node/interface.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/interface.rs -------------------------------------------------------------------------------- /src/ast/node/intermediate_node.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/intermediate_node.rs -------------------------------------------------------------------------------- /src/ast/node/macro_nodes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/macro_nodes.rs -------------------------------------------------------------------------------- /src/ast/node/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/mod.rs -------------------------------------------------------------------------------- /src/ast/node/node_result.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/node_result.rs -------------------------------------------------------------------------------- /src/ast/node/operator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/operator.rs -------------------------------------------------------------------------------- /src/ast/node/pkg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/pkg.rs -------------------------------------------------------------------------------- /src/ast/node/pointer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/pointer.rs -------------------------------------------------------------------------------- /src/ast/node/primary.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/primary.rs -------------------------------------------------------------------------------- /src/ast/node/program.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/program.rs -------------------------------------------------------------------------------- /src/ast/node/program/salsa_structs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/program/salsa_structs.rs -------------------------------------------------------------------------------- /src/ast/node/ret.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/ret.rs -------------------------------------------------------------------------------- /src/ast/node/statement.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/statement.rs -------------------------------------------------------------------------------- /src/ast/node/string_literal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/string_literal.rs -------------------------------------------------------------------------------- /src/ast/node/tuple.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/tuple.rs -------------------------------------------------------------------------------- /src/ast/node/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/types.rs -------------------------------------------------------------------------------- /src/ast/node/union.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/node/union.rs -------------------------------------------------------------------------------- /src/ast/plmod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/plmod.rs -------------------------------------------------------------------------------- /src/ast/pltype.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/pltype.rs -------------------------------------------------------------------------------- /src/ast/pltype/method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/pltype/method.rs -------------------------------------------------------------------------------- /src/ast/pltype/tpdocs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/pltype/tpdocs.rs -------------------------------------------------------------------------------- /src/ast/range.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/range.rs -------------------------------------------------------------------------------- /src/ast/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/test.rs -------------------------------------------------------------------------------- /src/ast/tokens.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/tokens.rs -------------------------------------------------------------------------------- /src/ast/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/ast/traits.rs -------------------------------------------------------------------------------- /src/db.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/db.rs -------------------------------------------------------------------------------- /src/flow/display.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/flow/display.rs -------------------------------------------------------------------------------- /src/flow/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/flow/mod.rs -------------------------------------------------------------------------------- /src/flow/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/flow/test.rs -------------------------------------------------------------------------------- /src/inference/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/inference/mod.rs -------------------------------------------------------------------------------- /src/jar.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/jar.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/lsp/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/lsp/config.rs -------------------------------------------------------------------------------- /src/lsp/dispatcher.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/lsp/dispatcher.rs -------------------------------------------------------------------------------- /src/lsp/fake_thread_pool.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/lsp/fake_thread_pool.rs -------------------------------------------------------------------------------- /src/lsp/helpers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/lsp/helpers.rs -------------------------------------------------------------------------------- /src/lsp/lspserver.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/lsp/lspserver.rs -------------------------------------------------------------------------------- /src/lsp/mem_docs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/lsp/mem_docs.rs -------------------------------------------------------------------------------- /src/lsp/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/lsp/mod.rs -------------------------------------------------------------------------------- /src/lsp/semantic_tokens.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/lsp/semantic_tokens.rs -------------------------------------------------------------------------------- /src/lsp/text.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/lsp/text.rs -------------------------------------------------------------------------------- /src/lsp/wasm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/lsp/wasm.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/nomparser/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/README.md -------------------------------------------------------------------------------- /src/nomparser/array.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/array.rs -------------------------------------------------------------------------------- /src/nomparser/cast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/cast.rs -------------------------------------------------------------------------------- /src/nomparser/comment.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/comment.rs -------------------------------------------------------------------------------- /src/nomparser/constval.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/constval.rs -------------------------------------------------------------------------------- /src/nomparser/control.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/control.rs -------------------------------------------------------------------------------- /src/nomparser/control/_match.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/control/_match.rs -------------------------------------------------------------------------------- /src/nomparser/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/error.rs -------------------------------------------------------------------------------- /src/nomparser/expression.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/expression.rs -------------------------------------------------------------------------------- /src/nomparser/function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/function.rs -------------------------------------------------------------------------------- /src/nomparser/grammar.ebnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/grammar.ebnf -------------------------------------------------------------------------------- /src/nomparser/helper.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/helper.rs -------------------------------------------------------------------------------- /src/nomparser/identifier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/identifier.rs -------------------------------------------------------------------------------- /src/nomparser/implement.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/implement.rs -------------------------------------------------------------------------------- /src/nomparser/macro_parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/macro_parse.rs -------------------------------------------------------------------------------- /src/nomparser/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/macros.rs -------------------------------------------------------------------------------- /src/nomparser/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/mod.rs -------------------------------------------------------------------------------- /src/nomparser/pkg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/pkg.rs -------------------------------------------------------------------------------- /src/nomparser/program.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/program.rs -------------------------------------------------------------------------------- /src/nomparser/statement.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/statement.rs -------------------------------------------------------------------------------- /src/nomparser/string_literal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/string_literal.rs -------------------------------------------------------------------------------- /src/nomparser/structure.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/structure.rs -------------------------------------------------------------------------------- /src/nomparser/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/types.rs -------------------------------------------------------------------------------- /src/nomparser/union.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/nomparser/union.rs -------------------------------------------------------------------------------- /src/repl/completer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/repl/completer.rs -------------------------------------------------------------------------------- /src/repl/editor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/repl/editor.rs -------------------------------------------------------------------------------- /src/repl/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/repl/mod.rs -------------------------------------------------------------------------------- /src/repl/repl_cmd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/repl/repl_cmd.rs -------------------------------------------------------------------------------- /src/repl/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/repl/test.rs -------------------------------------------------------------------------------- /src/utils/README.md: -------------------------------------------------------------------------------- 1 | # utils 2 | 3 | 目前只有个测试文件 -------------------------------------------------------------------------------- /src/utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/utils/mod.rs -------------------------------------------------------------------------------- /src/utils/plc_new.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/utils/plc_new.rs -------------------------------------------------------------------------------- /src/utils/read_config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/utils/read_config.rs -------------------------------------------------------------------------------- /src/version.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/src/version.rs -------------------------------------------------------------------------------- /test/Kagari.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/Kagari.lock -------------------------------------------------------------------------------- /test/Kagari.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/Kagari.toml -------------------------------------------------------------------------------- /test/arr_bounds/Kagari.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/arr_bounds/Kagari.toml -------------------------------------------------------------------------------- /test/arr_bounds/main.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/arr_bounds/main.pi -------------------------------------------------------------------------------- /test/fmt/Kagari.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/fmt/Kagari.toml -------------------------------------------------------------------------------- /test/fmt/test_fmt.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/fmt/test_fmt.pi -------------------------------------------------------------------------------- /test/gcbench/Kagari.toml: -------------------------------------------------------------------------------- 1 | entry = "main.pi" 2 | project = "gcbench" 3 | -------------------------------------------------------------------------------- /test/gcbench/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/gcbench/README.md -------------------------------------------------------------------------------- /test/gcbench/main.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/gcbench/main.pi -------------------------------------------------------------------------------- /test/lsp/Kagari.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/lsp/Kagari.toml -------------------------------------------------------------------------------- /test/lsp/mod.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/lsp/mod.pi -------------------------------------------------------------------------------- /test/lsp/mod2.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/lsp/mod2.pi -------------------------------------------------------------------------------- /test/lsp/test_completion.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/lsp/test_completion.pi -------------------------------------------------------------------------------- /test/lsp/trait1.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/lsp/trait1.pi -------------------------------------------------------------------------------- /test/lsp_diag/Kagari.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/lsp_diag/Kagari.toml -------------------------------------------------------------------------------- /test/lsp_diag/m1.pi: -------------------------------------------------------------------------------- 1 | use test::m2; -------------------------------------------------------------------------------- /test/lsp_diag/m2.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/lsp_diag/m2.pi -------------------------------------------------------------------------------- /test/lsp_diag/match_diag.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/lsp_diag/match_diag.pi -------------------------------------------------------------------------------- /test/lsp_diag/test_diag.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/lsp_diag/test_diag.pi -------------------------------------------------------------------------------- /test/lsp_diag/trait_diag.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/lsp_diag/trait_diag.pi -------------------------------------------------------------------------------- /test/lsp_incremental/Kagari.toml: -------------------------------------------------------------------------------- 1 | entry = "main.pi" 2 | project = "lsp_incremental" 3 | -------------------------------------------------------------------------------- /test/lsp_incremental/main.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/lsp_incremental/main.pi -------------------------------------------------------------------------------- /test/lsp_incremental/module1.pi: -------------------------------------------------------------------------------- 1 | use lsp_incremental::module2; -------------------------------------------------------------------------------- /test/lsp_incremental/module2.pi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/main.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/main.pi -------------------------------------------------------------------------------- /test/mod1.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/mod1.pi -------------------------------------------------------------------------------- /test/mod2.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/mod2.pi -------------------------------------------------------------------------------- /test/project2/Kagari.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/project2/Kagari.toml -------------------------------------------------------------------------------- /test/project2/main.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/project2/main.pi -------------------------------------------------------------------------------- /test/project2/main/test.pi: -------------------------------------------------------------------------------- 1 | pub fn test() void { 2 | return; 3 | } -------------------------------------------------------------------------------- /test/sub/mod.pi: -------------------------------------------------------------------------------- 1 | pub fn name() void { 2 | return; 3 | } -------------------------------------------------------------------------------- /test/tail/Kagari.toml: -------------------------------------------------------------------------------- 1 | entry = "main.pi" 2 | project = "tail" 3 | -------------------------------------------------------------------------------- /test/tail/main.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/tail/main.pi -------------------------------------------------------------------------------- /test/test/_hashtable.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/_hashtable.pi -------------------------------------------------------------------------------- /test/test/_io.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/_io.pi -------------------------------------------------------------------------------- /test/test/_match.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/_match.pi -------------------------------------------------------------------------------- /test/test/arr.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/arr.pi -------------------------------------------------------------------------------- /test/test/closure.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/closure.pi -------------------------------------------------------------------------------- /test/test/compiletime_reflection.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/compiletime_reflection.pi -------------------------------------------------------------------------------- /test/test/deconstruct.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/deconstruct.pi -------------------------------------------------------------------------------- /test/test/fixed_point.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/fixed_point.pi -------------------------------------------------------------------------------- /test/test/flow.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/flow.pi -------------------------------------------------------------------------------- /test/test/fntype.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/fntype.pi -------------------------------------------------------------------------------- /test/test/future_test.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/future_test.pi -------------------------------------------------------------------------------- /test/test/generic.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/generic.pi -------------------------------------------------------------------------------- /test/test/global.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/global.pi -------------------------------------------------------------------------------- /test/test/ifel.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/ifel.pi -------------------------------------------------------------------------------- /test/test/inference.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/inference.pi -------------------------------------------------------------------------------- /test/test/iter.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/iter.pi -------------------------------------------------------------------------------- /test/test/list.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/list.pi -------------------------------------------------------------------------------- /test/test/macros.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/macros.pi -------------------------------------------------------------------------------- /test/test/map.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/map.pi -------------------------------------------------------------------------------- /test/test/method.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/method.pi -------------------------------------------------------------------------------- /test/test/module.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/module.pi -------------------------------------------------------------------------------- /test/test/multi_trait.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/multi_trait.pi -------------------------------------------------------------------------------- /test/test/multi_trait_A.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/multi_trait_A.pi -------------------------------------------------------------------------------- /test/test/multi_trait_st.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/multi_trait_st.pi -------------------------------------------------------------------------------- /test/test/print.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/print.pi -------------------------------------------------------------------------------- /test/test/rand.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/rand.pi -------------------------------------------------------------------------------- /test/test/simple.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/simple.pi -------------------------------------------------------------------------------- /test/test/sort_test.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/sort_test.pi -------------------------------------------------------------------------------- /test/test/st.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/st.pi -------------------------------------------------------------------------------- /test/test/std_test.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/std_test.pi -------------------------------------------------------------------------------- /test/test/str.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/str.pi -------------------------------------------------------------------------------- /test/test/sub_module.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/sub_module.pi -------------------------------------------------------------------------------- /test/test/time.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/time.pi -------------------------------------------------------------------------------- /test/test/traits.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/traits.pi -------------------------------------------------------------------------------- /test/test/tree.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/tree.pi -------------------------------------------------------------------------------- /test/test/tuple.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/tuple.pi -------------------------------------------------------------------------------- /test/test/union.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/test/union.pi -------------------------------------------------------------------------------- /test/tmod.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/tmod.pi -------------------------------------------------------------------------------- /test/tmod1.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/tmod1.pi -------------------------------------------------------------------------------- /test/tmod2.pi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/test/tmod2.pi -------------------------------------------------------------------------------- /vm/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/vm/Cargo.toml -------------------------------------------------------------------------------- /vm/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/vm/build.rs -------------------------------------------------------------------------------- /vm/src/compiler_rt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/vm/src/compiler_rt.rs -------------------------------------------------------------------------------- /vm/src/gc/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/vm/src/gc/mod.rs -------------------------------------------------------------------------------- /vm/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/vm/src/lib.rs -------------------------------------------------------------------------------- /vm/src/libcwrap/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/vm/src/libcwrap/mod.rs -------------------------------------------------------------------------------- /vm/src/logger/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/vm/src/logger/mod.rs -------------------------------------------------------------------------------- /vm/src/mutex/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/vm/src/mutex/mod.rs -------------------------------------------------------------------------------- /vm/src/time/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Pivot-Studio/pivot-lang/HEAD/vm/src/time/mod.rs --------------------------------------------------------------------------------