Original title:
Moderní editor zdrojového kódu pro zadaný jazyk
Translated title:
Advanced Source Code Editor for a Given Language
Authors:
Srna, Pavol ; Burgetová, Ivana (referee) ; Eysselt, Miloš (advisor) Document type: Bachelor's theses
Year:
2008
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Hlavným cieľom tejto práce je zoznámiť sa s aplikačným rozhraním vývojového prostredia eclipse a vhodne rozšíriť jeho editor zdrojového kódu tak, aby pre jazyk SIT mal rysy moderných textových editorov. Práca ukazuje vytvorenie parsra a lexra z gramatiky ANTLR. Vysvetľuje spôsob písania zásuvných modulov do platformy eclipse so zameraním na editor zdrojového kódu. Implementovaný plugin editoru má podporu zvýrazňovania a kontroly syntaxe, automatického dopĺňania kódu a nápovedy podľa kontextu.
Aim of this BSc Thesis is to acquaint with application programming interface of eclipse development environment and to extend appropriately its source code editor to obtain the characteristics of the advanced text editors in the language SIT. The Thesis describes the creation of the parser and lexer from ANTLR grammar. It explains the way of writing plugins to the eclipse platform by focusing on the source code editor. The implemented editor plugin has the support of syntax highlighting, a syntax checking, an automatic code completion and a context information.
Keywords:
ANTLR; eclipse; lexer; parser; plugin; source code editor; ANTLR; eclipse; editor zdrojového kódu; lexer; parser; plugin
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/55406