Metajazyk generující zdrojové kódy
Source Codes Generating Metalanguage
Metajazyk generující zdrojové kódy
bachelor thesis (DEFENDED)
View/ Open
Permanent link
http://hdl.handle.net/20.500.11956/121023Identifiers
Study Information System: 223437
Collections
- Kvalifikační práce [10957]
Author
Advisor
Referee
Gemrot, Jakub
Faculty / Institute
Faculty of Mathematics and Physics
Discipline
Programming and Software Systems
Department
Department of Software and Computer Science Education
Date of defense
14. 9. 2020
Publisher
Univerzita Karlova, Matematicko-fyzikální fakultaLanguage
Slovak
Grade
Excellent
Keywords (Czech)
Návrh programovacieho jazyka, implementácia prekladača, návrhové vzory, šablónyKeywords (English)
Programming language design, Implementation of a compiler, design pattern, templatesNázov práce: Metajazyk generujúci zdrojové kódy Autor: Jakub Kolšovský Katedra / Ústav: Katedra softwaru a výuky informatiky Vedúcí bakalárskej práce: RNDr. Martin Pergel, Ph.D., Katedra softwaru a výuky informatiky Abstrakt: Novodobé programovanie ide ruka v ruke s objektovo-orientovanými programovacími jazykmi. Tieto jazyky nám toho ponúkajú veľa, či už sa jedná o zabudované prvky jazyka, alebo štandardizované knižnice pre daný programovací jazyk. Šikovný programátor vie vlastnosti daného programovacieho jazyka využiť na maximum. Medzi znalosti takého programátora patria aj návrhové vzory, dnes už neodmysliteľná časť programovania. V praxi, táto znalosť pomáha pri tvorbe prehľadného, jednoduchého a rozšíriteľného zdrojového kódu. Tieto vlastnosti sú kľúčové pri tvorbe kvalitného softwaru. Cieľom tejto práce je čitateľovi priblížiť tieto vzory a ukázať mu, ako by mali byť implementované. Okrem iného, obsahuje aj zopár šablón, ktoré je dobré poznať. Kľúčové slová: Návrh programovacieho jazyka, implementácia prekladača, návrhové vzory, šablóny
Title: Metalanguage generating source codes Author: Jakub Kolšovský Department: Katedra softwaru a výuky informatiky Supervisor: RNDr. Martin Pergel, Ph.D., Katedra softwaru a výuky informatiky Abstract: Modern programming goes hand-in-hand with object-oriented programming languages. These languages offer a lot of features, either built-in elements or standard libraries. Skillful programmer is able to maximize the effectivity of these features. One of the skills of such programmer is considered to be knowledge of the design patterns. In practice, they help with producing simple, clean and extendible source code. Such code leads to development of top-notch software. Goal of this thesis is to show some of the design patterns and, more importantly, show how they are supposed to be implemented. Among other things, I will also mention few templates that I personally consider useful to know. Keywords: programming language design, implementation of a compiler, design patterns, templates