Skip to content

Commit 8dba04d

Browse files
traviscrossdianne
andcommitted
Add formal scoping model appendix
This adds the Agda model for describing our rules for extending temporary scopes (originally by dianne) as a [literate Agda] file included in the Reference appendix. To the original Agda formulation, I've added a proof of equivalence between two models, an introduction, and a reading guide for Rust users. This appendix is still is rough shape. This is just a draft. There's no syntax highlighting yet for the Agda code; we're not yet checking that the Agda code compiles in CI; the chapter compares stable Rust to a PR, but we instead need to present the PR behavior as the adopted behavior; etc. This commit is published just for discussion and revision. [literate Agda]: https://agda.readthedocs.io/en/latest/tools/literate-programming.html Co-authored-by: dianne <diannes.gm@gmail.com>
1 parent 59a7bb3 commit 8dba04d

File tree

3 files changed

+435
-0
lines changed

3 files changed

+435
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
*.agdai
12
/book
23
/target

src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
- [Grammar summary](grammar.md)
136136
- [Syntax index](syntax-index.md)
137137
- [Macro follow-set ambiguity formal specification](macro-ambiguity.md)
138+
- [Formal scoping model](scoping-model.lagda.md)
138139
- [Influences](influences.md)
139140
- [Test summary](test-summary.md)
140141
- [Glossary](glossary.md)

0 commit comments

Comments
 (0)