Follow

@GNUxeava
Did you never take cursive handwriting in school?

@GNUxeava
It has four actions-
1) Shift - Next Word is shifted into stack until a handle is formed.
2) Reduce - Right end of handle is at top of stack locate left end of handle within the stack. Pop handle off stack and push appropriate LMS.
3) Accept - Stop parsing on successful completion of parse and report success..
4) Error - Call an error reporting/recovery routine.

eg:- Grammar: E -> E+E / E*E / (E) / id
Input String: id + id + id

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.