Elide 1.0.0-alpha10 Help

Getting Started

Run your first code samples with Elide

Before you start

You'll need an installed copy of Elide. Follow the Installation guide to obtain a copy of Elide.

Running some code

Elide can accept a raw string of code or a file to run in any supported language. Best attempts are made to detect the primary language via the source file's extension (.js will load a JS VM, .py a Python VM, etc.).

  1. Let's run a snippet of JavaScript

    elide run --javascript -c "console.log('Hello!');"
    Hello! Exiting session. Have a great day! 👋
  2. Now let's do the same thing, but with some Python

    elide run --python -c 'print("Hello!")'
    Hello! Exiting session. Have a great day! 👋
  3. Now let's do the same thing, but with some Ruby

    elide run --ruby -c 'puts "Hello!"'
    Hello! Exiting session. Have a great day! 👋

Polyglot terminal

Elide can run an interactive read-eval-print-loop (REPL) session for each supported language. There are several ways to kick one off, the easiest being:

Open a JavaScript console:

elide

Open a Python console:

elide python

Open a Ruby console:

elide ruby
Last modified: 14 May 2024