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 operations #4

Open
2 of 14 tasks
ahdinosaur opened this issue Aug 6, 2023 · 1 comment
Open
2 of 14 tasks

Block operations #4

ahdinosaur opened this issue Aug 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ahdinosaur
Copy link
Owner

ahdinosaur commented Aug 6, 2023

What other block operations might we want or need?

@ahdinosaur
Copy link
Owner Author

ahdinosaur commented Aug 8, 2023

am thinking about Map, and other cases where variables are defined inline.

rather than:

$map: [2, 4, 6]
each(x):
  $eval: x + a

i wonder if we defined the variables more similar to Let.

$map: [2, 4, 6]
let: [x]
each:
  $eval: x + a

because this will be easier to parse with serde and give us extra space for possibly adding new features like functions and type checking.

at the same time, maybe not necessary.

@ahdinosaur ahdinosaur changed the title operations Block operations Sep 14, 2023
@ahdinosaur ahdinosaur added the enhancement New feature or request label Sep 14, 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
Projects
None yet
Development

No branches or pull requests

1 participant