LISP – Loops
This topic is about LISP - Loops. There may be a situation, when you need to execute a block of code numbers of times. A loop statement allows us to…
This topic is about LISP - Loops. There may be a situation, when you need to execute a block of code numbers of times. A loop statement allows us to…
This topic is about LISP - Decision Making. Decision making structures require that the programmer specify one or more conditions to be evaluated or tested by the program, along with…
LISP - If Construct This topic is about LISP - Case Construct. The case construct implements multiple test-action clauses like the cond construct. However, it evaluates a key form and allows multiple action clauses…
LISP - If Construct This topic is about LISP - When Construct. The when macro is followed by a test clause that evaluates to t or nil. If the test clause is…
LISP - If Construct This topic is about of LISP - If Construct. The if macro is followed by a test clause that evaluates to t or nil. If the test clause…
This topic is about LISP - Cond Construct. The cond construct in LISP is most commonly used to permit branching. Syntax for cond is − (cond (test1 action1) (test2 action2) ... (testn actionn)) Each…
This topic is about LISP - Operators. An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. LISP allows numerous operations on data, supported…
This topic is about LISP - Constants. In LISP, constants are variables that never change their values during program execution. Constants are declared using the defconstant construct. Example The following example shows…
This topic is about LISP - Variables. In LISP, each variable is represented by a symbol. The variable's name is the name of the symbol and it is stored in the…
This topic is about LISP - Macros. Macros allow you to extend the syntax of standard LISP. Technically, a macro is a function that takes an s-expression as arguments and…