Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (17 sloc) 0.724 kb
b4a85060 »
2012-05-19 Initial commit
1 prolog_parser
2 =============
55459272 »
2012-05-19 Update README.md
3 Top Down parser
b4a85060 »
2012-05-19 Initial commit
4
55459272 »
2012-05-19 Update README.md
5 Implementation of simple calculator using top down parser
9c350109 »
2012-05-19 Update README.md
6 (with parse table) in prolog
55459272 »
2012-05-19 Update README.md
7
8 Usage:
9 (debuggig the sample evaluation(i.e ex1,pex1) with gspy is recommended
10 for demonstration of parsing.
11
12 use ex1,ex2,ex3 .. as pass example of top down parsing with
13 grammer rules for simple calculator.
14
15 use fl1,fl2 as failed example
16
17
18 pex1,pex2...as pass exapmles using parse table
19 fex1,pex2.. as failed exapmle using parse table
20
21 compile -for using the second pass of the parser..it evaluates
22 the explicitly created syntax tree with mknode and mkleaf.
23 will also evaluate and print results
24
4900eaed »
2012-05-19 Update README.md
25 ct- automatic parse table creation(will output to file table.pl)(experimental)
Something went wrong with that request. Please try again.