It would be nice to publish (as in Old School Languages) a syntax summary of Matlab, reflecting the exact behaviour of the interpreter.
It could help to prevent surprise from unexpected results, such as when one evaluates the expression : 5 + 1*0:10
A single transcription of the formal grammar contained in the interpreter's code would be sufficient.
Thanks.
2 Comments
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/46227-ensure-the-syntax-is-what-we-guess#comment_95012
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/46227-ensure-the-syntax-is-what-we-guess#comment_95012
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/46227-ensure-the-syntax-is-what-we-guess#comment_95023
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/46227-ensure-the-syntax-is-what-we-guess#comment_95023
Sign in to comment.