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 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, etc.).

1. Let's run a snippet of JavaScript
js
// hello.js
console.log("Hello!");
bash
 elide hello.js
shell
Hello!
2. Now let's do the same thing, but with TypeScript
ts
// hello.ts
let hello: string = "Hello!";
console.log(hello);
bash
 elide hello.ts
shell
Hello!

See Also