DETAIL DOCUMENT
SOURCE-TO-SOURCE TRANSLATOR BAHASA PEMROGRAMAN C KE BAHASA PEMROGRAMAN JAVASCRIPT MENGGUNAKAN METODE RULE-BASED MACHINE TRANSLATION
Total View This Week0
Institusion
Universitas Sriwijaya
Author
M RYAN FADHOLI (STUDENT ID : 09021281419050)
Megah Mulya (LECTURER ID : 0020026609)
Novi Yusliani (LECTURER ID : 0008118205)
Subject
R858-859.7 Computer applications to medicine. Medical informatics 
Datestamp
2019-10-02 01:51:13 
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. 
Institution Info

Universitas Sriwijaya