SlideShare a Scribd company logo
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

Makalah jaringan dan komputer
Makalah jaringan dan komputerMakalah jaringan dan komputer
Makalah jaringan dan komputer
Marlintika Marlintika
 
Teori Bahasa dan Otomata
Teori Bahasa dan OtomataTeori Bahasa dan Otomata
Teori Bahasa dan Otomata
Marlintika Marlintika
 
Sistem Informasi Manajemen
Sistem Informasi ManajemenSistem Informasi Manajemen
Sistem Informasi Manajemen
Marlintika Marlintika
 
Tugas Pengantar OOP
Tugas Pengantar OOPTugas Pengantar OOP
Tugas Pengantar OOP
Marlintika Marlintika
 
Management Project Processes PMBOK
Management Project Processes PMBOKManagement Project Processes PMBOK
Management Project Processes PMBOK
Marlintika Marlintika
 
Interaksi persuasif
Interaksi persuasifInteraksi persuasif
Interaksi persuasif
Marlintika Marlintika
 
Stack with linked list(algodat)
Stack with linked list(algodat)Stack with linked list(algodat)
Stack with linked list(algodat)
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

Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 

Recently uploaded (20)

Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 

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