Compiler: add support for slices - #465
Open
chqrlie wants to merge 1 commit into
Open
Conversation
chqrlie
force-pushed
the
slices
branch
5 times, most recently
from
March 24, 2026 13:50
0f22bd7 to
2f96cd2
Compare
chqrlie
force-pushed
the
slices
branch
7 times, most recently
from
April 2, 2026 12:58
859cb67 to
8d97a1f
Compare
chqrlie
force-pushed
the
slices
branch
6 times, most recently
from
April 11, 2026 10:58
e8fc9ce to
c6c2a84
Compare
chqrlie
force-pushed
the
slices
branch
9 times, most recently
from
April 16, 2026 07:34
3c83a37 to
63f61d5
Compare
chqrlie
force-pushed
the
slices
branch
3 times, most recently
from
April 20, 2026 22:26
81906e7 to
1daaf7d
Compare
chqrlie
force-pushed
the
slices
branch
5 times, most recently
from
April 29, 2026 17:02
bbc013b to
46e5fa6
Compare
chqrlie
force-pushed
the
slices
branch
2 times, most recently
from
May 5, 2026 19:31
9ab9322 to
33e2da9
Compare
chqrlie
force-pushed
the
slices
branch
3 times, most recently
from
May 14, 2026 15:02
000f8e4 to
dfb7c45
Compare
chqrlie
force-pushed
the
slices
branch
3 times, most recently
from
July 5, 2026 15:02
b856cb5 to
2d61e24
Compare
chqrlie
force-pushed
the
slices
branch
5 times, most recently
from
July 14, 2026 14:19
fe895fe to
4eafe87
Compare
chqrlie
force-pushed
the
slices
branch
7 times, most recently
from
July 26, 2026 13:08
a38f81b to
21930c7
Compare
chqrlie
force-pushed
the
slices
branch
3 times, most recently
from
August 4, 2026 13:25
8d1b9c9 to
8c2b88d
Compare
* parse slice syntax: a[start?:count?] or a[start?:count?:step], producing `ArraySelectionExpr` AST objects. * `ArraySelectionExpr` with a builtin base object are changed to `BitSelectionExpr` objects at analysis time. * removed bitoffset indexing object * array slices are not supported in expressions yet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BitSelectionExpr