SOURCE-TO-SOURCE TRANSLATOR BAHASA PEMROGRAMAN C KE BAHASA PEMROGRAMAN JAVASCRIPT MENGGUNAKAN METODE RULE-BASED MACHINE TRANSLATION

FADHOLI, M RYAN and Mulya, Megah and Yusliani, Novi (2018) SOURCE-TO-SOURCE TRANSLATOR BAHASA PEMROGRAMAN C KE BAHASA PEMROGRAMAN JAVASCRIPT MENGGUNAKAN METODE RULE-BASED MACHINE TRANSLATION. Undergraduate thesis, Sriwijaya University.

[thumbnail of RAMA_55201_09021281419050_0020026609_0008118205_01_front_ref.pdf]
Preview
Text
RAMA_55201_09021281419050_0020026609_0008118205_01_front_ref.pdf - Accepted Version
Available under License Creative Commons Public Domain Dedication.

Download (1MB) | Preview
[thumbnail of RAMA_55201_09021281419050_0020026609_0008118205_02.pdf] Text
RAMA_55201_09021281419050_0020026609_0008118205_02.pdf - Accepted Version
Restricted to Repository staff only
Available under License Creative Commons Public Domain Dedication.

Download (140kB) | Request a copy
[thumbnail of RAMA_55201_09021281419050_0020026609_0008118205_03.pdf] Text
RAMA_55201_09021281419050_0020026609_0008118205_03.pdf - Accepted Version
Restricted to Repository staff only
Available under License Creative Commons Public Domain Dedication.

Download (408kB) | Request a copy
[thumbnail of RAMA_55201_09021281419050_0020026609_0008118205_04.pdf] Text
RAMA_55201_09021281419050_0020026609_0008118205_04.pdf - Accepted Version
Restricted to Repository staff only
Available under License Creative Commons Public Domain Dedication.

Download (753kB) | Request a copy
[thumbnail of RAMA_55201_09021281419050_0020026609_0008118205_05.pdf] Text
RAMA_55201_09021281419050_0020026609_0008118205_05.pdf - Accepted Version
Restricted to Repository staff only
Available under License Creative Commons Public Domain Dedication.

Download (840kB) | Request a copy
[thumbnail of RAMA_55201_09021281419050_0020026609_0008118205_06.pdf] Text
RAMA_55201_09021281419050_0020026609_0008118205_06.pdf - Accepted Version
Restricted to Repository staff only
Available under License Creative Commons Public Domain Dedication.

Download (73kB) | Request a copy
[thumbnail of RAMA_55201_09021281419050_0020026609_0008118205_07_ref.pdf] Text
RAMA_55201_09021281419050_0020026609_0008118205_07_ref.pdf - Bibliography
Restricted to Repository staff only
Available under License Creative Commons Public Domain Dedication.

Download (145kB) | Request a copy
[thumbnail of RAMA_55201_09021281419050_0020026609_0008118205_08_lamp.pdf] Text
RAMA_55201_09021281419050_0020026609_0008118205_08_lamp.pdf - Accepted Version
Restricted to Repository staff only
Available under License Creative Commons Public Domain Dedication.

Download (11MB) | Request a copy

Abstract

As the field of computer science develops, existing programming languages may see a decrease in popularity and usage. When a programming language becomes bsolete it is necessary to do a code migration, an act of translating source code from one programming language to another. However, the code migration process tends to be very taxing and error-prone. Source-to-source translation is a possible solution to this problem, as it could translate source code automatically from one language to another. This research implements the rule-based machine translation method to build a source-to-source translation that accepts code written in C and translates it to Javascript. After the software is successfully built, it is then tested using 50 source code files written in C. The result shows that the software is able to translate the source codes with 100% accuracy. When the translation results was run, 34 or 68% of the translation result produces a similar output with the input source code. Analysis of translation results with differing output reveals common causes of these differences, namely the use of address-of(&) operators, the use of the randO fitnction, difference in arithmetic conversion rules, difference in noninitialized variables, and difference in the precision of format specifiers.

Item Type: Thesis (Undergraduate)
Uncontrolled Keywords: Javascript Programming Language, Source-to-Source Translation, Rule-Based Machine Translation
Subjects: R Medicine > R Medicine (General) > R858-859.7 Computer applications to medicine. Medical informatics
Divisions: 09-Faculty of Computer Science > 55201-Informatics (S1)
Depositing User: Mrs Sri Astuti
Date Deposited: 02 Oct 2019 01:51
Last Modified: 02 Oct 2019 01:51
URI: http://repository.unsri.ac.id/id/eprint/9953

Actions (login required)

View Item View Item