Skip to content

A compiler tool to accept a string if it's accepted in the grammar of program

Notifications You must be signed in to change notification settings

AliEmili/RecursivePredictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RecursivePredictor

A compiler tool to accept a string if it's accepted in the grammar of program
imagine you have a grammar like
E --> TR
R --> +TR | ε
T --> FM
M --> FM | ε
F --> (E) | id
start writing a string in this program and if it belongs to the grammer it'll be accepted otherwise you'll face with an error!
try this string and it should be accepted
id
id+(id)+id*(id)+id*id+(id)

About

A compiler tool to accept a string if it's accepted in the grammar of program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages