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

lambda support #751

Closed
4 of 5 tasks
lmorg opened this issue Oct 10, 2023 · 0 comments
Closed
4 of 5 tasks

lambda support #751

lmorg opened this issue Oct 10, 2023 · 0 comments
Labels
deployed to `develop` Feature built. Currently BETA testing in the `develop` branch enhancement New features in progress Issue is currently being worked on (possibly in a feature branch)
Milestone

Comments

@lmorg
Copy link
Owner

lmorg commented Oct 10, 2023

Describe the problem:
Lambda code, [{}] is currently experimental and half implemented. They bring with them very handy techniques for quickly traversing objects and arrays and thus there is benefit in bringing that syntax into the stable language scheme.

Todo:

  • array and scalar syntax should be equal
  • objects should inline a $. object: { "key": str, "val": ... }
  • arrays should inline a $. object: { "key": int, "val": ... }, where key is the iteration number
  • any variables with a type of null should be treated as a zero length array
  • any other variables of primitive types which are neither objects nor arrays should be treated as an array of length 1
@lmorg lmorg added the enhancement New features label Oct 10, 2023
@lmorg lmorg changed the title Shift lambda's out of EXPERIMENTAL lambda support Oct 10, 2023
@lmorg lmorg added this to the v5.2 milestone Oct 10, 2023
lmorg added a commit that referenced this issue Oct 10, 2023
@lmorg lmorg added in progress Issue is currently being worked on (possibly in a feature branch) deployed to `develop` Feature built. Currently BETA testing in the `develop` branch labels Nov 5, 2023
@lmorg lmorg closed this as completed Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed to `develop` Feature built. Currently BETA testing in the `develop` branch enhancement New features in progress Issue is currently being worked on (possibly in a feature branch)
Projects
None yet
Development

No branches or pull requests

1 participant