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.0Verification
Check the installed Guile version:
guile --versionRunning the REPL
Launch the interactive Scheme REPL:
guileTry 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.scmExecute the script with GNU Guile:
guile hello.scm