With a large (now 20ish) number of script execution functions, our SoS runtime namespace has a high probability of name conflict with user scripts. Since we do not actually encourage users to use the function form of actions like
R('''script''')
we can reduce all script-execution functions to a single function
run_script('R', '''script''')
Note that the script format of functions will remain, but we will translate
R:
script
to
run_script('R', '''script''')
instead of the existing
R('''script''')
In addition, it is possible to factor out the run_script function to form its own module so that it can be used outside of SoS.
With a large (now 20ish) number of script execution functions, our SoS runtime namespace has a high probability of name conflict with user scripts. Since we do not actually encourage users to use the function form of actions like
we can reduce all script-execution functions to a single function
Note that the script format of functions will remain, but we will translate
to
instead of the existing
In addition, it is possible to factor out the
run_script
function to form its own module so that it can be used outside ofSoS
.