Original title:
Rozšíření nástroje pro vizuální programování v Lua/LÖVE o generování bloků z textového kódu
Translated title:
An Extension of a Visual Programming Editor for Lua/LÖVE with Ability to Generate Blocks from Text Code
Authors:
Rešetár, René ; Křivka, Zbyněk (referee) ; Rychlý, Marek (advisor) Document type: Master’s theses
Year:
2024
Language:
slo Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[slo][eng]
Táto práca sa zaoberá spracovaním zdrojového kódu v jazyku Lua rozšíreného o rámec LÖVE s využitím Tree-Sitter parseru. Následne spracovaním jeho výstupu a generovaním odpovedajúcej reprezentácie tohto kódu v prostredí Blockly pomocou blokov. V rámci práce vznikol nástroj pre rozšírenie existujúcej aplikácie o spätné generovanie blokov z kódu. Nástroj sa nepodarilo do existujúcej aplikácie integrovať priamo ani pomocou vytvoreného API. To by však malo túto integráciu v budúcnosti umožniť. Okrem toho vznikol aj nástroj, slúžiaci ako vývojové prostredie, ktorý by mal umožniť jednoduchšiu implementáciu ďalšej funkcionality tohto rozšírenia.
This thesis deals with the processing of Lua source code extended with the LÖVE framework using the Tree-Sitter parser. Then processing its output and generating the corresponding representation of this code in the Blockly environment using blocks. As part of the work, a tool was developed to extend an existing application to generate blocks backwards from code. The tool could not be integrated directly into the existing application, even with the help of the developed API. However, it should allow this integration in the future. In addition, a tool has been created to serve as a development environment that should allow for easier implementation of the additional functionality of this extension.
Keywords:
block generation from source code; block programming; Blockly; code pattern detection; extensions; interactive learning; Lua programming language; LÖVE framework; reverse block generation; visual blocks; visual programming
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: https://hdl.handle.net/11012/248891