Vurv78 / Expressive

Expression, but it's Typescript (with extras). Replacement for Expression2, ExpAdv, Starfall

Home Page:https://vurv78.github.io/Expressive/web/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature] Chaining Ops

Vurv78 opened this issue · comments

commented

Is your feature request related to a problem? Please describe.
Can't chain most operations (besides arithmetic)

let foo = 5 >> 5 >> 5 >> 5 >> 5;

Describe the solution you'd like
To be able to chain them, like you now can with arithmetic ops.

  • Bitwise & |
  • Bitshift >> <<
  • Logical || &&

Additional context
Would like to share as much code as possible to do this, and make the implementation less jank than the current one for arithmetic