git @ Cat's Eye Technologies SixtyPical / 9c201cc
Fix links in README. Implement Context.clone(). Chris Pressey 6 years ago
2 changed file(s) with 9 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
2121 -------------
2222
2323 * Design Goals — coming soon.
24 * [doc/SixtyPical.md](SixtyPical.md) — the spec
25 * [tests/SixtyPical Execution.md](SixtyPical Execution.md) —
26 literate test suite for running SixtyPical programs
27 * [tests/SixtyPical Analysis.md](SixtyPical Analysis.md) —
28 literate test suite for statically analyzing SixtyPical programs
24 * [SixtyPical specification](doc/SixtyPical.md)
25 * [Literate test suite for SixtyPical execution](tests/SixtyPical Execution.md)
26 * [Literate test suite for SixtyPical analysis](tests/SixtyPical Analysis.md)
2927
3028 TODO
3129 ----
4646 raise UsageClashError(ref.name)
4747 self._store.setdefault(ref.name, UNINITIALIZED)
4848 self._writeables.add(ref.name)
49
50 def clone(self):
51 c = Context([], [], [])
52 c._store = dict(self._store)
53 c._writeables = set(self._writeables)
54 return c
4955
5056 def assertInitialized(self, *refs, **kwargs):
5157 exception_class = kwargs.get('exception_class', UninitializedAccessError)