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

Slicing arrays, slices and bytes at compile time #1466

Open
4 tasks done
lerno opened this issue Sep 20, 2024 · 1 comment
Open
4 tasks done

Slicing arrays, slices and bytes at compile time #1466

lerno opened this issue Sep 20, 2024 · 1 comment
Assignees
Labels
Implemented Needs Verification Check if this issue is resolved Missing Feature Feature that is required for the language
Milestone

Comments

@lerno
Copy link
Collaborator

lerno commented Sep 20, 2024

We want to support the slicing of arrays, slices and bytes at compile time. The suggestion is that first we allow compile time slices to implicitly convert to arrays. This makes semantics better and we pass around the data properly. So:

  1. Slice bytes => bytes
  2. Slice array/vector => constant slice
  3. Slice constant slice => constant slice
  4. Slice untyped list => untyped list
@lerno lerno added this to the 0.6.4 milestone Sep 20, 2024
@lerno lerno self-assigned this Sep 20, 2024
@lerno lerno added Missing Feature Feature that is required for the language In Progress This task is currently being worked on labels Sep 20, 2024
@lerno
Copy link
Collaborator Author

lerno commented Sep 27, 2024

In dev

@lerno lerno added Implemented Needs Verification Check if this issue is resolved and removed In Progress This task is currently being worked on labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Implemented Needs Verification Check if this issue is resolved Missing Feature Feature that is required for the language
Projects
None yet
Development

No branches or pull requests

1 participant