forked from omkarparsewar789/CompilerConstructionBITSPILANI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparser.h
More file actions
19 lines (18 loc) · 631 Bytes
/
parser.h
File metadata and controls
19 lines (18 loc) · 631 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
Group No: 15
Group members:
1. Shivodit Raj Vishnoi - 2022A7PS1221P
2. Parsewar Omkar Balaji - 2022A7PS0089P
3. Samiksha Kaul - 2022A7PS1169P
4. Sohan Reddy Jalakanti - 2022A7PS1177P
5. Arnav Gupta - 2022A7PS1189P
6. Akshat Gosain - 2022A7PS0154G
*/
#include "parserDef.h"
#include "parseTreeDef.h"
RuleList* readRules(char* grammarfile);
FirstAndFollow* ComputeFirstAndFollowSets (RuleList G);
ParseTable* createParseTable(FirstAndFollow F);
TreeNode* parseInputSourceCode(char *testcasefile, bool verbose);
void printParseTree(TreeNode* PT, char *outfile);
ParseTable* initializeparser(char* grammarfile, char* first_follow);