The 'Hello World' Program
Learning a new programming language doesn't really take off until you learn how to greet the entire world in that language, right!
So, please create new source code file named main.lisp and type the following code in it.
(write-line "Hello World")
(write-line "I am at 'Tutorials Point'! Learning LISP")
When you click the Execute button, or type Ctrl+E, LISP executes it immediately and the result returned is:
Hello World
I am at 'Tutorials Point'! Learning LISP
LISP - Basic Syntax
Basic Building Blocks in LISP
LISP programs are made up of three basic building blocks:
• atom
• list
• string
An atom is a number or string of contiguous characters. It includes numbers and special characters.
Following are examples of some valid atoms:
hello-from-tutorials-point
name
123008907
*hello*
Block#221