- Garant předmětu:
- Jan Janoušek
- Petr Máj, Jan Sliacký
- Tomáš Jakl
- Department of Theoretical Computer Science
The course deals with basic paradigms of high-level programming languages, including their basic execution models, benefits, and limitations of particular approaches. Functional programming paradigm and its basic principles are explained in details. Logic programming is introduced as another way of declarative programming. The principles are demonstrated on lambda calculus and on Lisp (Racket) and Prolog programming languages. Moreover, usage of these principles is demonstrated on modern mainstream programming languages such as C++ and Java.
Basic knowledge of imperative programming and of OOP (C and C++)
- Syllabus of lectures:
1. High-level programming languages and their paradigms.
2. Basic runtime environment for executing programs.
3. Functional programming: Lambda calculus.
4. Informal introduction to LISP, from Lambda calculus to LISP.
5. Recursion, higher order functions and their composition.
7. Functional programming in modern programming languages.
8.  Efficient interpretation of functional languages: SECD virtual machine.
10. Programming in logic: Prolog - introduction.
11. Unification, cut operator.
12.  More complex examples, graph algorithms in Prolog.
- Syllabus of tutorials:
1. Lambda calculus I
2. Lambda calculus II
3. Lambda calculus III
4. Lisp I
5. Lisp II
6. Lisp III
7. Prolog I
8. Prolog II
- Study Objective:
The goal of the course is to provide an overview of programming paradigms. Basic principles and concepts of high-level programming languages based on the programming paradigms are described and compared. The course deals with functional and logic programming in details. Students should learn both basic theoretical principles and programming practical examples. Principles of implementing programming languages are discussed as well.
- Study materials:
1. Lee K. D. : Foundations of Programming Languages. Springer, 2014. ISBN 978-3-319-13314-0.
2. Hoyte D. : Let Over Lambda. lulu.com, 2008. ISBN 978-1435712751.
3. Brammer M. : Logic Programming with Prolog (2nd Edition). Springer, 2013. ISBN 978-1-4471-5487-7.
4. Weitz E. : Common Lisp Recipes: A Problem-Solution Approach. Apress, 2016. ISBN 978-1-4842-1177-9.
- Further information:
- Time-table for winter semester 2023/2024:
NBFIT PC učebna
Thákurova 7 (budova FSv)
- Time-table for summer semester 2023/2024:
- Time-table is not available yet
- The course is a part of the following study plans: