File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1212[ 项目地址] ( https://github.com/Pivot-Studio/pivot-lang )
1313
1414## 安装
15- 见 https ://lang.pivotstudio.cn/tutorial/installation.html
15+ 见 [ 此处 ] ( https ://lang.pivotstudio.cn/tutorial/installation.html)
1616
1717## 文档地址
1818https://lang.pivotstudio.cn
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ Pivot Lang存在两种不同的编译方案:
2323
2424可以看出,just in time模式的编译器依赖比静态编译少很多,因此如果你不需要debug功能,建议使用jit模式。如果你想要体验完整功能,建议使用静态编译。
2525
26- > 注意:目前静态编译模式主要是内部使用,如果你很想体验,请在github上联系我们
2726
2827## Windows
2928TODO
@@ -45,7 +44,7 @@ sudo apt install pivot-lang
4544```
4645你可以运行` plc ` 来检查是否安装成功。
4746
48- 请重启当前bash或者运行` source ~/.bashrc ` 来使环境变量生效。如果想安装` AOT ` 功能,请手动下载clang-14,下载方式见 https ://apt.llvm.org/
47+ 请重启当前bash或者运行` source ~/.bashrc ` 来使环境变量生效。如果想安装` AOT ` 功能,请手动下载clang-14,下载方式见 [ 此处 ] ( https ://apt.llvm.org/)
4948
5049
5150
Original file line number Diff line number Diff line change 11GREEN='\033[0;32m'
22NC='\033[0m'
3+ RED='\033[0;31m'
34
45if [ "$1" = configure ]; then
56 echo "export KAGARI_LIB_ROOT=/pl/planglib" >> ~/.bashrc
67 echo "export PL_ROOT=/pl" >> ~/.bashrc
7- echo -e "${GREEN}"
8+ echo "${GREEN}"
89 echo "-------------------------------------------------------------------"
910 echo "Successfully installed pivot-lang compiler with JIT feature!"
1011 echo "the pivot-lang compiler is now available as 'plc' command"
11- echo "**jit feature does not support debug**"
12+ echo "${RED} **jit feature does not support debug**"
1213 echo "you may need to restart your shell to load environment variables"
1314 echo "to install aot feature, please install clang-14 manually"
1415 echo "see https://apt.llvm.org/ for more details"
1516 echo "-------------------------------------------------------------------"
16- echo -e "${NC}"
17+ echo "${NC}"
1718fi
You can’t perform that action at this time.
0 commit comments