TIDE
Languages

Scheme

Installing Scheme on Ubuntu in TIDE

Scheme

Scheme is a minimalist, elegant dialect of the Lisp family known for its simple syntax and powerful macro system. GNU Guile is the official Scheme implementation for the GNU project.

Installation

Install GNU Guile on TIDE's Ubuntu system:

apt update
apt install -y guile-3.0

Verification

Check the installed Guile version:

guile --version

Running the REPL

Launch the interactive Scheme REPL:

guile

Try evaluating a Scheme expression:

scheme@(gnu user)> (display "Hello from Scheme REPL!\n")

Type ,quit or press Ctrl+D to exit.

Hello World Example

Create a Scheme script file named hello.scm:

echo '(display "Hello, Scheme!\n")' > hello.scm

Execute the script with GNU Guile:

guile hello.scm

Official Resources

On this page