Giter Site home page Giter Site logo

erlingrj / playground-lingua-franca Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lf-lang/playground-lingua-franca

0.0 0.0 0.0 60.94 MB

:rocket: Try Lingua Franca now!

License: Other

Shell 9.16% C++ 3.01% Python 83.58% CMake 3.25% Dockerfile 1.00%

playground-lingua-franca's Introduction

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 that start in seconds. 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

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.

๐Ÿ”ง Switch Lingua Franca Build Channels

By default, the Lingua Franca toolchain installed in the container will be the latest nightly version, freshly fetched when the container boots up. This fetching process is handled by a utility script called setup-lf.bash, located in the utils/scripts directory.

If you wish to switch to a different build channel for Lingua Franca, you can use the following commands in your console:

# To install the nightly version, built within the last 24 hours
bash ./utils/scripts/setup-lf.bash nightly

# To install the latest stable version
bash ./utils/scripts/setup-lf.bash stable

# To clone the repository and build Lingua Franca from source
bash ./utils/scripts/setup-lf.bash dev

Please note that running these commands will remove the current lingua-franca directory.

๐Ÿ’ป 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.

playground-lingua-franca's People

Contributors

edwardalee avatar soroosh129 avatar lhstrh avatar housengw avatar cmnrd avatar a-sr avatar hokeun avatar tanneberger avatar petervdonovan avatar clovercho avatar oowekyala avatar axmmisaka avatar zekailin00 avatar lsk567 avatar rcakella avatar matteweber avatar feliix42 avatar benichiwa avatar chadliajerad avatar yiweiivy avatar byeonggiljun avatar erlingrj avatar hugoforrat avatar jackyk02 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.