Introduction1 Kuliah ini membahas beberapa teknik pembuatan suatu kompilator berdasarkan tatabahasa yang diberikan. Kuliah ini membahas beberapa teknik.

Slides:



Advertisements
Presentasi serupa
Developing Knowledge Management dalam perusahaan Week 10 – Pert 19 & 20 (Off Class Session)
Advertisements

WE-2010 Web Engineering Husni husni.trunojoyo.ac.id
Data Mining dan Aplikasi untuk Knowledge Management
Mata Kuliah : ALGORITMA dan STRUKTUR DATA 1.
PEMOGRAMAN BERBASIS JARINGAN
Perancangan Web dan Internet. Introduction ? •What is a web site ? •What Is Internet ?
Program Keahlian I – SI By Antonius Rachmat C, S.Kom
Materi Analisa Perancangan System.
Peta Kontrol (Untuk Data Variabel)
PART 5 TRAINING INPUT Dosen : Dwisnanto Putro, ST, M.Eng.
TEKNIK KOMPILASI By Kustanto, S.T.,M.Eng.
Statistika Nonparametrik PERTEMUAN KE-1 FITRI CATUR LESTARI, M. Si
PART 3 TRAINING OUTPUT LED Dosen : Dwisnanto Putro, ST, M.Eng.
INTRODUCTION TO PSYCHOLOGY. Recommended Literature 1. Introduction to Psychology : Gateway to Mind and Behavior by Dennis Coon and John O. Mitterer 2.
IT Project Management Based on PMBOK
Antivirus Tools Backup Tools Multimedia Tools Network Tools Password Tools.
Rully Yulian MF MCAD,MCPD,MCT,MVP VB.NET Independent IT Trainer – Application Developer
PERULANGANPERULANGAN. 2 Flow of Control Flow of Control refers to the order that the computer processes the statements in a program. –Sequentially; baris.
* Albert Fleming Lukito * Agusdianto * Bayu Astha * Linda W * Patrick Prawira * Rinaldo Stepan Sidabutar * William.
Pemrograman Dasar Warsun Najib
Review IS & Software System Concept Diah Priharsari PTIIK – Universitas Brawijaya Source: 1.Obrien & Marakas, Management Information.
Introduction to The Design & Analysis of Algorithms
IF-ITB/SAS/25Aug2003 IF7074 – Bagian Pertama Page 1 IF 7047 Kewirausahaan Teknologi Informasi Bagian Pertama: 1.1. Entrepreneurship, entrepreneur, dan.
IT , Jaringan,Internet,E-commerce
PROSES PADA WINDOWS Pratikum SO. Introduksi Proses 1.Program yang sedang dalam keadaan dieksekusi. 2.Unit kerja terkecil yang secara individu memiliki.
1. Objek dalam kalimat aktif menjadi subjek dalam kalimat pasif
KIMIA ORGANIK II ELFI SUSANTI VH.
1 IKI10230 Pengantar Organisasi Komputer Kuliah no. 07: Tugas No. 2 Sumber: 1. Paul Carter, PC Assembly Language 2. Hamacher. Computer Organization, ed-5.
1 IKI10230 Pengantar Organisasi Komputer Kuliah no. A4: Bahasa Rakitan AVR Conditional & Branch Instructions 21 Maret 2003 Bobby Nazief
Kode MK : MI Revisi Terakhir : Pertemuan1 FX. Henry Nugroho, S.T., M.Cs Adi Kusjani, S.T. GUI dan IDE 2013.
DEPARTEMEN ILMU KOMPUTER FMIPA IPB 2011 Praktikum Bahasa Pemrograman.
Pengantar/pengenalan (Introduction)
Could not load an object because it is not avaliable on this machine. Tidak dapat memuat sebuah benda karena tidak tersedia pada mesin ini.
BINUS LIBRARY 1 Kelompok : Budi Abi Dharma Tanthra Dandy Wijaya Arviddree Sanjaya Samuel Adi Suara Samuel Partogi
What are the elements of a web page?. DfM DfM
Menjelaskan sifat – sifat komponen elektronika aktif dan pasif
1 Certified Assessor Training Galeri 678 Kemang, 26 – 28 Agustus 2008 Materi Kuliah Program Magister Psikologi Unika Atmajaya Agustus 2009 Disusun oleh.
KULIAH X FIREWALL KOM Keamanan Jaringan 2012/2013 KOM Keamanan Jaringan 2012/2013.
2-Metode Penelitian Dalam Psikologi Klinis
Implementing an REA Model in a Relational Database
KULIAH I INTRODUCTION TO NETWORK SECURITY Imam Bukhari, S.Kom KOM Keamanan Jaringan 2012/2013 KOM Keamanan Jaringan 2012/2013.
MEMORY Bhakti Yudho Suprapto,MT. berfungsi untuk memuat program dan juga sebagai tempat untuk menampung hasil proses bersifat volatile yang berarti bahwa.
3 nd Meeting Chemical Analysis Steps and issues STEPS IN CHEMICAL ANALYSIS 1. Sampling 2. Preparation 3. Testing/Measurement 4. Data analysis 2. Error.
Manajemen Sistem Informasi
1 Magister Teknik Perencanaan Universitas Tarumanagara General View On Graduate Program Urban & Real Estate Development (February 2009) Dr.-Ing. Jo Santoso.
2nd MEETING Assignment 4A “Exploring Grids” Assignment 4 B “Redesign Grids” Create several alternatives grid sysytem using the provided elements: (min.
10 - Innovation Matakuliah: G0622/Bahasa Inggris 1 Tahun: 2005 Versi: 1.01.
LOGO Manajemen Data Berdasarkan Komputer dengan Sistem Database.
ORGANISASI KOMPUTER Oleh : PUTRA PRIMA NAUFAL, S.ST SUMBER
Organogenesis & Embriogenesis
Linked List dan Double Linked List
MODELS OF PR SYIFA SA. Grunig's Four models of Public Relations Model Name Type of Communica tion Model Characteristics Press agentry/ publicity model.
Metodologi Penelitian dalam Bidang Informatika
PEMERINTAH KOTA PONTIANAK DINAS PENDIDIKAN PEMERINTAH KOTA PONTIANAK DINAS PENDIDIKAN Jl. Letjen. Sutoyo Pontianak, Telp. (0561) , Website:
BASH – Shell Programming Guide Erick, Joan © Sekolah Tinggi Teknik Surabaya 1.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Fungsi dan Protokol Layer Aplikasi Network Fundamentals – Chapter 3.
SISTEM INFORMASI AKUNTANSI
1. 2 Work is defined to be the product of the magnitude of the displacement times the component of the force parallel to the displacement W = F ║ d F.
Lecture 8 Set and Dictionary Sandy Ardianto & Erick Pranata © Sekolah Tinggi Teknik Surabaya 1.
© 2009 Fakultas Teknologi Informasi Universitas Budi Luhur Jl. Ciledug Raya Petukangan Utara Jakarta Selatan Website:
Pengembangan Blog Kuliah Bagaimana mengelola blog kuliah dengan baik?
Web Teknologi I (MKB511C) Minggu 12 Page 1 MINGGU 12 Web Teknologi I (MKB511C) Pokok Bahasan: – Text processing perl-compatible regular expression/PCRE.
PT. GAKA KARYA ENGINEERING
Made by: Febri, Andrew, Erina, Leon, Luvin, Jordy
Dasar-Dasar Periklanan
Lecture 2 Introduction to C# - Object Oriented Sandy Ardianto & Erick Pranata © Sekolah Tinggi Teknik Surabaya 1.
Slide 1 Chapter 1: Introduction to Systems Analysis and Design Alan Dennis, Barbara Wixom, and David Tegarden John Wiley & Sons, Inc.
BAHASA SUMBER.
Oleh : Eko Prianto. Read Carefully  another section at the same document  to a different document  to a different Web page  to a variety of other.
Pemrograman berorientasi objek
Transcript presentasi:

Introduction1 Kuliah ini membahas beberapa teknik pembuatan suatu kompilator berdasarkan tatabahasa yang diberikan. Kuliah ini membahas beberapa teknik pembuatan suatu kompilator berdasarkan tatabahasa yang diberikan. Teknik-teknik ini akan dibahas sesuai dengan tahap pembuatan suatu kompilator. Dimulai dari tahap pembacaan program sumber, analisis tatabahasa, dan diakhiri oleh pembentukan kode (bahasa sasaran). Teknik-teknik ini akan dibahas sesuai dengan tahap pembuatan suatu kompilator. Dimulai dari tahap pembacaan program sumber, analisis tatabahasa, dan diakhiri oleh pembentukan kode (bahasa sasaran). Peserta kuliah akan mempelajari model suatu kompilator sesuai dengan tahapan tersebut, mengembangkannya dengan menambah fitur- fitur suatu kompilator. Peserta kuliah akan mempelajari model suatu kompilator sesuai dengan tahapan tersebut, mengembangkannya dengan menambah fitur- fitur suatu kompilator. Teknik Kompilator (Compiler Techniques) IKI40800 Dosen: Heru Suhartanto Room : Gedung A, 1216

Introduction2References Semester : Genap (was Ganjil in 2008/2009) Semester : Genap (was Ganjil in 2008/2009) 1.Compilers: Principles, Tehchniques, and Tools Aho, A. V., Sethi, R., Ullman, J. D. Addison Wesley Modern Compiler Implementation in Java 3.Dick Grune et. Al, Modern Compiler Design, John Wiley & Sons, Lex - A Lexical Analyzer Generator (available on line - aol) 5.Yacc - Yet Another Compiler-Compiler (aol) 5.Yacc - Yet Another Compiler-Compiler (aol) 6.Heru Suhartanto, 6.Heru Suhartanto, Model Pemroses Bahasa Pemrograman Dengan tools berbasis Java, 2006., Resources : see at scele Resources : see at scele

Introduction3 Topics and Ref. To Text book WeekTopicsChapters/Sections WeekTopicsChapters/Sections 1-2Introduction, Lexical Analysis , Introduction, Lexical Analysis , Parsing 2.4, , Parsing 2.4, , 4-7 5Symbol Table2.7, 7.6 5Symbol Table2.7, Syntax directed translation 2.5, Syntax directed translation 2.5, Type checking Type checking Run-time organization , Run-time organization , Intermediate code generation Intermediate code generation Code generation Code generation Code optimization Code optimization

Introduction4 Tools: – – – – – –

Introduction5 Jlex,CUP and Jaccie are available here at Jlex,CUP and Jaccie are available here at Cara penilaian: lihat BRP Cara penilaian: lihat BRP Assignments: lihat BRP Assignments: lihat BRP

Introduction6 RULES  Exams and homework  Cheating=0 mark,  Homework  Deduction of 5% for each day lateness, unaccepted for 1 (or more) week delays.  Cheating : any kind of plagiarism !

Introduction7 Introduction: Definisi A compiler is a program that accepts as input a program text in a certain language and produces as output a program text in another language, while preserving the meaning of that text. A compiler is a program that accepts as input a program text in a certain language and produces as output a program text in another language, while preserving the meaning of that text. The process is called translation. The process is called translation. The input is considered the source language and the output is target language. The input is considered the source language and the output is target language. The language the compiler itself is written in is called the implementation language. The language the compiler itself is written in is called the implementation language.

Introduction8 Introduction: kenapa perlu teknik kompilasi [4]? Compiler construction is a very succesful branch of computer science, and one of the earliest to earn that predicate; Compiler construction is a very succesful branch of computer science, and one of the earliest to earn that predicate; Given its close relation to file conversion, it has wider application than just compilers; Given its close relation to file conversion, it has wider application than just compilers; It contains many generally useful algorithms in a realistic setting. It contains many generally useful algorithms in a realistic setting.

Introduction9 Introduction : proses kompilasi dan running a compiler [fig 1.1 – 4]

Introduction10 Introduction: perbedaan compiler dan interpreter [fig 1.3 – 4]

Introduction11 Introduction: struktur suatu kompilator [fig 1.21 – 4] AST :: Abstract Syntax Tree