Skip to content

Commit 03d1bdb

Browse files
committed
chore: sync
1 parent 5238644 commit 03d1bdb

File tree

4 files changed

+219
-212
lines changed

4 files changed

+219
-212
lines changed

docs/.vuepress/config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ export default defineUserConfig({
6565
mdEnhancePlugin({
6666
gfm: true,
6767
container: true,
68-
linkCheck: true,
6968
vPre: true,
7069
tabs: true,
7170
card: true,

docs/python-core/collections/python-ebnf.md

+8
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ EBNF 的语法规则由一系列规则组成,每个规则包含一个非终止
4848

4949
EBNF 还支持一些元素,如 `|` 表示或,可以用于在一个语法规则中定义多个可能的选择;`+` 表示至少重复一次;`*` 表示零次或多次重复。这些元素使 EBNF 更加灵活,可以描述更复杂的语法规则。
5050

51+
```ebnf
52+
expression ::= term {("+" | "-") term}.
53+
term ::= factor {("*" | "/") factor}.
54+
factor ::= number | "(" expression ")".
55+
number ::= digit {digit}.
56+
digit ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9".
57+
```
58+
5159
EBNF 被广泛用于编程语言的设计和描述,它可以帮助程序员更容易地理解和实现语法规则。
5260

5361
| 符号 | 含义 |

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"@vuepress/utils": "2.0.0-beta.61",
2525
"vue": "^3.2.47",
2626
"vuepress": "2.0.0-beta.61",
27-
"vuepress-plugin-auto-catalog": "2.0.0-beta.206",
28-
"vuepress-plugin-copy-code2": "2.0.0-beta.206",
29-
"vuepress-plugin-md-enhance": "2.0.0-beta.206",
30-
"vuepress-plugin-search-pro": "2.0.0-beta.206"
27+
"vuepress-plugin-auto-catalog": "2.0.0-beta.207",
28+
"vuepress-plugin-copy-code2": "2.0.0-beta.207",
29+
"vuepress-plugin-md-enhance": "2.0.0-beta.207",
30+
"vuepress-plugin-search-pro": "2.0.0-beta.207"
3131
}
3232
}

0 commit comments

Comments
 (0)