Překladač skriptovacího jazyka RA do Javy
A translator of DET scripting language into Java
Typ dokumentu
bakalářská prácebachelor thesis
Autor
Daniil Grankin
Vedoucí práce
Guth Ondřej
Oponent práce
Šestáková Eliška
Studijní obor
Teoretická informatikaStudijní program
InformatikaInstituce přidělující hodnost
katedra teoretické informatikyPráva
A university thesis is a work protected by the Copyright Act. Extracts, copies and transcripts of the thesis are allowed for personal use only and at one?s own expense. The use of thesis should be in compliance with the Copyright Act http://www.mkcr.cz/assets/autorske-pravo/01-3982006.pdf and the citation ethics http://knihovny.cvut.cz/vychova/vskp.htmlVysokoškolská závěrečná práce je dílo chráněné autorským zákonem. Je možné pořizovat z něj na své náklady a pro svoji osobní potřebu výpisy, opisy a rozmnoženiny. Jeho využití musí být v souladu s autorským zákonem http://www.mkcr.cz/assets/autorske-pravo/01-3982006.pdf a citační etikou http://knihovny.cvut.cz/vychova/vskp.html
Metadata
Zobrazit celý záznamAbstrakt
Cilem této práce je návrh a implementace vylepšeného skriptovaciho enginu, řešeni problémů a návrh nových vlastnosti existujici proprietárni implemen-tace tohoto enginu. Skriptovaci engin se použivá ke zpracováni skriptů nap-saných v jazyce založeném na Javě. Hlavni nedokonalost existujiciho skrip-tovaciho enginu DET je použiti výhradně regulárnich výrazů na zpracováni skriptu. Toto je řešeno v prototypu, který je předmětem této práce. Důraz je kladen na běžně použivanou techniku konstrukce překladačů: skriptovaci jazyk je popsán gramatikou, dále se pracuje s abstraktnim syntaktickým stromem. The goal of this thesis is to design and develop an improved scripting engine solution, addressing the problems and revisiting the features of the existing proprietary Scripting Engine implementation. The Scripting Engine is used to process the scripts, written in Java-like syntax with custom language extension into the methods of java classes, which could be compiled, and referenced from the platform. The main imperfection of the DET Scripting Engine is that it is relying on the regular expressions as on the script alternation tool. This flaw is approached in the prototype project, which is the subject of this thesis. The emphasis is given to the common compiler-construction technique. The scripting language is described with well-defined grammar. The parsing of the scripts provides an abstract syntax tree which could be then traversed with the predefined algorithms.
Kolekce
- Bakalářské práce - 18101 [337]