diplomsko delo
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.
Keywords
Java;JavaScript;JVM;računalništvo in matematika;interdisciplinarni študij;univerzitetni študij;diplomske naloge;
Data
Language: |
Slovenian |
Year of publishing: |
2021 |
Typology: |
2.11 - Undergraduate Thesis |
Organization: |
UL FRI - Faculty of Computer and Information Science |
Publisher: |
[Ž. Željko] |
UDC: |
004.4'42(043.2) |
COBISS: |
78872579
|
Views: |
510 |
Downloads: |
67 |
Average score: |
0 (0 votes) |
Metadata: |
|
Other data
Secondary language: |
English |
Secondary title: |
Compiling Java bytecode to JavaScript |
Secondary 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. |
Secondary keywords: |
Prevajalniki (programska oprema);Računalništvo;Univerzitetna in visokošolska dela; |
Type (COBISS): |
Bachelor thesis/paper |
Study programme: |
1000407 |
Thesis comment: |
Univ. v Ljubljani, Fak. za računalništvo in informatiko |
Pages: |
40 str. |
ID: |
13505852 |