izpis_h1_title_alt

Prevajanje javanske zložne kode v JavaScript
ID ŽELJKO, ŽIGA (Author), ID Dobravec, Tomaž (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (730,50 KB)
MD5: 99666D892A7AF9B71D5DC47C669F8EEF

Abstract
Java je nekoč veljala za enega najbolj razširjenih sistemsko-neodvisnih jezikov, s prihodom sodobnih spletnih brskalnikov pa ji je to mesto vzel JavaScript. V okviru diplomskega dela smo si zato kot cilj zastavili izdelavo prevajalnika iz javanske zložne kode v JavaScript. V prvem delu je kratek opis javanske zložne kode in navideznega stroja ter njegova primerjava z JavaScriptom. V nadaljevanju je opisan razvoj in delovanje našega prevajalnika, ki v grobem sestoji iz petih faz. Sledi nekaj primerov njegove uporabe ter primerjava z že obstoječimi orodji. V zaključku analiziramo dosežene rezultate ter predstavimo nekaj možnosti za nadaljnji razvoj in nadgradnjo.

Language:Slovenian
Keywords:Java, JavaScript, JVM
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:2021
PID:20.500.12556/RUL-131008 This link opens in a new window
COBISS.SI-ID:78872579 This link opens in a new window
Publication date in RUL:21.09.2021
Views:1218
Downloads:95
Metadata:XML DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:Compiling Java bytecode to JavaScript
Abstract:
Java was in the past one of the most widely used platform-independent languages, but with the arrival of modern web browsers, JavaScript had largely taken its place. The objective of this thesis was therefore to implement an ahead-of-time compiler from Java bytecode to JavaScript. In the first part, we briefly describe Java bytecode and virtual machine, and compare it with JavaScript. Next, we present the implementation of our compiler, which roughly consists of five phases. We follow with a few examples of its use, along with the comparison with preexisting tools. In conclusion we analyze the finished compiler and present a few options for further improvements.

Keywords:Java, JavaScript, JVM

Similar documents

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

Back