Skip to content

Commit 0513c79

Browse files
authored
Update README.md
1 parent 399af39 commit 0513c79

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# regular-expression-to-nfa
1+
# MY COMPILER DESIGN LAB EXPERIMENTS
22

3-
This program "ex2-v2.py" converts regular expression into e-NFA and gives e-NFA table as output.
43

54
### Requirements
65
1. Python 3.6+
@@ -10,15 +9,5 @@ Install Python 3.6+
109
Clone this repository
1110
In command line type:
1211
```
13-
python ex2-v2.py
12+
python ex[exercise-number].py
1413
```
15-
16-
You can also give your custom regular expression in the first line of the program
17-
18-
*Few things to take note of:*
19-
1. *a and b are the only terminals accepted by this script*
20-
2. *e denotes epsilon*
21-
3. *" . " is used for "and" operation Eg. ab = a.b*
22-
4. *" + " is used for "or" operation Eg. a|b = a+b*
23-
5. *" \* " is the Kleene's Closure operator. You can give star operator after any closing brackets and terminals*
24-

0 commit comments

Comments
 (0)