SlideShare a Scribd company logo
1 of 18
1 
S0 
final 
final 
final 
final 
final 
final 
final 
final 
final 
final 
___+ 
- 
* 
/ 
= 
{ 
} 
( 
) 
, 
Token plus 
Token minus 
Token times 
Token rdiv 
Token eql 
Token lbrack 
Token rbrack 
Token lparent 
Token rparent 
Token comma
2 
SO 
final 
final 
Token semicolon 
Token period 
final 
final 
final 
final 
final 
final 
final 
; 
. 
: 
= 
Token colon 
Token becomes 
> 
= 
Token gtr 
Token geq 
< > 
= 
Token neq 
Token lss 
Token leq
3 
-127sd127 
S0 final 
final 
-127sd127 
Token intconsy 
final 
Token realconsy 
2,9푥1039푠푑1,7푥1038 
2,9푥1039푠푑1,7푥1038 
ident 
‘a’..’z’,’a’..’z’ 
Token ident 
: 
array 
final 
final 
Cek tabel reserved 
final 
[ 
] 
of integer 
Token array 
Token lsiku 
Token rsiku 
Int con 
word 
Cek tabel reserved word
4 
S0 
begin 
final 
Seluruh badan 
program selain 
deklarasi variable 
dan tipe data dan 
pemanggilan unit 
library 
end 
final 
Token begin 
final 
. 
Token endsy 
Cek tabel 
reserved word 
final 
or 
and 
String con 
String con 
String con 
Token orsy 
Cek tabel 
reserved word 
Token endsy 
Cek tabel 
reserved word
5 
case Token ident of 
Token ofsy 
final S0 
final 
Cek tabel 
reserved word 
Label & statement 
dari case 
const 
final 
Token ident = 
Nilai apapun 
Token constsy 
Cek tabel reserved 
word 
Token case
6 
S0 
final 
for Token ident Token becomes 
Nilai awal 
final 
final 
to 
Down to 
Token down tosy 
Cek tabel 
reserved word 
final 
Cek tabel 
reserved word 
Token tosy 
Nilai akhir 
Nilai akhir 
do 
Token closy 
Statement 
Cek tabel 
reserved 
word
7 
S0 if 
kondisi 
then 
final 
final 
Statement awal 
else 
final 
Statement 
selain statement 
awal 
Token itsy 
Cek tabel 
reserved 
word 
function 
Token ident 
Token colon 
Tipe hasil(String,shar,int 
dsb) 
Token functioncy final 
Cek tabel reserved 
word
8 
Token ident div Token ident 
S0 final 
Token ldiv 
final 
Token ident 
mod 
Token ident 
Token lmod 
final 
en 
procedure 
Token ident Token semicolon 
Badan program/isi 
procedure 
final 
Token ident 
Token becomes not 
Token ident 
Token notsy 
Cek tabel reserved 
word
9 
S0 
program 
Token ident 
/nama program 
Token semicolon 
Token 
programsy 
final 
Cek tabel 
reserved 
word 
final 
final 
type 
Token ident u/nama Token eql 
Data i 
… 
Data -n 
Token dote range 
Token typesy 
Cek tabel reserved 
word
10 
S0 
final 
Token type Token ident u/nama record 
Token eql 
record 
field 
final Token end 
final 
repeat 
statement 
until 
kondisi 
Token untilsy 
Cek tabel 
reserved 
word 
Token repeatsy 
Cek tabel reserved 
word 
Token recordsy
11 
S0 
Final 
; 
var Token ident : 
Tipe data apapun 
intcon,charcon,stringcon dsb 
Token varsy 
Cek tabel 
reserved 
word 
final 
while 
kondis 
i 
Token dosy 
Token whilesy 
Cek tabel reserved 
word
12 
S0 
final 
readln ( 
) 
Token readlnsy 
Cek tabel reserved 
word 
variabels 
final 
writeln 
(‘ 
‘) 
Token writelnsy 
Cek tabel reserved 
word 
apapun
13 
(*II{ *)II} 
S0 final 
Token comment 
Apapun 
final 
‘a’..’z’,’A’..’Z’ 
Token ident 
‘a’..’z’,’A’..’Z’,’_’,’0’..’9’ 
Cek tabel reserved 
word
14 
S0 final 
final 
final 
Apostrof(‘’’) Apostrof(‘’’) 
Apapun selain 
opostrof dan eol 
Apostrof(‘’’) 
Apostrof(‘’’) 
Apostrof(‘’’) 
Apostrof(‘’’) 
Apostrof(‘’’) 
Token string con 
Apapun selain apostrof dan eol 
Apostrof(‘’’) 
Token string con 
Token charcon
15 
S0 
final 
Token ident Token eql 
Intcon(-127 sd 127) 
Token semicolon 
Token intcon 
final 
Token ident 
Token eql 
Realcon 
2,9푥1039푠푑1,7푥1038 
Token semicolon 
Token realcon
16
17
18

More Related Content

More from Marlintika Marlintika

More from Marlintika Marlintika (7)

Makalah jaringan dan komputer
Makalah jaringan dan komputerMakalah jaringan dan komputer
Makalah jaringan dan komputer
 
Teori Bahasa dan Otomata
Teori Bahasa dan OtomataTeori Bahasa dan Otomata
Teori Bahasa dan Otomata
 
Sistem Informasi Manajemen
Sistem Informasi ManajemenSistem Informasi Manajemen
Sistem Informasi Manajemen
 
Tugas Pengantar OOP
Tugas Pengantar OOPTugas Pengantar OOP
Tugas Pengantar OOP
 
Management Project Processes PMBOK
Management Project Processes PMBOKManagement Project Processes PMBOK
Management Project Processes PMBOK
 
Interaksi persuasif
Interaksi persuasifInteraksi persuasif
Interaksi persuasif
 
Stack with linked list(algodat)
Stack with linked list(algodat)Stack with linked list(algodat)
Stack with linked list(algodat)
 

Recently uploaded

Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxchumtiyababu
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEselvakumar948
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 

Recently uploaded (20)

Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 

TBO

  • 1. 1 S0 final final final final final final final final final final ___+ - * / = { } ( ) , Token plus Token minus Token times Token rdiv Token eql Token lbrack Token rbrack Token lparent Token rparent Token comma
  • 2. 2 SO final final Token semicolon Token period final final final final final final final ; . : = Token colon Token becomes > = Token gtr Token geq < > = Token neq Token lss Token leq
  • 3. 3 -127sd127 S0 final final -127sd127 Token intconsy final Token realconsy 2,9푥1039푠푑1,7푥1038 2,9푥1039푠푑1,7푥1038 ident ‘a’..’z’,’a’..’z’ Token ident : array final final Cek tabel reserved final [ ] of integer Token array Token lsiku Token rsiku Int con word Cek tabel reserved word
  • 4. 4 S0 begin final Seluruh badan program selain deklarasi variable dan tipe data dan pemanggilan unit library end final Token begin final . Token endsy Cek tabel reserved word final or and String con String con String con Token orsy Cek tabel reserved word Token endsy Cek tabel reserved word
  • 5. 5 case Token ident of Token ofsy final S0 final Cek tabel reserved word Label & statement dari case const final Token ident = Nilai apapun Token constsy Cek tabel reserved word Token case
  • 6. 6 S0 final for Token ident Token becomes Nilai awal final final to Down to Token down tosy Cek tabel reserved word final Cek tabel reserved word Token tosy Nilai akhir Nilai akhir do Token closy Statement Cek tabel reserved word
  • 7. 7 S0 if kondisi then final final Statement awal else final Statement selain statement awal Token itsy Cek tabel reserved word function Token ident Token colon Tipe hasil(String,shar,int dsb) Token functioncy final Cek tabel reserved word
  • 8. 8 Token ident div Token ident S0 final Token ldiv final Token ident mod Token ident Token lmod final en procedure Token ident Token semicolon Badan program/isi procedure final Token ident Token becomes not Token ident Token notsy Cek tabel reserved word
  • 9. 9 S0 program Token ident /nama program Token semicolon Token programsy final Cek tabel reserved word final final type Token ident u/nama Token eql Data i … Data -n Token dote range Token typesy Cek tabel reserved word
  • 10. 10 S0 final Token type Token ident u/nama record Token eql record field final Token end final repeat statement until kondisi Token untilsy Cek tabel reserved word Token repeatsy Cek tabel reserved word Token recordsy
  • 11. 11 S0 Final ; var Token ident : Tipe data apapun intcon,charcon,stringcon dsb Token varsy Cek tabel reserved word final while kondis i Token dosy Token whilesy Cek tabel reserved word
  • 12. 12 S0 final readln ( ) Token readlnsy Cek tabel reserved word variabels final writeln (‘ ‘) Token writelnsy Cek tabel reserved word apapun
  • 13. 13 (*II{ *)II} S0 final Token comment Apapun final ‘a’..’z’,’A’..’Z’ Token ident ‘a’..’z’,’A’..’Z’,’_’,’0’..’9’ Cek tabel reserved word
  • 14. 14 S0 final final final Apostrof(‘’’) Apostrof(‘’’) Apapun selain opostrof dan eol Apostrof(‘’’) Apostrof(‘’’) Apostrof(‘’’) Apostrof(‘’’) Apostrof(‘’’) Token string con Apapun selain apostrof dan eol Apostrof(‘’’) Token string con Token charcon
  • 15. 15 S0 final Token ident Token eql Intcon(-127 sd 127) Token semicolon Token intcon final Token ident Token eql Realcon 2,9푥1039푠푑1,7푥1038 Token semicolon Token realcon
  • 16. 16
  • 17. 17
  • 18. 18