Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

There are lots of contexts; possibly merge some in the future? Kind of confusing right now. #311

Open
kach opened this issue Jul 19, 2018 · 1 comment

Comments

@kach
Copy link
Contributor

kach commented Jul 19, 2018

$ grep -R -h -o '[a-z]\+\(_context\|_ctxt\)\b' mechanization/ | grep -v 'Binary file' | sort | uniq
comp_context
comp_ctxt
compilation_context
eval_context
eval_ctxt
module_context
namespace_ctxt
ns_ctxt
orig_ctxt
repl_context
repl_ctxt
translation_context
@jeromesimeon
Copy link
Member

This list isn't very useful without details on what those names are (variable names? type names? record field names?), and whether they are internal information to a phase (e.g., there is translation context used in the Ergo -> ErgoC translation but this does not get exposed outside of that translation) vs what context is really global (e.g., namespace_ctxt needs to be passed between declarations to know what names are in scope).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants