refactor(ast)!: refactor SymbolTable
interface to hide implementation details
#614
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(tester): make verbose work again, and run non-verbose tests in parallel
Previous to this commit, VERBOSE=true caused the tests to hang
indefinitely. This commit fixes this, and makes tests without
ACCEPT=true or VERBOSE=true run in parallel again. ACCEPT=true tests
cannot be run in parallel as I get occasional Conjure errors when doing
this (which in turn cause the tests to fail)
refactor(ast)!: refactor
SymbolTable
interface to hide implementation detailsChange the
SymbolTable
to be a struct with private members, and createa new interface to interact with it. This hides the fact that the
SymbolTable
is aBTreeMap
.While the symbol table is a simple
BTreeMap
both before and after thiscommit, the implementation of this is likely to change multiple times in
the future. In particular, this commit is preparation for adding
lettings
andgivens
to the symbol table.Related issues:
letting
#512ReferenceTo
enum, with variants for lettings and decision variables #522