izpis_h1_title_alt

WebAssembly: zbirnik za spletne brskalnike
ID HVALA, PETRA (Author), ID Slivnik, Boštjan (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (460,58 KB)
MD5: B53E22A4AD7935EA0A1A584A7B537C62

Abstract
V diplomskem delu je predstavljen prevajalnik iz programskega jezika Brainf*ck v WebAssembly. Za izdelavo prevajalnika smo najprej morali spoznati strukturo WebAssemblyja, tako v tekstovni kot binarni obliki, JavaScript vmesnik ter preizkusiti delovanje že obstoječih prevajalnikov za programske jezike C/C++ ter Rust in zbirke programskih orodij za WebAssembly. Prevajalnik smo implementirali v WebAssembly tekstovni obliki in ga prevedli v binarno obliko s pomočjo orodja WABT. Sestavni del prevajalnika sta tudi JavaScript vmesnik, ki WebAssemblyjev modul naloži s strežnika in z njim komunicira, ter html stran za spletni prikaz. Prevajalnik smo uspešno implementirali in brez težav prevede Brainf*ck v izvedljive programe.

Language:Slovenian
Keywords:WebAssembly, Brainf*ck, prevajalnik
Work type:Bachelor thesis/paper
Typology:2.11 - Undergraduate Thesis
Organization:FRI - Faculty of Computer and Information Science
FMF - Faculty of Mathematics and Physics
Year:2020
PID:20.500.12556/RUL-115932 This link opens in a new window
COBISS.SI-ID:14138883 This link opens in a new window
Publication date in RUL:29.04.2020
Views:2159
Downloads:260
Metadata:XML RDF-CHPDL DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:WebAssembly: assembler for web browsers
Abstract:
In this work is represented a Brainf*ck to WebAssembly compiler. To build a compiler we had to learn about WebAssembly binary and text format, JavaScript API and tried out already existing compilers for C/C++ and Rust programming languages and WebAssembly toolkits. Compiler was implemented in WebAssembly text format and with toolkit WABT compiled to WebAssembly binary format. JavaScript API, which loads WebAssembly module from server and communicates with it, and html page for web display are the other two components of compiler. Compiler was successfully implemented. It compiles Brainf*ck into executable programs without any issues.

Keywords:WebAssembly, Brainf*ck, compiler

Similar documents

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

Back