zbirnik za spletne brskalnike
Petra Hvala (Author), Boštjan Slivnik (Mentor)

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.

Keywords

WebAssembly;prevajalnik;računalništvo;računalništvo in informatika;računalništvo in matematika;interdisciplinarni študij;univerzitetni študij;diplomske naloge;

Data

Language: Slovenian
Year of publishing:
Typology: 2.11 - Undergraduate Thesis
Organization: UL FRI - Faculty of Computer and Information Science
Publisher: [P. Hvala]
UDC: 004.4'42(043.2)
COBISS: 14138883 Link will open in a new window
Views: 1751
Downloads: 248
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: WebAssembly: assembler for web browsers
Secondary 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.
Secondary keywords: WebAssembly;brainf*ck;compiler;computer science;computer and information science;computer science and mathematics;interdisciplinary studies;diploma;
Type (COBISS): Bachelor thesis/paper
Study programme: 1000407
Embargo end date (OpenAIRE): 1970-01-01
Thesis comment: Univ. v Ljubljani, Fak. za računalništvo in informatiko
Pages: 80 str.
ID: 11609652
Recommended works:
, zbirnik za spletne brskalnike
, diplomsko delo
, diplomsko delo