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

Remove need for parentheses around arithmetic operators #86

Open
sbliven opened this issue May 29, 2024 · 0 comments
Open

Remove need for parentheses around arithmetic operators #86

sbliven opened this issue May 29, 2024 · 0 comments

Comments

@sbliven
Copy link

sbliven commented May 29, 2024

Currently parentheses are required for all arithmetic operations. This is unintuitive coming from most languages and makes equations more difficult to read. For example:

| I   | II  | III | iv  | sum |
| --- | --- | --- | --- | --- |
| 2   | 3   | 5   | 6   | 5   |
| 3   | 4   | 6   | 7   | 7   |
<!-- TBLFM: $5=($1+($2+($3+$4))) -->

(suggested solution for #70)

There are a number of issues where users struggled with this syntax (#62, #54, #43).

Could the parser syntax be changed to remove this requirement?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant