Skip to content

Replicate MATLAB's expression and variable handling more closely #10

Description

@jtrejo13

Currently, the following expressions are not allowed by the interpreter:

% SETUP
>>>  x = 10
>>>  y = 5

>>>  x        % throws error
>>>  x + y    % throws error

In the real MATLAB, these expressions are evaluated and do not throw an error.

In the case of >>> x, the value of x is printed.

For >>> x * y, the result is assigned to a dummy variable ans

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions