
handle: 20.500.12556/DKUM-67307
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.
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.
programski jeziki, info:eu-repo/classification/udc/004.4'42:004.43(043.2), parsers, programming languages, editors, razpoznavalniki, Lua, urejevalniki
programski jeziki, info:eu-repo/classification/udc/004.4'42:004.43(043.2), parsers, programming languages, editors, razpoznavalniki, Lua, urejevalniki
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
