Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interpolating an operator should give a syntax error #72

Open
dloscutoff opened this issue Mar 18, 2024 · 0 comments
Open

Interpolating an operator should give a syntax error #72

dloscutoff opened this issue Mar 18, 2024 · 0 comments
Labels
minor-bug Not ideal behavior, but doesn't break anything.
Milestone

Comments

@dloscutoff
Copy link
Owner

Currently, an expression like \"x\Ax\" will evaluate to "xx" with a warning "Referencing uninitialized variable A." Since A is an operator, interpolating it should be a syntax error, akin to writing J["x"; ST A; "x"] (which is roughly how the interpolation sequence parses).

@dloscutoff dloscutoff added the minor-bug Not ideal behavior, but doesn't break anything. label Mar 18, 2024
@dloscutoff dloscutoff added this to the v1.3 milestone Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor-bug Not ideal behavior, but doesn't break anything.
Projects
None yet
Development

No branches or pull requests

1 participant