izpis_h1_title_alt

Implementacija razširljivega mixfix razčlenjevalnika
ID Medič, Aljaž (Author), ID Bauer, Andrej (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (440,14 KB)
MD5: DCD7D590E5058C311A8DC5F1A3D35543

Abstract
V diplomskem delu je predstavljena implementacija programskega jezika z razširljivim mixfix razčlenjevalnikom. Novonastali jezik, imenovan Mixfix, je osnovan na podlagi jezika MiniHaskell, ki je del knjižnice plzoo, napisane v programskem jeziku OCaml. V delu so najprej predstavljeni različni načini, kako obstoječi programski jeziki pomagajo uporabnikom pri neposrednem izražanju svojih idej, nato pa je predstavljen Mixfix in njegov način za definiranje poljubnih operatorjev. V nadaljevanju so povzete prilagoditve jezika MiniHaskell, predvsem na nivoju leksične analize. Pred opisom implementacije razčlenjevalnika so podani kratek pregled precedence in asociativnosti ter algebraične strukture monada, ki je osnova za monadično programiranje, v katerem je razčlenjevalnik napisan. Razlagi monade sledi opis kombiniranja manjših razčlenjevalnikov v večje enote, ki so na koncu združeni v en sam razčlenjevalnik za jezik, ki je prilagodljiv preko uporabniško definiranih operatorjev.

Language:Slovenian
Keywords:razčlenjevalnik, programski jezik, funkcijsko programiranje, mixfix, OCaml
Work type:Bachelor thesis/paper
Typology:2.11 - Undergraduate Thesis
Organization:FRI - Faculty of Computer and Information Science
Year:2024
PID:20.500.12556/RUL-160914 This link opens in a new window
COBISS.SI-ID:211106563 This link opens in a new window
Publication date in RUL:05.09.2024
Views:181
Downloads:33
Metadata:XML DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:An implementation of an extensible mixfix parser
Abstract:
This thesis details the implementation of a programming language equipped with an extensible mixfix parser developed using the OCaml programming language. The newly created language, named Mixfix, is derived from MiniHaskell, part of the plzoo library. The document begins by examining various methods by which existing programming languages facilitate the direct expression of user ideas. Following this examination, it introduces Mixfix and its unique mechanism for defining arbitrary operators, illustrating the language's adaptability. The thesis then summarizes adaptations made to MiniHaskell, particularly at the lexical analysis level. Before describing the implementation of the parser, it provides a brief overview of precedence, associativity, and the algebraic structure of monads, which form the basis for the monadic programming within which the parser is developed. The explanation of monads is followed by a description of how smaller parsers are combined into larger units. These are ultimately integrated into a single, flexible parser for the language, configurable through user-defined operators.

Keywords:parser, programming language, functional programming, mixfix, OCaml

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Back