Articles

Found 2 Documents
Search

Desain Mesin Compiler untuk Penganalisa Leksikal, Sintaksis, Semantik, Kode Antara dan Error Handling Pada Bahasa Pemrograman Sederhana Fauziah, Fauziah; Apriansyah, Andez; Saputra, Tri Ichsan; Wijaya, Yunan Fauzi
Journal of Applied Informatics and Computing Articles in Press
Publisher : Politeknik Negeri Batam

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.30871/jaic.v3i1.1153

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%.
Simulasi Vending Machine Dengan Mengimplementasikan Finite State Automata Saputra, Tri Ichsan; Fauziah, Fauziah; Gunaryati, Aris
JOINTECS (Journal of Information Technology and Computer Science) Vol 3, No 3 (2018)
Publisher : Universitas Widyagama Malang

Show Abstract | Download Original | Original Source | Check in Google Scholar | Full PDF (530.588 KB) | DOI: 10.31328/jointecs.v3i3.819

Abstract

Pada teori bahasa dan automata menjelaskan tentang mesin-mesin abstrak yang mana didalamnya terdapat finite state automata yang bisa diimplementasikan kedalam vending machine. Vending machine untuk kota seperti Jakarta sudah bukan perihal sulit untuk menemukannya. Cara kerja secara operasional sudah banyak diketahui prosedurnya, namun perihal bagaimana cara kerjanya didalam mesin tersebut, masih belum banyak yang mengetahuinya, melalui simulasi ini diharapkan pengguna juga lebih paham akan hal itu