Modules live in separate contexts, only imported modules are in scope

This commit is contained in:
2025-01-12 08:57:01 -08:00
parent 793c3a9999
commit 5cce1a465e
18 changed files with 141 additions and 44 deletions

View File

@@ -1,13 +1,14 @@
## TODO
- [ ] `Def` is shadowed between Types and Syntax (TCon vs DCon), detect this
- [ ] review pattern matching. goal is to have a sane context on the other end. secondary goal - bring it closer to the paper.
- [x] redo code to determine base path
- [ ] save/load results of processing a module
- [ ] keep each module separate in context
- search would include imported modules, collect ops into and from modules
- should I allow the idris assignment hack?
- [x] keep each module separate in context
- [x] search would include imported modules, collect ops into and from modules
- should I allow the idris cross module assignment hack?
- >>> sort out metas (maybe push them up to the main list)
- eventually we may want to support resuming halfway through a file