TIDE
Languages

LiveScript

Installing LiveScript on Ubuntu in TIDE

LiveScript

LiveScript is a functional programming language that compiles to JavaScript, featuring pattern matching, list comprehensions, implicit calls, and functional pipelines.

Installation

Install Node.js and npm via apt, then install LiveScript globally:

apt update
apt install -y nodejs npm
npm install -g livescript

Verification

Check the LiveScript compiler version:

lsc --version

Writing and Executing Code

Create a LiveScript source file named hello.ls:

console.log "Hello, World!"

Execute the script directly using lsc:

lsc hello.ls

Or compile it to JavaScript and run with Node.js:

lsc -c hello.ls
node hello.js

Official Resources

On this page