Closed gave92 closed 4 years ago
This pull request contains two unrelated patches -- (1) bang syntax to call external programs and (2) named exceptions. I will discuss these two issues separately.
Is bang syntax understood by matlab and octave? I may be wrong but I think it is not. If this is the case I will appreciate a convincing argument why we need it.
Same as (1)
Victor
Yes these are both supported by MATLAB https://www.mathworks.com/help/matlab/ref/try.html https://www.mathworks.com/help/matlab/matlab_external/run-external-commands-scripts-and-programs.html This change would allow smop to follow more closely the Matlab semantics.
Edited parser and lexer to support the syntax to call an external program
Also added support for the try-catch with named exception: