Skip to content

Commit 96b7c25

Browse files
committed
新增「异常机制:block 栈与栈展开」章节
1 parent e772a88 commit 96b7c25

11 files changed

Lines changed: 769 additions & 3 deletions

.vitepress/config.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ export default defineConfig({
7373
{ text: 'Python 虚拟机框架(帧对象与求值循环)', link: '/vm/frame-and-eval-loop/' },
7474
{ text: '一般表达式与名字空间', link: '/vm/expressions-and-names/' },
7575
{ text: '控制流:跳转、循环与迭代器', link: '/vm/control-flow/' },
76-
{ text: '异常机制:block 栈与栈展开(编写中…)', link: '/' }
76+
{ text: '异常机制:block 栈与栈展开', link: '/vm/exceptions/' },
77+
{ text: '函数机制:调用、参数与闭包(编写中…)', link: '/' }
7778
]
7879
},
7980
{

SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
- [Python 虚拟机框架(帧对象与求值循环)](vm/frame-and-eval-loop/index.md)
3333
- [一般表达式与名字空间](vm/expressions-and-names/index.md)
3434
- [控制流:跳转、循环与迭代器](vm/control-flow/index.md)
35-
- 异常机制:block 栈与栈展开
35+
- [异常机制:block 栈与栈展开](vm/exceptions/index.md)
3636
- 函数机制:调用、参数与闭包
3737
- 生成器与协程
3838

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
- [x] Python 虚拟机框架(帧对象与求值循环)
3434
- [x] 一般表达式与名字空间
3535
- [x] 控制流:跳转、循环与迭代器
36-
- [ ] 异常机制:block 栈与栈展开
36+
- [x] 异常机制:block 栈与栈展开
3737
- [ ] 函数机制:调用、参数与闭包
3838
- [ ] 生成器与协程
3939
- [ ] 第 5 部分:运行时
Lines changed: 64 additions & 0 deletions
Loading

vm/exceptions/except-match.svg

Lines changed: 58 additions & 0 deletions
Loading
Lines changed: 63 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)