Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 3.08 KB

README.md

File metadata and controls

30 lines (21 loc) · 3.08 KB

CI

🛝 Lingua Franca Playground

Get to know the language and tinker with some example Lingua Franca programs!

🚀 Cloud-based dev environment

Spin up a fully configured dev environment in the cloud. Any dependencies required for building or running any of the examples are preinstalled. A web-based VS Code editor, preloaded with the Lingua Franca extension, is accessible through either GitHub Codespaces or GitPod. Simply click on either of the links below to get started.

Open in GitHub Codespaces

Note: To launch your GitHub Codespaces environment in seconds instead of minutes, create a fork of this repo and create a Prebuild configuration in Settings > Codespaces.

Open in Gitpod

Once in Codespaces or GitPod, navigate to ./examples and click on any of the .lf files to open them in the editor. To build and run, use Ctrl + Shift + P and select Lingua Franca: Build and Run.

🔧 Alternate GitHub Codespaces configurations

The default Codespaces configuration installs the nightly-built version of the Lingua Franca toolchain and checks out our examples repository. Links to alternate configurations are available below.

💻 Local dev environment

  1. Clone this repo (git clone [email protected]:lf-lang/playground-lingua-franca.git)
  2. Open with VS Code (code playground-lingua-franca)
  3. Install the Lingua Franca extension (Ctrl+P and enter ext install lf-lang.vscode-lingua-franca).

Once in VSCode, navigate to ./examples and click on any of the .lf files to open them into your editor. To build and run, use Ctrl+Shift+P and select Lingua Franca: Build and Run. Note: You might need not install additional dependencies in order to successfully build some of the code you find in this repository. For more information, see the setup-env.bash script that we use to configure our Docker-based environments.