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
idid+(id)+id*(id)+id*id+(id)
-
Notifications
You must be signed in to change notification settings - Fork 0
AliEmili/RecursivePredictor
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published