Header Ads

YACC program to recognize simple and compound sentences given in input file.

Problem Statement:-

Write a program using YACC specifications to implement syntax analysis phase of compiler to recognize simple and compound sentences given in input file.

Source Code:-


Input:-

vaibhav is in PICT

Output:-


Source Code:-  B5_SPOS

2 comments:

  1. whenever I run code and give output of compound sentence it gives me syntax error. why so please tell

    ReplyDelete

Powered by Blogger.