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

Block: Switch #47

Open
9 tasks
ahdinosaur opened this issue Sep 14, 2023 · 0 comments
Open
9 tasks

Block: Switch #47

ahdinosaur opened this issue Sep 14, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ahdinosaur
Copy link
Owner

ahdinosaur commented Sep 14, 2023

Describe the solution you'd like

Example:

switch
case os.name == "macos"
then "brew"
case os.name == "linux" && os.distribution == "debian"
then "apt"

Is not super important since nested if-then-else if-then-else if-then works too.

TODO Checklist

  • Add to rimu-parse
    • Add unit test(s)
  • Add to rimu-eval
    • Add unit test(s)
  • Add spec tests
    • Use related JSON-e spec tests to start
  • Add to examples
    • Add example to playground
  • Add to docs
    • Check complete on roadmap

Describe alternatives you've considered

Additional context

@ahdinosaur ahdinosaur added enhancement New feature or request good first issue Good for newcomers labels Sep 14, 2023
@ahdinosaur ahdinosaur mentioned this issue Sep 14, 2023
14 tasks
@ahdinosaur ahdinosaur changed the title BlockOperation: Switch block switch Sep 21, 2023
@ahdinosaur ahdinosaur changed the title block switch Block switch Sep 21, 2023
@ahdinosaur ahdinosaur changed the title Block switch Block Switch Sep 21, 2023
@ahdinosaur ahdinosaur changed the title Block Switch Block: Switch Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant