Desain Mesin Compiler untuk Penganalisa Leksikal, Sintaksis, Semantik, Kode Antara dan Error Handling Pada Bahasa Pemrograman Sederhana

  • Fauziah Fauziah UNIVERSITAS NASIONAL
  • Andez Apriansyah Universitas Nasional
  • Tri Ichsan Saputra Universitas Nasional
  • Yunan Fauzi Wijaya Universitas Nasional
Keywords: Error Handling, Intermediate Code, Lexical, Semantic, Syntactic

Abstract

In compilation techniques, the processes and stages carried out relate to translating source languages into target languages (object programs). Source languages are high-level programming languages that are easy to understand and easy to learn by humans, while target languages are low-level languages that are only understood by machines. In this study a compiler machine called Automatic LESSIMIC Analyzer is used which can be used to analyze, including lexical, syntactic, and semantic analysis. Compiler machines that are designed can also synthesize intermediate code, using assembler codes. The compiler engine will produce an analysis of the program code that the user enters in the form of an error message, if the program code is not in accordance with the grammar that applies generally in programming languages. In this research, the simple program code that is inputted is C ++ programming language, and successfully analyzes the lexical, semantic, syntactic, intermediate code generation and successfully detects errors from the program code entered with a success rate of 99%.

Downloads

Download data is not yet available.

References

Maukar, Lamria, S., & Widowati, H. (2006). “Kompilator Sederhana Untuk Bahasa Pemrograman Sangat Sederhana”. In Seminar Nasional Sistem dan Informatika, pp. 84–87, Bali, Indonesia, November 2006.

Suciadi, J. “Studi Analisis Metode-Metode Parsing Dan Interpretasi Semantik Pada Natural Language Processing”. Jurnal Informatika, vol. 2, pp. 13-22, Mei 2001.

Slamet, S., & Suhartanto, H. 1992. Teknik Kompilasi. Jakarta: Universitas Indonesia.

Lailela, S. N. “Perancangan Perangkat Ajar Teknik Kompilasi”. Jurnal CLICK, vol. 1, pp. 74–87, Desember 2017.

Vaishnavi, V., Saritha, M. & Milton, R.S. “Paraphrase identification in short texts using grammar patterns”. In 2013 3rd International Conference on Recent Trends in Information Technology, ICRTIT 2013. Chennai; India: IEEE, pp. 472–477. July 2013

Utdirartatmo, F. 2005. Teknik Kompilasi. Yogyakarta: Graha Ilmu.

Olivya, M. “Sistem Penilai Source Code Otomatis”. Jurnal Inspiration, vol. 5, pp. 44-55, Juni 2015.

Heriyanto. “Pendekatan Kompilator Dengan Teori Bahasa dan Automata”. Jurnal Ilmiah Go Infotech, vol. 03, pp. 28-35, Maret 2004.

Published
2019-04-01
How to Cite
[1]
F. Fauziah, A. Apriansyah, T. Saputra, and Y. Wijaya, “Desain Mesin Compiler untuk Penganalisa Leksikal, Sintaksis, Semantik, Kode Antara dan Error Handling Pada Bahasa Pemrograman Sederhana”, JAIC, vol. 3, no. 1, pp. 01-07, Apr. 2019.
Section
Articles