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

Syntax improvements and other stuff I want to add #6

Open
4 of 11 tasks
GuidoDipietro opened this issue Aug 31, 2021 · 0 comments
Open
4 of 11 tasks

Syntax improvements and other stuff I want to add #6

GuidoDipietro opened this issue Aug 31, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@GuidoDipietro
Copy link
Owner

GuidoDipietro commented Aug 31, 2021

  • Ability to use j instead of having to write 1j
  • Define j(x) function to simulate shorthand of 1j * x - maybe? -> EDIT: wow fixing this fixed more stuff
  • Polar notation with variables yes or no? f(x) = 1 @< x*pi for ex.
  • Forbid definition of recursive function to avoid crash later (f(x) = f(x) doesn't crash, but calling it afterwards does) - or allow it with defined base case? What to do on infinite recursion? hmst
  • Add built-in quadratic formula or some root finding algorithm in general
  • Add support for modulo operator -> bonus: periodic functions can be built now!
  • Add phase function -> already had it as angle, lol
  • Piecewise function support
  • Store literal representation of function/variable and add peek command
  • Fix Linux terminal issues with arrows n stuff (gparser.py first line)
  • Add for loops, or some type of list mapping for quick repetitive math (i.e. f(1); f(2); f(3); f(4); f(5); in one go) (Come up with a way to combine that with summation/product of a sequence? 🤔)
@GuidoDipietro GuidoDipietro added the enhancement New feature or request label Aug 31, 2021
@GuidoDipietro GuidoDipietro self-assigned this Aug 31, 2021
GuidoDipietro added a commit that referenced this issue Oct 3, 2021
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

No branches or pull requests

1 participant