Návrh a implementace jazyka pro code-golf challenge
Design and implementation of a language for code-golf challenge
bachelor thesis (DEFENDED)
View/ Open
Permanent link
http://hdl.handle.net/20.500.11956/80825Identifiers
Study Information System: 177711
CU Caralogue: 990021025100106986
Collections
- Kvalifikační práce [11977]
Author
Advisor
Referee
Kratochvíl, Miroslav
Faculty / Institute
Faculty of Mathematics and Physics
Discipline
Programming and Software Systems
Department
Department of Distributed and Dependable Systems
Date of defense
8. 9. 2016
Publisher
Univerzita Karlova, Matematicko-fyzikální fakultaLanguage
Czech
Grade
Excellent
Keywords (Czech)
překladač, programovací jazyk, code-golf, c++Keywords (English)
compiler, programming language, code-golf, c++Code-golf je jednou z kategorií programátorských soutěží, ve které je cílem im- plementovat řešení relativně snadné programátorské úlohy na co nejmenší počet bytů zdrojového kódu. Cílem mé práce je návrh a implementace programovacího jazyka, který je vhodný pro řešení code-golf úloh. Jazyk je navržený s ohledem na nově začínající řešitele code-golf challenge a zachovává čitelnost i srozumitel- nost. Zakládá se na běžně používaných jazycích, ale zároveň umožňuje stručný zápis algoritmických řešení úloh z oblasti code-golf. Součástí práce je také imple- mentace standardní knihovny jakožto běhové podpory pro tento jazyk. 1
Code-golf is one of types of programming competitions. Primary objective of such competition is to provide a solution to relatively simple programming task, such that the length of the source code is minimal in terms of bytes. The goal of my thesis is to design and implement a programming language that is suited for code-golf challenges. The language is designed with respect to beginners in the code-golf domain. It preserves readability and intelligibility, and it is based on popular programming languages, but still provides facilities for concise writing of algorithmical solutions for code-golf tasks. The work also contains implementation of a standard library as support for runtime environment of the language. 1
