File tree 1 file changed +6
-18
lines changed
1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change 1
1
# 编译 Fa 语言编译器
2
2
3
- 本文将简单描述如何在 Windows / macOS(未完成) / Linux(未完成) 环境下使用 Visual Studio / JetBrains Rider(未完成) 编译 Fa 语言编译器
3
+ 本文将简单描述如何在 Windows / macOS / Linux 环境下使用 Visual Studio / JetBrains Rider 编译 Fa 语言编译器
4
4
5
- ## Windows 环境
6
-
7
- ### 使用 Visual Studio
5
+ ## 使用 Visual Studio(已于 Windows 与 macOS 环境测试)
8
6
9
7
1 . 准备一台安装着 Visual Studio 的电脑
10
8
2 . 克隆 fa 编译器仓库(` git clone https://github.com/fa-org/fa.git ` )
14
12
15
13
> 接下来的步骤中,默认选择发布到的路径为默认(` bin/Release/net5.0/publish ` ),如果你更改了路径,到你设置的路径中寻找即可。
16
14
17
- 5 . 前往 ` fa ` 路径下的 ` fac/bin/Release/net5.0 `
18
- 6 . 该路径下的 ` fac ` 或者 ` fac.exe ` 即为编译器
19
-
20
- ------
21
-
22
- ## macOS 环境
15
+ 1 . 前往被克隆下来的文件夹中的 ` fa/fac/bin/Release/net5.0 ` 路径
16
+ 2 . 该路径下的可执行文件 ` fac ` 或者 ` fac.exe ` 即为编译器
23
17
24
- ### 使用 JetBrains Rider
18
+ ## 使用 JetBrains Rider(已于 macOS 环境测试)
25
19
26
20
1 . 启动 JetBrains Rider
27
21
2 . 前往欢迎页面(Welcome Screen)
31
25
<img src =" ../assets/complie-fa-lang-compiler-select-build.png " style =" width : 85% " />
32
26
33
27
1 . 在右上角的构建选择器位置(见上图蓝框),选择 ` Release | Any CPU ` ,然后点击左侧的 ` Build Solution ` (锤子图标)或者前往 ` Build ` 菜单,选择 ` Build Solution `
34
- 2 . 右键左侧文件管理器中的 ` fac ` ,选择 ` Reveal in Finer ` ,在弹出的访达窗口中 ,你应当可以找到 ` bin ` 路径,前往 ` bin/Release/net5.0 ` 路径。
28
+ 2 . 右键左侧文件管理器中的 ` fac ` ,选择使用在你系统的文件查看器(Windows 中的 ` File Explorer ` ,macOS 中的 ` Finder ` 等)查看,在弹出的窗口中 ,你应当可以找到 ` bin ` 路径,前往 ` bin/Release/net5.0 `
35
29
3 . 该路径下的可执行文件 ` fac ` 即为编译器
36
-
37
- ## Linux 环境
38
-
39
- ::: warning Coming soon...
40
- 这部分正在施工
41
- :::
You can’t perform that action at this time.
0 commit comments