evalexpr icon indicating copy to clipboard operation
evalexpr copied to clipboard

Make contexts composable

Open ISibboI opened this issue 4 years ago • 0 comments

This crate soon provides a premade context, and if more are added in the future, the question arises of how a user would build a set of contexts. Ideally there would be another trait ComposableContext that allows to build a chain of contexts, such that each function/variable is first read from the last in the chain, if not found then the previous, and so on.

Writing should still only happen on the last context.

ISibboI avatar May 30 '21 13:05 ISibboI