Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipul97 committed Jul 27, 2020
1 parent 408f1e5 commit 0e5aec9
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ PARSING TABLE:
+--------+-----------------------------------------------------+--------------------------+
| | ACTION | GOTO |
| STATE +--------+--------+--------+--------+--------+--------+--------+--------+--------+
| | ) | id | + | * | ( | $ | E | F | T |
| | ) | id | + | * | ( | $ | E | F | T |
+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+
| 0 | | s2 | | | s5 | | 1 | 4 | 3 |
| 1 | | | s6 | | | acc | | | |
| 2 | r7 | | r7 | r7 | | r7 | | | |
| 3 | r3 | | r3 | s7 | | r3 | | | |
| 4 | r5 | | r5 | r5 | | r5 | | | |
| 5 | | s2 | | | s5 | | 8 | 4 | 3 |
| 6 | | s2 | | | s5 | | | 4 | 9 |
| 7 | | s2 | | | s5 | | | 10 | |
| 8 | s11 | | s6 | | | | | | |
| 9 | r2 | | r2 | s7 | | r2 | | | |
| 10 | r4 | | r4 | r4 | | r4 | | | |
| 11 | r6 | | r6 | r6 | | r6 | | | |
| 0 | | s2 | | | s5 | | 1 | 4 | 3 |
| 1 | | | s6 | | | acc | | | |
| 2 | r7 | | r7 | r7 | | r7 | | | |
| 3 | r3 | | r3 | s7 | | r3 | | | |
| 4 | r5 | | r5 | r5 | | r5 | | | |
| 5 | | s2 | | | s5 | | 8 | 4 | 3 |
| 6 | | s2 | | | s5 | | | 4 | 9 |
| 7 | | s2 | | | s5 | | | 10 | |
| 8 | s11 | | s6 | | | | | | |
| 9 | r2 | | r2 | s7 | | r2 | | | |
| 10 | r4 | | r4 | r4 | | r4 | | | |
| 11 | r6 | | r6 | r6 | | r6 | | | |
+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+
+------+--------------+-------------+----------------+----------------------+
Expand Down Expand Up @@ -123,13 +123,13 @@ python setup.py install
* ```^``` is treated as the null symbol.

Run `slr_parser/slr_parser.py`.

usage: slr_parser.py [-h] [-g] grammar_file tokens

positional arguments:
grammar_file text file to be used as grammar
tokens tokens to be parsed - all tokens are separated with spaces

optional arguments:
-h, --help show this help message and exit
-g generate automaton
Expand All @@ -140,4 +140,4 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on code of conduct, a

# License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

0 comments on commit 0e5aec9

Please sign in to comment.