Open
Description
Source Module evaluationMode
setting
After looking at the developer documentation for Source Module rpc
, I realised that it may be essential for Source Module developers to have some control over the mode of evaluation by the Source Interpreter js-slang
.
I'm proposing a field evaluationMode
in modules.json
that can be set to either all
, interpreter
or transpiler
which will be checked in the module loader of js-slang
which will either continue the module loading process or throw a corresponding error message.
ie.
{
"rpc": {
"evaluationMode": "all",
"tabs": [ "Rpc" ]
}
}
The updating of the evaluationMode
field can be added into the Source Module command- line application.
Checklist
- I checked the requested feature does not already exist
- I checked to make sure that this issue has not already been filed