Difference between revisions of "Programming Languages and Compilers"

From Marek Běhálek Wiki
Jump to navigation Jump to search
 
Line 98: Line 98:
 
* [http://linedu.vsb.cz/~beh01/wiki_data/antlr_tutorial.zip ANTLR Tutorial - complementary source codes]
 
* [http://linedu.vsb.cz/~beh01/wiki_data/antlr_tutorial.zip ANTLR Tutorial - complementary source codes]
 
* [[PLC_Laboratory_7 | Laboratory 7]]
 
* [[PLC_Laboratory_7 | Laboratory 7]]
* [[PLC_Laboratory_8 | Laboratory 8]]
 
* [[PLC_Laboratory_9 | Laboratory 9]]
 
 
* Activity (10 points) - written test on LL1 grammars.
 
* Activity (10 points) - written test on LL1 grammars.
 
* Guidelines to project - [[PLC_Project | Project's description]].
 
* Guidelines to project - [[PLC_Project | Project's description]].
Line 105: Line 103:
 
=== Tutorial 5 ===  
 
=== Tutorial 5 ===  
 
* [http://linedu.vsb.cz/~beh01/wiki_data/PLC_advanced_topics.pdf Advanced Topics]
 
* [http://linedu.vsb.cz/~beh01/wiki_data/PLC_advanced_topics.pdf Advanced Topics]
* Project will be evaluated.
+
* [[PLC_Laboratory_8 | Laboratory 8]]
 +
* [[PLC_Laboratory_9 | Laboratory 9]]
 +
* [[PLC_Laboratory_10 | Laboratory 10]]
 +
* You can ask about the project, if you already solve it, it will be evaluated.
 
</translate>
 
</translate>

Latest revision as of 08:24, 17 April 2024

Basic introduction

Students get an overview of the area of programming, main programming paradigms (imperative, functional, logic) and their typical representatives. They also get some theoretical body of knowledge and practical experience of compiling methods, especially concentrated to the source code analysis and intermediate code synthesis phases. Students develop practical abilities to use compiler generators like JavaCC.

Subject aims expressed by acquired skills and competences

After this lectures student should be able to effectively implement analyzers of a structured text data or of simple languages. Also they should understand concepts and constructions common for today's programming languages.

Recommended literature

Torben Mogensen: Basics of Compiler Design - freely available at http://www.diku.dk/hjemmesider/ansatte/torbenm/Basics/

Aho, A. V., Lam M.S., Sethi, R., Ullman, J. D.: Compilers. Principles, Techniques, and Tools. Addison Wesley; 2nd edition (September 10, 2006). ISBN 0321486811.7

Pierce B.C.: Types and Programming Languages, MIT Press, 2002, ISBN: 9780262162098.

Way of continuous check of knowledge in the course of semester

Evaluation compose from two parts. During the exercise, students will be programing assigned tasks (40 points). Remaining points can be obtained for a project – a compiler that will be continuously implemented during the semester (60 points).

Software

In our lectures, we will be using...

Presentations

Presentations used in our lectures:

Úvod do PLC Introduction to PLC

Programming Languages and Compilers

ANTLR Tutorial ANTLR Tutorial - complementary source codes

Advanced Topics

Schedule:

Laboratories

Project

Combine study

Tutorial 1

Tutorial 2

Tutorial 3

Tutorial 4

Tutorial 5