You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -20,6 +20,69 @@ You can also spin up one of our pre-configured Cloud-based dev environments:
20
20
21
21
Have a look at the [Lingua Franca playground](https://github.com/lf-lang/playground-lingua-franca) for more details.
22
22
23
+
## Compiler
24
+
25
+
There are multiple options available for installing the Lingua Franca compiler and other command line tools, as listed below. See the [handbook](./tools/command-line-tools.mdx) for usage instructions.
26
+
27
+
### Install Script
28
+
29
+
Run the following command in your terminal to install the latest release (on Windows, use WSL):
You can use the `--prefix=<path>` argument to change the default install location.
42
+
43
+
### AUR
44
+
45
+
There are binary packages available in the Arch user repository, which you can install using your favorite AUR helper. For instance, with `yay`:
46
+
47
+
```
48
+
yay -S lf-cli-bin
49
+
```
50
+
51
+
or for the nightly pre-release:
52
+
53
+
```
54
+
yay -S lf-cli-nightly-bin
55
+
```
56
+
57
+
### Nixos
58
+
59
+
LFC is packaged in [nixpkgs](https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/compilers/lingua-franca/default.nix#L28) and is available via the binary cache.
60
+
61
+
Run
62
+
```
63
+
nix shell nixpkgs#lingua-franca
64
+
```
65
+
to temporarily install lfc in your current shell environment.
66
+
67
+
### Manual Download
68
+
69
+
Regular and nightly release builds of the command line tools can be downloaded from the [Lingua Franca release page](https://github.com/lf-lang/lingua-franca/releases). Download the archive that matches your OS and architecture, and extract the contents.
70
+
71
+
### From Source
72
+
73
+
Please refer to the [Lingua Franca GitHub repository](https://github.com/lf-lang/lingua-franca) for build instructions.
74
+
75
+
If you'd like to contribute to Lingua Franca, you can find details about the recommended developer setup here.
76
+
77
+
## Lingo the Lingua-Franca Package-Manager
78
+
79
+
Lingo is the package-manager and build tool of the lingua-franca ecosystem.
80
+
81
+
```
82
+
cargo install lingua-franca
83
+
PATH = $PATH:~/.cargo/bin
84
+
```
85
+
23
86
## Visual Studio Code
24
87
25
88
Our Visual Studio Code extension can be installed via the Marketplace or built from source, as detailed below. See the [handbook](./tools/code-extension.mdx) for usage instructions.
@@ -99,56 +162,86 @@ open -a Epoch.app
99
162
100
163
Please refer to the [Epoch GitHub repository](https://github.com/lf-lang/epoch) for build instructions.
101
164
102
-
## CLI Tools
103
165
104
-
There are multiple options available for installing the Lingua Franca compiler and other command line tools, as listed below. See the [handbook](./tools/command-line-tools.mdx) for usage instructions.
166
+
167
+
168
+
## Visual Studio Code
169
+
170
+
Our Visual Studio Code extension can be installed via the Marketplace or built from source, as detailed below. See the [handbook](./tools/code-extension.mdx) for usage instructions.
171
+
172
+
### Marketplace
173
+
174
+
The Lingua Franca extension is available on the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=lf-lang.vscode-lingua-franca) and the [VSX Registry](https://open-vsx.org/extension/lf-lang/vscode-lingua-franca). To install the extension, open VS Code, launch Quick Open (<kbd>Ctrl</kbd> + <kbd>P</kbd>) and enter:
175
+
176
+
```
177
+
ext install lf-lang.vscode-lingua-franca
178
+
```
179
+
180
+
Alternatively, you can run the following command in your terminal:
To use the nightly pre-release of the extension instead of the latest release, find the Lingua Franca extension in the Extensions tab and click on the "Switch to Pre-Release Version" button.
187
+
188
+
### From Source
189
+
190
+
Please refer to the [Lingua Franca VS Code GitHub repository](https://github.com/lf-lang/vscode-lingua-franca) for build instructions.
191
+
192
+
## Epoch IDE
193
+
194
+
There are multiple options available for installing Epoch as listed below. See the handbook for usage instructions.
105
195
106
196
### Install Script
107
197
108
198
Run the following command in your terminal to install the latest release (on Windows, use WSL):
You can use the `--prefix=<path>` argument to change the default install location.
121
210
211
+
The default prefix is `/usr/local/bin` on a Mac and `~/.local/bin` on Linux and WSL. You may not have write access to this directory by default, in which case, if you still want to use the default prefix, you can replace `sh` with `sudo sh` in the above commands.
212
+
122
213
### AUR
123
214
124
215
There are binary packages available in the Arch user repository, which you can install using your favorite AUR helper. For instance, with `yay`:
125
216
126
217
```
127
-
yay -S lf-cli-bin
218
+
yay -S epoch-bin
128
219
```
129
220
130
221
or for the nightly pre-release:
131
222
132
223
```
133
-
yay -S lf-cli-nightly-bin
224
+
yay -S epoch-nightly-bin
134
225
```
135
226
136
-
### Nixos
227
+
### Manual Download
137
228
138
-
LFC is packaged in [nixpkgs](https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/compilers/lingua-franca/default.nix#L28) and is available via the binary cache.
229
+
Regular and nightly release builds of Epoch can be downloaded from the [Epoch release page](https://github.com/lf-lang/epoch/releases). Download the archive that matches your OS and architecture, and extract the contents.
230
+
231
+
MacOS requires extra steps before being able to execute the app:
139
232
140
-
Run
141
233
```
142
-
nix shell nixpkgs#lingua-franca
234
+
xattr -cr Epoch.app
143
235
```
144
-
to temporarily install lfc in your current shell environment.
145
236
146
-
### Manual Download
237
+
To install, drag the Epoch.app file to your Applications folder. You can then invoke the app as follows:
147
238
148
-
Regular and nightly release builds of the command line tools can be downloaded from the [Lingua Franca release page](https://github.com/lf-lang/lingua-franca/releases). Download the archive that matches your OS and architecture, and extract the contents.
239
+
```
240
+
open -a Epoch.app
241
+
```
149
242
150
243
### From Source
151
244
152
-
Please refer to the [Lingua Franca GitHub repository](https://github.com/lf-lang/lingua-franca) for build instructions.
245
+
Please refer to the [Epoch GitHub repository](https://github.com/lf-lang/epoch) for build instructions.
246
+
153
247
154
-
If you'd like to contribute to Lingua Franca, you can find details about the recommended developer setup here.
0 commit comments