Opleiding: Lisp Programming
In the course Lisp Programming from SpiralTrain participants learn to develop applications in the functional programming language Lisp.Lisp Intro
The course starts with a discussion of the fundamentals of functional programming and expression evaluation. Next the program structure of Lisp applications, symbolic expressions and the macro system are discussed. Attention is also paid to atoms, lists and strings.
Lisp Syntax
Like any programming language, Lisp has variables, types and various control flow constructs. These are discussed in the module language syntax.
Functions
And also functions in Lisp are treated with the defun macro, with optional, rest and keyword parameters and with return values. Attention is also paid to typical functional functions such as lambdas and mapping functions.
Data Structures
Subsequently the various data structures that Lisp has to offer are on the course schedule such as sequences, lists and arrays, record structures, property lists, trees, hashtables and sets. The operations on these data structures such as unions and intersections between sets are also discussed.
Lisp I/O
And also input and output in Lisp applications is treated. This covers Stream I/O, input and output functions and reading and writing from and to files.
Classes and Structures
Finally the course concludes with a discussion of classes and structures in Lisp. The bundling of code in packages and the reuse of code by means of inheritance are also treated.
Audience Course Lisp Programming
The course Lisp Programming is intended for anyone who wants to learn programming in the functional programming language Lisp.
Prerequisites Course Lisp Programming
In order to participate in this course basic knowledge of programming in another programming language is beneficial to understanding but is not required.
Realization Training Lisp Programming
The theory is discussed on the basis of presentation slides. The theory is further explained through demos. After discussing a module there is the possibility to practice. Course times are from 9.30 to 16.30.
Certification Lisp Programming
After successful completion of the course, participants receive an official certificate Lisp Programming.
Modules
Module 1 : Lisp Intro
- Functional Programming
- Lisp Roots
- Lisp Dialects
- Common Lisp and Scheme
- Machine Independence
- Expression Evaluation
- Macro System
- Lisp Executer
- CLISP Compiler
- Program Structure
- Symbolic Expressions
- Atoms, lists and strings
Module 2 : Language Syntax
- List Forms
- Naming Conventions
- Scalar types
- Numbers and Characters
- Symbols
- typep Predicate
- type-of Function
- Variables
- setq and defvar
- Operators and Control Flow
- cond, case, when
- loop for, dotimes, dolist
Module 3 : Functions
- Defining Functions
- defun Macro
- Parameter Passing
- Optional Parameters
- Rest Parameters
- &rest Symbol
- Keyword Parameters
- Return Values
- return-from Operator
- Lambda Functions
- lambda Expression
- Mapping Functions
Module 4 : Data Structures
- Arrays and Indexing
- Strings
- Sequences
- Sequence Functions
- Lists
- cons Record Structure
- Symbols
- Property Lists
- Vectors
- Fill Pointer
- Sets
- Unions and Intersections
- Trees and Hashtables
Module 5 : Lisp I/O
- I/O Streams
- Reading Input
- Input Functions
- Output Functions
- Formatted Output
- File I/O
- Opening Files
- :element-type Keyword
- :external-format Argument
- with-open-file
- :direction Keyword
- :output Keyword
- Reading and Writing
Module 6 : Structures and Classes
- Defining Structures
- defstruct Macro
- Access Functions
- Constructors
- Predicates
- Copier Function
- Package as Namespace
- Creating Packages
- Using Packages
- *package* Variable
- Creating Classes
- defmethod Macro
- Inheritance