Skip to content
This repository was archived by the owner on Sep 11, 2022. It is now read-only.

Commit 07f81d8

Browse files
committed
Update README.md
1 parent 1dc5ec5 commit 07f81d8

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ This project is heavily inspired by [LYRON](https://github.com/LLyronx/LYRON), a
44

55
## Usage
66

7-
Modify `config.yml` if necessary, and execute
7+
Modify `config.yml` if necessary, place your test file, e.g., `test.txt`, and then execute
88

99
```
10-
cat test_code.txt | java -jar parsetree.jar
10+
cat test.txt | java -jar parse-tree.jar
1111
```
1212

13+
You can also execute the jar file directly and input your test code in the console.
14+
1315
## Examples
1416

1517
### Lexical Analysis
@@ -44,13 +46,13 @@ Take the regular expressions `a*b+`, `a`, `abb` for example.
4446

4547
```
4648
1. S'->S
47-
2. S->CbBA
48-
3. A->Aab
49-
4. A->ab
49+
2. S->CβBA
50+
3. A->Aαβ
51+
4. A->αβ
5052
5. B->C
51-
6. B->Db
52-
7. C->a
53-
8. D->a
53+
6. B->
54+
7. C->α
55+
8. D->α
5456
```
5557
5658
2. Write a config file (in YAML format).

0 commit comments

Comments
 (0)