diplomsko delo
Rok Fajfar (Author), Tomaž Kosar (Mentor)

Abstract

Cilj diplomskega dela je predstaviti razpoznavalnike LPeg kot alternativo regularnim izrazom ter prikazati njihovo uporabo v namene razširjanja urejevalnikov programske kode. Razpoznavalniki tipa PEG so vrsta navzdoljnih razpoznavalnikov, LPeg pa je implementacija razpoznavalnikov PEG za skriptni programski jezik Lua. Po izgledu so podobni kontekstno prostim gramatikam z dodanimi regularnimi izrazi in imajo številne značilnosti zaradi katerih so odlična izbira za obdelavo sintakse programskih jezikov. S pomočjo knjižnice LPeg smo izdelali razširitev za urejevalnik programske kode Howl, ki dodaja podporo za funkcijski jezik Elixir.

Keywords

razpoznavalniki;urejevalniki;programski jeziki;programske kode;diplomske naloge;

Data

Language: Slovenian
Year of publishing:
Typology: 2.11 - Undergraduate Thesis
Organization: UM FERI - Faculty of Electrical Engineering and Computer Science
Publisher: R. Fajfar
UDC: 004.4'42:004.43(043.2)
COBISS: 21000982 Link will open in a new window
Views: 602
Downloads: 77
Average score: 0 (0 votes)
Metadata: JSON JSON-RDF JSON-LD TURTLE N-TRIPLES XML RDFA MICRODATA DC-XML DC-RDF RDF

Other data

Secondary language: English
Secondary title: Extending code editors with LPeg parsers
Secondary abstract: The goal of this diploma thesis is to present LPeg parsers as an alternative to regular expressions and to show their usage for the means of extending code editors. PEG parsers are a form of top-down parsers and LPeg is their implementation for the Lua scripting language. They look a lot like context free grammars with added regular expressions and have several attibutes that make them perfect for working with programming language syntax. With help of the LPeg library we've extended the editor Howl with Elixir support.
Secondary keywords: parsers;editors;programmning languages;Lua;
URN: URN:SI:UM:
Type (COBISS): Bachelor thesis/paper
Thesis comment: Univ. v Mariboru, Fak. za elektrotehniko, računalništvo in informatiko, Računalništvo in informacijske tehnologije
Pages: V, 35 f.
ID: 10852889