![]() |
VOOZH | about |
Lisp is a programming language that has an overall style that is organized around expressions and functions. Every Lisp procedure is a function, and when called, it returns a data object as its value. It is also commonly referred to as "functions" even though they may have side effects.
Lisp is the second-oldest high-level programming language in the world which is invented by John McCarthy in the year 1958 at the Massachusetts Institute of Technology.
These are the features of LISP Programming.
we can start writing a string by using the write-line method
Syntax:
(write-line string)
Example:
Output:
Hello Geeks
The naming Conventions mean the way we are declaring variables in a program. It includes the variable names and syntax formats
Lets us discuss the conventions
Example:
Acceptable - hello,saisravan, etc
Not Acceptable - hell()0,sat{ sravab{,,,,,,,,etc
Example:
Acceptable - hello,saisravan, etc
Not Acceptable - hell"")0,sat//*& sra//>vab{,,,,,,,,etc
Example:
Acceptable - hello88Geeks, r56lisp, ,,,,,etc
Not Acceptable - 40geeks,4klll,....etc
Example Code: For acceptable names
Output:
hello hello99 hello geeks hello_Geek hello123