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

Disable intrinsic multiplication (space operator) between intervals #346

Closed
frostburn opened this issue Jun 11, 2024 · 0 comments · Fixed by #347
Closed

Disable intrinsic multiplication (space operator) between intervals #346

frostburn opened this issue Jun 11, 2024 · 0 comments · Fixed by #347
Labels
enhancement New feature or request

Comments

@frostburn
Copy link
Member

(Too lazy / too late to format the copy&paste.)

ask me for EDO reccs > 31 — Today at 8:33 PM
re: ⁠scale-workshop-dev⁠ is there a reason it's scalar multiplication?
frostburn — Today at 8:33 PM
3 foo looks like 3 * foo from maths.
ask me for EDO reccs > 31 — Today at 8:35 PM
🤔 is that reasonable? this is very rare in programming languages; even when writing out comma expressions and equivalences i never omit the * for fear of confusion... itd be nice if the "space operator" was reserved for its use in ScaleWorkshop Sheets
one of the reasons it's rare in programming languages is it makes the syntax fairly nontrivial: int x should not be int*x which means something different anyway
frostburn — Today at 8:36 PM
I guess that's reasonable. Just put whatever in the space operator because I definitely wanted 3/2 'fif' and 3/2 #ff00ff to be things.
ask me for EDO reccs > 31 — Today at 8:36 PM
itd be nice if ScaleWorkshop Sheets syntax could coexist, but you'd be the better judge for how reasonable of a goal that is (as it will mean the syntax is significantly more constrained)
frostburn — Today at 8:36 PM
I mean your critique is reasonable.
frostburn — Today at 8:37 PM
Yeah... It's going to be hard to develop with that constraint so I'll definitely start SWS as a new experimental project.
ask me for EDO reccs > 31 — Today at 8:38 PM
stuff like (5/4)(16/15) does make sense mathematically but i avoid that format because it could be confused with (5/4)/(16/15) (which is when the brackets are actually necessary)
and afaik while people do write horizontal-line ratios next to each-other they dont write "5/4 3/2" both cuz depending on spacing it might be confused for "5/43/2" and cuz "1 1/2" already means something very different

@frostburn frostburn added the enhancement New feature or request label Jun 11, 2024
frostburn added a commit that referenced this issue Jun 13, 2024
Replace `2 edosteps` stdlib syntax with built-in `2 deg` syntax alongside `2°`.

ref #346
@frostburn frostburn linked a pull request Jun 13, 2024 that will close this issue
frostburn added a commit that referenced this issue Jun 13, 2024
Replace `2 edosteps` stdlib syntax with built-in `2 deg` syntax alongside `2°`.

ref #346
frostburn added a commit that referenced this issue Jun 14, 2024
Replace `2 edosteps` stdlib syntax with built-in `2 deg` syntax alongside `2°`.

ref #346
frostburn added a commit that referenced this issue Jun 14, 2024
Replace `2 edosteps` stdlib syntax with built-in `2 deg` syntax alongside `2°`.

ref #346
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant