Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 491 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 491 Bytes

Python LL(1) Parser Design

Open In Colab

Designing a lexical analyzer and LL(1) Parser using Python based on the hypothetical language.

Problem Statement

Design lexer and parser for the following hypothetical language

int main()
begin
 int n;
 do
  expr=expr+expr;
  n=exp;
 while(exp)
 return(n)
end